>>> Building on exopi-6 under net/libtorrent BDEPENDS = [devel/cppunit;devel/dwz;devel/metaauto;devel/autoconf/2.69] DIST = [net/libtorrent:libtorrent-0.13.6.tar.gz] FULLPKGNAME = libtorrent-0.13.6p9v0 (Junk lock obtained for exopi-6 at 1713852890.48) >>> Running depends in net/libtorrent at 1713852890.52 last junk was in net/ntopng /usr/sbin/pkg_add -aI -Drepair cppunit-1.14.0 was: /usr/sbin/pkg_add -aI -Drepair autoconf-2.69p3 cppunit-1.14.0 dwz-0.15 metaauto-1.0p4 /usr/sbin/pkg_add -aI -Drepair cppunit-1.14.0 >>> Running show-prepare-results in net/libtorrent at 1713852895.33 ===> net/libtorrent ===> Building from scratch libtorrent-0.13.6p9v0 ===> libtorrent-0.13.6p9v0 depends on: cppunit-* -> cppunit-1.14.0 ===> libtorrent-0.13.6p9v0 depends on: metaauto-* -> metaauto-1.0p4 ===> libtorrent-0.13.6p9v0 depends on: autoconf-2.69 -> autoconf-2.69p3 ===> libtorrent-0.13.6p9v0 depends on: dwz-* -> dwz-0.15 ===> Verifying specs: crypto m pthread c++ c++abi pthread z ===> found crypto.54.0 m.10.1 pthread.27.1 c++.10.0 c++abi.7.0 z.7.0 autoconf-2.69p3 cppunit-1.14.0 dwz-0.15 metaauto-1.0p4 (Junk lock released for exopi-6 at 1713852896.49) distfiles size=781253 >>> Running patch in net/libtorrent at 1713852896.52 ===> net/libtorrent ===> Checking files for libtorrent-0.13.6p9v0 `/exopi-cvs/ports/distfiles/libtorrent-0.13.6.tar.gz' is up to date. >> (SHA256) libtorrent-0.13.6.tar.gz: OK ===> Extracting for libtorrent-0.13.6p9v0 ===> Patching for libtorrent-0.13.6p9v0 find /exopi-obj/pobj/libtorrent-0.13.6/libtorrent-0.13.6 -type f -exec fgrep -lw tr1 {} + | xargs sed -i.bak -e 's, Applying OpenBSD patch patch-src_data_memory_chunk_cc Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: src/data/memory_chunk.cc |--- src/data/memory_chunk.cc.orig |+++ src/data/memory_chunk.cc -------------------------- Patching file src/data/memory_chunk.cc using Plan A... Hunk #1 succeeded at 54. done ===> Applying OpenBSD patch patch-src_net_socket_set_h Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |clang can't accept a "generic" void* allocator because value_type doesn't |match. FreeBSD has the same patch. | | |Index: src/net/socket_set.h |--- src/net/socket_set.h.orig |+++ src/net/socket_set.h -------------------------- Patching file src/net/socket_set.h using Plan A... Hunk #1 succeeded at 53. done ===> Applying OpenBSD patch patch-src_protocol_extensions_cc Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |# https://github.com/rakshasa/libtorrent/pull/99/files | |Index: src/protocol/extensions.cc |--- src/protocol/extensions.cc.orig 2015-08-08 17:01:32.000000000 +0200 |+++ src/protocol/extensions.cc 2017-12-02 01:46:38.522736000 +0100 -------------------------- Patching file src/protocol/extensions.cc using Plan A... Hunk #1 succeeded at 394. Hunk #2 succeeded at 407. done ===> Applying OpenBSD patch patch-src_protocol_handshake_cc Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |# https://github.com/rakshasa/libtorrent/pull/99/files | |Index: src/protocol/handshake.cc |--- src/protocol/handshake.cc.orig 2015-08-08 17:01:49.000000000 +0200 |+++ src/protocol/handshake.cc 2017-12-02 01:46:38.523093000 +0100 -------------------------- Patching file src/protocol/handshake.cc using Plan A... Hunk #1 succeeded at 738. done ===> Applying OpenBSD patch patch-src_protocol_request_list_cc Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: src/protocol/request_list.cc |--- src/protocol/request_list.cc.orig |+++ src/protocol/request_list.cc -------------------------- Patching file src/protocol/request_list.cc using Plan A... Hunk #1 succeeded at 52. done ===> Applying OpenBSD patch patch-src_torrent_common_h Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |comment says it all | |Index: src/torrent/common.h |--- src/torrent/common.h.orig |+++ src/torrent/common.h -------------------------- Patching file src/torrent/common.h using Plan A... Hunk #1 succeeded at 109. done ===> Applying OpenBSD patch patch-src_torrent_data_block_failed_h Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |const reference has no useful semantics, shut up clang warning | |Index: src/torrent/data/block_failed.h |--- src/torrent/data/block_failed.h.orig |+++ src/torrent/data/block_failed.h -------------------------- Patching file src/torrent/data/block_failed.h using Plan A... Hunk #1 succeeded at 85. done ===> Applying OpenBSD patch patch-src_torrent_data_file_cc Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: src/torrent/data/file.cc |--- src/torrent/data/file.cc.orig |+++ src/torrent/data/file.cc -------------------------- Patching file src/torrent/data/file.cc using Plan A... Hunk #1 succeeded at 50. done ===> Applying OpenBSD patch patch-src_torrent_data_transfer_list_cc Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: src/torrent/data/transfer_list.cc |--- src/torrent/data/transfer_list.cc.orig |+++ src/torrent/data/transfer_list.cc -------------------------- Patching file src/torrent/data/transfer_list.cc using Plan A... Hunk #1 succeeded at 159. done ===> Applying OpenBSD patch patch-src_torrent_download_cc Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: src/torrent/download.cc |--- src/torrent/download.cc.orig |+++ src/torrent/download.cc -------------------------- Patching file src/torrent/download.cc using Plan A... Hunk #1 succeeded at 72. done ===> Applying OpenBSD patch patch-src_torrent_object_stream_cc Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |# https://github.com/rakshasa/libtorrent/pull/99/files | |Index: src/torrent/object_stream.cc |--- src/torrent/object_stream.cc.orig 2015-08-08 17:01:32.000000000 +0200 |+++ src/torrent/object_stream.cc 2017-12-02 01:46:38.523350000 +0100 -------------------------- Patching file src/torrent/object_stream.cc using Plan A... Hunk #1 succeeded at 104. done ===> Applying OpenBSD patch patch-src_torrent_peer_connection_list_cc Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: src/torrent/peer/connection_list.cc |--- src/torrent/peer/connection_list.cc.orig |+++ src/torrent/peer/connection_list.cc -------------------------- Patching file src/torrent/peer/connection_list.cc using Plan A... Hunk #1 succeeded at 60. done ===> Applying OpenBSD patch patch-src_torrent_poll_kqueue_cc Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Fix a crash when total number of connections exceeds 1024. | |The number of events is used to index an array of maxOpenSockets |(file descriptors) elements. If there are fewer fds than maxEvents, |this will cause a segfault. |Limit the number of events to the number of fds with an upper limit of |maxEvents. | |--- src/torrent/poll_kqueue.cc.orig Tue May 6 03:22:57 2014 |+++ src/torrent/poll_kqueue.cc Tue Mar 24 03:43:10 2015 -------------------------- Patching file src/torrent/poll_kqueue.cc using Plan A... Hunk #1 succeeded at 37. Hunk #2 succeeded at 122. done ===> Applying OpenBSD patch patch-src_torrent_utils_extents_h Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |assign/fill difference, see header | |Index: src/torrent/utils/extents.h |--- src/torrent/utils/extents.h.orig |+++ src/torrent/utils/extents.h -------------------------- Patching file src/torrent/utils/extents.h using Plan A... Hunk #1 succeeded at 51. done ===> Applying OpenBSD patch patch-src_torrent_utils_log_cc Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |can't figure out the functional magic, so just do the algorithm by hand. | |Index: src/torrent/utils/log.cc |--- src/torrent/utils/log.cc.orig |+++ src/torrent/utils/log.cc -------------------------- Patching file src/torrent/utils/log.cc using Plan A... Hunk #1 succeeded at 187. Hunk #2 succeeded at 247. done ===> Applying OpenBSD patch patch-src_torrent_utils_net_h Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Add missing include. | |Index: src/torrent/utils/net.h |--- src/torrent/utils/net.h.orig |+++ src/torrent/utils/net.h -------------------------- Patching file src/torrent/utils/net.h using Plan A... Hunk #1 succeeded at 37. done ===> Applying OpenBSD patch patch-src_utils_diffie_hellman_cc Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Fix build with opaque DH in LibreSSL 3.5. | |Index: src/utils/diffie_hellman.cc |--- src/utils/diffie_hellman.cc.orig |+++ src/utils/diffie_hellman.cc -------------------------- Patching file src/utils/diffie_hellman.cc using Plan A... Hunk #1 succeeded at 53. Hunk #2 succeeded at 75. Hunk #3 succeeded at 104. done ===> Applying OpenBSD patch patch-src_utils_instrumentation_h Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |tr1/std difference, see header | |Index: src/utils/instrumentation.h |--- src/utils/instrumentation.h.orig |+++ src/utils/instrumentation.h -------------------------- Patching file src/utils/instrumentation.h using Plan A... Hunk #1 succeeded at 118. done ===> Applying OpenBSD patch patch-src_utils_queue_buckets_h Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |proper typing, from FreeBSD | |Index: src/utils/queue_buckets.h |--- src/utils/queue_buckets.h.orig |+++ src/utils/queue_buckets.h -------------------------- Patching file src/utils/queue_buckets.h using Plan A... Hunk #1 succeeded at 251. done ===> Applying OpenBSD patch patch-test_Makefile_in Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- test/Makefile.in.orig Thu Sep 10 20:12:55 2015 |+++ test/Makefile.in Thu Sep 10 20:13:00 2015 -------------------------- Patching file test/Makefile.in using Plan A... Hunk #1 succeeded at 644. done ===> Compiler link: clang -> /usr/bin/clang ===> Compiler link: clang++ -> /usr/bin/clang++ ===> Compiler link: cc -> /usr/bin/cc ===> Compiler link: c++ -> /usr/bin/c++ >>> Running configure in net/libtorrent at 1713852897.46 ===> net/libtorrent ===> Generating configure for libtorrent-0.13.6p9v0 Running autoconf-2.69 in /exopi-obj/pobj/libtorrent-0.13.6/libtorrent-0.13.6 Running autoheader-2.69 in /exopi-obj/pobj/libtorrent-0.13.6/libtorrent-0.13.6 ===> Configuring for libtorrent-0.13.6p9v0 Using /exopi-obj/pobj/libtorrent-0.13.6/config.site (generated) configure: WARNING: unrecognized options: --disable-gtk-doc configure: loading site script /exopi-obj/pobj/libtorrent-0.13.6/config.site checking build system type... x86_64-unknown-openbsd7.5 checking host system type... x86_64-unknown-openbsd7.5 checking how to print strings... print -r checking for gcc... cc 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... (cached) o checking whether we are using the GNU C compiler... (cached) yes checking whether cc accepts -g... (cached) yes checking for cc option to accept ISO C89... none needed checking whether cc understands -c and -o together... yes checking for a sed that does not truncate output... (cached) /usr/bin/sed checking for grep that handles long lines and -e... (cached) /usr/bin/grep checking for egrep... (cached) /usr/bin/egrep checking for fgrep... (cached) /usr/bin/fgrep checking for ld used by cc... /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... (cached) 131072 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... no checking how to convert x86_64-unknown-openbsd7.5 file names to x86_64-unknown-openbsd7.5 format... func_convert_file_noop checking how to convert x86_64-unknown-openbsd7.5 file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for objdump... objdump checking how to recognize dependent libraries... match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$ checking for dlltool... no checking how to associate runtime and link libraries... print -r -- checking for ar... (cached) ar checking for archiver @FILE support... @ checking for strip... (cached) strip checking for ranlib... (cached) ranlib checking for gawk... (cached) awk checking command to parse /usr/bin/nm -B output from cc object... ok checking for sysroot... no checking for mt... mt checking if mt is a manifest tool... no checking how to run the C preprocessor... cc -E checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking for dlfcn.h... (cached) yes checking for objdir... .libs checking if cc supports -fno-rtti -fno-exceptions... yes checking for cc option to produce PIC... -fPIC -DPIC checking if cc PIC flag -fPIC -DPIC works... yes checking if cc static flag -static works... yes checking if cc supports -c -o file.o... yes checking if cc supports -c -o file.o... (cached) yes checking whether the cc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... yes checking dynamic linker characteristics... openbsd7.5 ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... no checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking for a BSD-compatible install... /exopi-obj/pobj/libtorrent-0.13.6/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... mkdir -p checking whether make sets $(MAKE)... (cached) yes checking for style of include used by make... GNU checking whether make supports nested variables... yes checking dependency style of cc... gcc3 checking for cppunit-config... no checking for Cppunit - version >= 1.9.6... no checking whether we are using the GNU C++ compiler... (cached) yes checking whether c++ accepts -g... (cached) yes checking how to run the C++ preprocessor... c++ -E checking for ld used by c++... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking whether the c++ linker (/usr/bin/ld) supports shared libraries... yes checking for c++ option to produce PIC... -fPIC -DPIC checking if c++ PIC flag -fPIC -DPIC works... yes checking if c++ static flag -static works... yes checking if c++ supports -c -o file.o... yes checking if c++ supports -c -o file.o... (cached) yes checking whether the c++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... openbsd7.5 ld.so checking how to hardcode library paths into programs... immediate checking dependency style of c++... gcc3 checking whether byte ordering is bigendian... no checking for user-defined CXXFLAGS... user-defined "-O2 -pipe -g -std=c++11" checking the byte alignment... none needed checking for TR1 support... yes checking for C++11 support... yes checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking for sysroot... no checking for kqueue support... yes checking whether kqueue supports pipes and ptys... yes checking for fallocate... no checking size of long... 8 checking sys/vfs.h usability... no checking sys/vfs.h presence... no checking for sys/vfs.h... no checking sys/statvfs.h usability... yes checking sys/statvfs.h presence... yes checking for sys/statvfs.h... yes checking sys/statfs.h usability... no checking sys/statfs.h presence... no checking for sys/statfs.h... no checking for statvfs... ok checking if compiler supports __attribute__((visibility("default")))... yes checking whether pthreads work without any flags... no checking for the pthreads library -lpthreads... 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 -pthread... yes checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE checking if more special flags are required for pthreads... no checking for PTHREAD_PRIO_INHERIT... yes checking if zlib is wanted... yes checking for inflateEnd in -lz... yes checking for zlib.h... (cached) yes checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for OPENSSL... yes checking for posix_memalign... yes checking for madvise... yes checking for cacheline... using default 128 bytes checking for __builtin_popcount... yes checking for execinfo.h... no checking for pthread.h... (cached) yes checking for pthread_setname_np type... no checking for mincore... disabled checking for proper overloaded template function disambiguation... yes checking if instrumentation should be included... no checking if compiler supports __attribute__((unused))... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating libtorrent.pc config.status: creating Makefile config.status: creating src/Makefile config.status: creating src/torrent/Makefile config.status: creating src/torrent/peer/Makefile config.status: creating src/torrent/data/Makefile config.status: creating src/torrent/download/Makefile config.status: creating src/torrent/utils/Makefile config.status: creating src/data/Makefile config.status: creating src/dht/Makefile config.status: creating src/download/Makefile config.status: creating src/net/Makefile config.status: creating src/protocol/Makefile config.status: creating src/tracker/Makefile config.status: creating src/utils/Makefile config.status: creating test/Makefile config.status: creating config.h config.status: executing libtool commands config.status: executing depfiles commands configure: WARNING: unrecognized options: --disable-gtk-doc >>> Running build in net/libtorrent at 1713852924.83 ===> net/libtorrent ===> Building for libtorrent-0.13.6p9v0 /usr/bin/make all-recursive Making all in src Making all in torrent Making all in data /usr/bin/libtool --tag=CXX --mode=compile c++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT block.lo -MD -MP -MF .deps/block.Tpo -c -o block.lo block.cc c++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT block.lo -MD -MP -MF .deps/block.Tpo -c block.cc -fPIC -DPIC -o .libs/block.o In file included from block.cc:44: In file included from ./../../protocol/peer_connection_base.h:47: In file included from ./../../protocol/extensions.h:48: ./../../net/address_list.h:61:36: warning: 'unary_function' is deprecated [-Wdeprecated-declarations] struct add_address : public std::unary_function { ^ /usr/include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from block.cc:44: In file included from ./../../protocol/peer_connection_base.h:50: In file included from ./../../protocol/request_list.h:42: ./../../torrent/data/block_transfer.h:132:5: warning: '~BlockTransfer' has a non-throwing exception specification but can still throw [-Wexceptions] throw internal_error("BlockTransfer::~BlockTransfer() peer_info not NULL"); ^ ./../../torrent/data/block_transfer.h:127:16: note: destructor has a implicit non-throwing exception specification BlockTransfer::~BlockTransfer() { ^ ./../../torrent/data/block_transfer.h:129:5: warning: '~BlockTransfer' has a non-throwing exception specification but can still throw [-Wexceptions] throw internal_error("BlockTransfer::~BlockTransfer() block not NULL"); ^ ./../../torrent/data/block_transfer.h:127:16: note: destructor has a implicit non-throwing exception specification BlockTransfer::~BlockTransfer() { ^ In file included from block.cc:44: In file included from ./../../protocol/peer_connection_base.h:50: In file included from ./../../protocol/request_list.h:46: In file included from ./../../globals.h:41: ../../../rak/priority_queue_default.h:56:7: warning: '~priority_item' has a non-throwing exception specification but can still throw [-Wexceptions] throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); ^ ../../../rak/priority_queue_default.h:54:3: note: destructor has a implicit non-throwing exception specification ~priority_item() { ^ In file included from block.cc:47: ./block_failed.h:96:38: warning: 'ptr_fun &, void>' is deprecated [-Wdeprecated-declarations] std::for_each(begin(), end(), std::ptr_fun(&BlockFailed::delete_entry)); ^ /usr/include/c++/v1/__functional/pointer_to_unary_function.h:37:1: note: 'ptr_fun &, void>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from block.cc:47: ./block_failed.h:101:48: warning: 'ptr_fun &, std::pair &, bool>' is deprecated [-Wdeprecated-declarations] return std::max_element(begin(), end(), std::ptr_fun(&BlockFailed::compare_entries)); ^ /usr/include/c++/v1/__functional/pointer_to_binary_function.h:37:1: note: 'ptr_fun &, std::pair &, bool>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from block.cc:47: ./block_failed.h:106:50: warning: 'ptr_fun &, std::pair &, bool>' is deprecated [-Wdeprecated-declarations] return std::max_element(rbegin(), rend(), std::ptr_fun(&BlockFailed::compare_entries)); ^ /usr/include/c++/v1/__functional/pointer_to_binary_function.h:37:1: note: 'ptr_fun &, std::pair &, bool>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ block.cc:68:69: warning: 'mem_fun' is deprecated [-Wdeprecated-declarations] std::for_each(m_queued.begin(), m_queued.end(), std::bind1st(std::mem_fun(&Block::invalidate_transfer), this)); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:56:1: note: 'mem_fun' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ block.cc:68:56: warning: 'bind1st, torrent::Block *>' is deprecated [-Wdeprecated-declarations] std::for_each(m_queued.begin(), m_queued.end(), std::bind1st(std::mem_fun(&Block::invalidate_transfer), this)); ^ /usr/include/c++/v1/__functional/binder1st.h:44:1: note: 'bind1st, torrent::Block *>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ block.cc:71:75: warning: 'mem_fun' is deprecated [-Wdeprecated-declarations] std::for_each(m_transfers.begin(), m_transfers.end(), std::bind1st(std::mem_fun(&Block::invalidate_transfer), this)); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:56:1: note: 'mem_fun' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ block.cc:71:62: warning: 'bind1st, torrent::Block *>' is deprecated [-Wdeprecated-declarations] std::for_each(m_transfers.begin(), m_transfers.end(), std::bind1st(std::mem_fun(&Block::invalidate_transfer), this)); ^ /usr/include/c++/v1/__functional/binder1st.h:44:1: note: 'bind1st, torrent::Block *>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ block.cc:75:5: warning: '~Block' has a non-throwing exception specification but can still throw [-Wexceptions] throw internal_error("Block::clear() m_stalled != 0."); ^ block.cc:54:8: note: destructor has a implicit non-throwing exception specification Block::~Block() { ^ block.cc:60:7: warning: '~Block' has a non-throwing exception specification but can still throw [-Wexceptions] throw internal_error("Block dtor with 'm_state == STATE_COMPLETED && m_leader == NULL'"); ^ block.cc:54:8: note: destructor has a implicit non-throwing exception specification Block::~Block() { ^ block.cc:56:5: warning: '~Block' has a non-throwing exception specification but can still throw [-Wexceptions] throw internal_error("Block dtor with 'm_state != STATE_INCOMPLETE && m_state != STATE_COMPLETED'"); ^ block.cc:54:8: note: destructor has a implicit non-throwing exception specification Block::~Block() { ^ block.cc:141:112: warning: 'mem_fun' is deprecated [-Wdeprecated-declarations] transfer_list_type::iterator first = std::find_if(m_transfers.begin(), m_transfers.end(), std::not1(std::mem_fun(&BlockTransfer::is_leader))); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:122:1: note: 'mem_fun' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ block.cc:142:96: warning: 'mem_fun' is deprecated [-Wdeprecated-declarations] transfer_list_type::iterator last = std::stable_partition(first, m_transfers.end(), std::mem_fun(&BlockTransfer::is_not_leader)); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:122:1: note: 'mem_fun' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from block.cc:41: ../../../rak/functional.h:174:30: warning: 'binary_function' is deprecated [-Wdeprecated-declarations] struct less2_t : public std::binary_function { ^ block.cc:144:78: note: in instantiation of template class 'rak::less2_t, std::const_mem_fun_t>' requested here transfer_list_type::iterator newLeader = std::max_element(first, last, rak::less2(std::mem_fun(&BlockTransfer::position), std::mem_fun(&BlockTransfer::position))); ^ /usr/include/c++/v1/__functional/binary_function.h:24:29: note: 'binary_function' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 binary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ block.cc:144:94: warning: 'mem_fun' is deprecated [-Wdeprecated-declarations] transfer_list_type::iterator newLeader = std::max_element(first, last, rak::less2(std::mem_fun(&BlockTransfer::position), std::mem_fun(&BlockTransfer::position))); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:122:1: note: 'mem_fun' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ block.cc:144:134: warning: 'mem_fun' is deprecated [-Wdeprecated-declarations] transfer_list_type::iterator newLeader = std::max_element(first, last, rak::less2(std::mem_fun(&BlockTransfer::position), std::mem_fun(&BlockTransfer::position))); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:122:1: note: 'mem_fun' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ block.cc:222:80: warning: 'mem_fun_ref' is deprecated [-Wdeprecated-declarations] if ((Block::size_type)std::count_if(m_parent->begin(), m_parent->end(), std::mem_fun_ref(&Block::is_finished)) < m_parent->finished()) ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:158:1: note: 'mem_fun_ref' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ block.cc:235:69: warning: 'mem_fun' is deprecated [-Wdeprecated-declarations] std::for_each(m_queued.begin(), m_queued.end(), std::bind1st(std::mem_fun(&Block::invalidate_transfer), this)); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:56:1: note: 'mem_fun' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ block.cc:235:56: warning: 'bind1st, torrent::Block *>' is deprecated [-Wdeprecated-declarations] std::for_each(m_queued.begin(), m_queued.end(), std::bind1st(std::mem_fun(&Block::invalidate_transfer), this)); ^ /usr/include/c++/v1/__functional/binder1st.h:44:1: note: 'bind1st, torrent::Block *>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ block.cc:368:117: warning: 'mem_fun' is deprecated [-Wdeprecated-declarations] transfer_list_type::iterator split = std::stable_partition(m_transfers.begin(), m_transfers.end(), std::not1(std::mem_fun(&BlockTransfer::is_erased))); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:122:1: note: 'mem_fun' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ block.cc:370:61: warning: 'mem_fun' is deprecated [-Wdeprecated-declarations] std::for_each(split, m_transfers.end(), std::bind1st(std::mem_fun(&Block::invalidate_transfer), this)); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:56:1: note: 'mem_fun' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ block.cc:370:48: warning: 'bind1st, torrent::Block *>' is deprecated [-Wdeprecated-declarations] std::for_each(split, m_transfers.end(), std::bind1st(std::mem_fun(&Block::invalidate_transfer), this)); ^ /usr/include/c++/v1/__functional/binder1st.h:44:1: note: 'bind1st, torrent::Block *>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ block.cc:376:107: warning: 'mem_fun' is deprecated [-Wdeprecated-declarations] transfer_list_type::iterator split = std::stable_partition(m_transfers.begin(), m_transfers.end(), std::mem_fun(&BlockTransfer::is_leader)); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:122:1: note: 'mem_fun' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ block.cc:378:61: warning: 'mem_fun' is deprecated [-Wdeprecated-declarations] std::for_each(split, m_transfers.end(), std::bind1st(std::mem_fun(&Block::invalidate_transfer), this)); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:56:1: note: 'mem_fun' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ block.cc:378:48: warning: 'bind1st, torrent::Block *>' is deprecated [-Wdeprecated-declarations] std::for_each(split, m_transfers.end(), std::bind1st(std::mem_fun(&Block::invalidate_transfer), this)); ^ /usr/include/c++/v1/__functional/binder1st.h:44:1: note: 'bind1st, torrent::Block *>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ block.cc:384:104: warning: 'mem_fun' is deprecated [-Wdeprecated-declarations] transfer_list_type::iterator itr = std::find_if(m_queued.begin(), m_queued.end(), rak::equal(p, std::mem_fun(&BlockTransfer::peer_info))); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:50:1: note: 'mem_fun' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ block.cc:394:110: warning: 'mem_fun' is deprecated [-Wdeprecated-declarations] transfer_list_type::const_iterator itr = std::find_if(m_queued.begin(), m_queued.end(), rak::equal(p, std::mem_fun(&BlockTransfer::peer_info))); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:50:1: note: 'mem_fun' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ block.cc:404:110: warning: 'mem_fun' is deprecated [-Wdeprecated-declarations] transfer_list_type::iterator itr = std::find_if(m_transfers.begin(), m_transfers.end(), rak::equal(p, std::mem_fun(&BlockTransfer::peer_info))); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:50:1: note: 'mem_fun' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ block.cc:414:116: warning: 'mem_fun' is deprecated [-Wdeprecated-declarations] transfer_list_type::const_iterator itr = std::find_if(m_transfers.begin(), m_transfers.end(), rak::equal(p, std::mem_fun(&BlockTransfer::peer_info))); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:50:1: note: 'mem_fun' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from block.cc:44: In file included from ./../../protocol/peer_connection_base.h:50: In file included from ./../../protocol/request_list.h:46: In file included from ./../../globals.h:41: In file included from ../../../rak/priority_queue_default.h:42: ../../../rak/priority_queue.h:84:46: warning: 'bind2nd, rak::priority_item *>' is deprecated [-Wdeprecated-declarations] return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); ^ ../../../rak/priority_queue_default.h:113:14: note: in instantiation of function template specialization 'rak::priority_queue, rak::cacheline_allocator>::find' requested here if (queue->find(item) != queue->end()) ^ /usr/include/c++/v1/__functional/binder2nd.h:44:1: note: 'bind2nd, rak::priority_item *>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ 33 warnings generated. c++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT block.lo -MD -MP -MF .deps/block.Tpo -c block.cc -o block.o In file included from block.cc:44: In file included from ./../../protocol/peer_connection_base.h:47: In file included from ./../../protocol/extensions.h:48: ./../../net/address_list.h:61:36: warning: 'unary_function' is deprecated [-Wdeprecated-declarations] struct add_address : public std::unary_function { ^ /usr/include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from block.cc:44: In file included from ./../../protocol/peer_connection_base.h:50: In file included from ./../../protocol/request_list.h:42: ./../../torrent/data/block_transfer.h:132:5: warning: '~BlockTransfer' has a non-throwing exception specification but can still throw [-Wexceptions] throw internal_error("BlockTransfer::~BlockTransfer() peer_info not NULL"); ^ ./../../torrent/data/block_transfer.h:127:16: note: destructor has a implicit non-throwing exception specification BlockTransfer::~BlockTransfer() { ^ ./../../torrent/data/block_transfer.h:129:5: warning: '~BlockTransfer' has a non-throwing exception specification but can still throw [-Wexceptions] throw internal_error("BlockTransfer::~BlockTransfer() block not NULL"); ^ ./../../torrent/data/block_transfer.h:127:16: note: destructor has a implicit non-throwing exception specification BlockTransfer::~BlockTransfer() { ^ In file included from block.cc:44: In file included from ./../../protocol/peer_connection_base.h:50: In file included from ./../../protocol/request_list.h:46: In file included from ./../../globals.h:41: ../../../rak/priority_queue_default.h:56:7: warning: '~priority_item' has a non-throwing exception specification but can still throw [-Wexceptions] throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); ^ ../../../rak/priority_queue_default.h:54:3: note: destructor has a implicit non-throwing exception specification ~priority_item() { ^ In file included from block.cc:47: ./block_failed.h:96:38: warning: 'ptr_fun &, void>' is deprecated [-Wdeprecated-declarations] std::for_each(begin(), end(), std::ptr_fun(&BlockFailed::delete_entry)); ^ /usr/include/c++/v1/__functional/pointer_to_unary_function.h:37:1: note: 'ptr_fun &, void>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from block.cc:47: ./block_failed.h:101:48: warning: 'ptr_fun &, std::pair &, bool>' is deprecated [-Wdeprecated-declarations] return std::max_element(begin(), end(), std::ptr_fun(&BlockFailed::compare_entries)); ^ /usr/include/c++/v1/__functional/pointer_to_binary_function.h:37:1: note: 'ptr_fun &, std::pair &, bool>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from block.cc:47: ./block_failed.h:106:50: warning: 'ptr_fun &, std::pair &, bool>' is deprecated [-Wdeprecated-declarations] return std::max_element(rbegin(), rend(), std::ptr_fun(&BlockFailed::compare_entries)); ^ /usr/include/c++/v1/__functional/pointer_to_binary_function.h:37:1: note: 'ptr_fun &, std::pair &, bool>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ block.cc:68:69: warning: 'mem_fun' is deprecated [-Wdeprecated-declarations] std::for_each(m_queued.begin(), m_queued.end(), std::bind1st(std::mem_fun(&Block::invalidate_transfer), this)); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:56:1: note: 'mem_fun' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ block.cc:68:56: warning: 'bind1st, torrent::Block *>' is deprecated [-Wdeprecated-declarations] std::for_each(m_queued.begin(), m_queued.end(), std::bind1st(std::mem_fun(&Block::invalidate_transfer), this)); ^ /usr/include/c++/v1/__functional/binder1st.h:44:1: note: 'bind1st, torrent::Block *>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ block.cc:71:75: warning: 'mem_fun' is deprecated [-Wdeprecated-declarations] std::for_each(m_transfers.begin(), m_transfers.end(), std::bind1st(std::mem_fun(&Block::invalidate_transfer), this)); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:56:1: note: 'mem_fun' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ block.cc:71:62: warning: 'bind1st, torrent::Block *>' is deprecated [-Wdeprecated-declarations] std::for_each(m_transfers.begin(), m_transfers.end(), std::bind1st(std::mem_fun(&Block::invalidate_transfer), this)); ^ /usr/include/c++/v1/__functional/binder1st.h:44:1: note: 'bind1st, torrent::Block *>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ block.cc:75:5: warning: '~Block' has a non-throwing exception specification but can still throw [-Wexceptions] throw internal_error("Block::clear() m_stalled != 0."); ^ block.cc:54:8: note: destructor has a implicit non-throwing exception specification Block::~Block() { ^ block.cc:60:7: warning: '~Block' has a non-throwing exception specification but can still throw [-Wexceptions] throw internal_error("Block dtor with 'm_state == STATE_COMPLETED && m_leader == NULL'"); ^ block.cc:54:8: note: destructor has a implicit non-throwing exception specification Block::~Block() { ^ block.cc:56:5: warning: '~Block' has a non-throwing exception specification but can still throw [-Wexceptions] throw internal_error("Block dtor with 'm_state != STATE_INCOMPLETE && m_state != STATE_COMPLETED'"); ^ block.cc:54:8: note: destructor has a implicit non-throwing exception specification Block::~Block() { ^ block.cc:141:112: warning: 'mem_fun' is deprecated [-Wdeprecated-declarations] transfer_list_type::iterator first = std::find_if(m_transfers.begin(), m_transfers.end(), std::not1(std::mem_fun(&BlockTransfer::is_leader))); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:122:1: note: 'mem_fun' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ block.cc:142:96: warning: 'mem_fun' is deprecated [-Wdeprecated-declarations] transfer_list_type::iterator last = std::stable_partition(first, m_transfers.end(), std::mem_fun(&BlockTransfer::is_not_leader)); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:122:1: note: 'mem_fun' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from block.cc:41: ../../../rak/functional.h:174:30: warning: 'binary_function' is deprecated [-Wdeprecated-declarations] struct less2_t : public std::binary_function { ^ block.cc:144:78: note: in instantiation of template class 'rak::less2_t, std::const_mem_fun_t>' requested here transfer_list_type::iterator newLeader = std::max_element(first, last, rak::less2(std::mem_fun(&BlockTransfer::position), std::mem_fun(&BlockTransfer::position))); ^ /usr/include/c++/v1/__functional/binary_function.h:24:29: note: 'binary_function' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 binary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ block.cc:144:94: warning: 'mem_fun' is deprecated [-Wdeprecated-declarations] transfer_list_type::iterator newLeader = std::max_element(first, last, rak::less2(std::mem_fun(&BlockTransfer::position), std::mem_fun(&BlockTransfer::position))); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:122:1: note: 'mem_fun' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ block.cc:144:134: warning: 'mem_fun' is deprecated [-Wdeprecated-declarations] transfer_list_type::iterator newLeader = std::max_element(first, last, rak::less2(std::mem_fun(&BlockTransfer::position), std::mem_fun(&BlockTransfer::position))); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:122:1: note: 'mem_fun' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ block.cc:222:80: warning: 'mem_fun_ref' is deprecated [-Wdeprecated-declarations] if ((Block::size_type)std::count_if(m_parent->begin(), m_parent->end(), std::mem_fun_ref(&Block::is_finished)) < m_parent->finished()) ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:158:1: note: 'mem_fun_ref' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ block.cc:235:69: warning: 'mem_fun' is deprecated [-Wdeprecated-declarations] std::for_each(m_queued.begin(), m_queued.end(), std::bind1st(std::mem_fun(&Block::invalidate_transfer), this)); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:56:1: note: 'mem_fun' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ block.cc:235:56: warning: 'bind1st, torrent::Block *>' is deprecated [-Wdeprecated-declarations] std::for_each(m_queued.begin(), m_queued.end(), std::bind1st(std::mem_fun(&Block::invalidate_transfer), this)); ^ /usr/include/c++/v1/__functional/binder1st.h:44:1: note: 'bind1st, torrent::Block *>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ block.cc:368:117: warning: 'mem_fun' is deprecated [-Wdeprecated-declarations] transfer_list_type::iterator split = std::stable_partition(m_transfers.begin(), m_transfers.end(), std::not1(std::mem_fun(&BlockTransfer::is_erased))); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:122:1: note: 'mem_fun' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ block.cc:370:61: warning: 'mem_fun' is deprecated [-Wdeprecated-declarations] std::for_each(split, m_transfers.end(), std::bind1st(std::mem_fun(&Block::invalidate_transfer), this)); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:56:1: note: 'mem_fun' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ block.cc:370:48: warning: 'bind1st, torrent::Block *>' is deprecated [-Wdeprecated-declarations] std::for_each(split, m_transfers.end(), std::bind1st(std::mem_fun(&Block::invalidate_transfer), this)); ^ /usr/include/c++/v1/__functional/binder1st.h:44:1: note: 'bind1st, torrent::Block *>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ block.cc:376:107: warning: 'mem_fun' is deprecated [-Wdeprecated-declarations] transfer_list_type::iterator split = std::stable_partition(m_transfers.begin(), m_transfers.end(), std::mem_fun(&BlockTransfer::is_leader)); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:122:1: note: 'mem_fun' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ block.cc:378:61: warning: 'mem_fun' is deprecated [-Wdeprecated-declarations] std::for_each(split, m_transfers.end(), std::bind1st(std::mem_fun(&Block::invalidate_transfer), this)); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:56:1: note: 'mem_fun' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ block.cc:378:48: warning: 'bind1st, torrent::Block *>' is deprecated [-Wdeprecated-declarations] std::for_each(split, m_transfers.end(), std::bind1st(std::mem_fun(&Block::invalidate_transfer), this)); ^ /usr/include/c++/v1/__functional/binder1st.h:44:1: note: 'bind1st, torrent::Block *>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ block.cc:384:104: warning: 'mem_fun' is deprecated [-Wdeprecated-declarations] transfer_list_type::iterator itr = std::find_if(m_queued.begin(), m_queued.end(), rak::equal(p, std::mem_fun(&BlockTransfer::peer_info))); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:50:1: note: 'mem_fun' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ block.cc:394:110: warning: 'mem_fun' is deprecated [-Wdeprecated-declarations] transfer_list_type::const_iterator itr = std::find_if(m_queued.begin(), m_queued.end(), rak::equal(p, std::mem_fun(&BlockTransfer::peer_info))); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:50:1: note: 'mem_fun' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ block.cc:404:110: warning: 'mem_fun' is deprecated [-Wdeprecated-declarations] transfer_list_type::iterator itr = std::find_if(m_transfers.begin(), m_transfers.end(), rak::equal(p, std::mem_fun(&BlockTransfer::peer_info))); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:50:1: note: 'mem_fun' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ block.cc:414:116: warning: 'mem_fun' is deprecated [-Wdeprecated-declarations] transfer_list_type::const_iterator itr = std::find_if(m_transfers.begin(), m_transfers.end(), rak::equal(p, std::mem_fun(&BlockTransfer::peer_info))); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:50:1: note: 'mem_fun' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from block.cc:44: In file included from ./../../protocol/peer_connection_base.h:50: In file included from ./../../protocol/request_list.h:46: In file included from ./../../globals.h:41: In file included from ../../../rak/priority_queue_default.h:42: ../../../rak/priority_queue.h:84:46: warning: 'bind2nd, rak::priority_item *>' is deprecated [-Wdeprecated-declarations] return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); ^ ../../../rak/priority_queue_default.h:113:14: note: in instantiation of function template specialization 'rak::priority_queue, rak::cacheline_allocator>::find' requested here if (queue->find(item) != queue->end()) ^ /usr/include/c++/v1/__functional/binder2nd.h:44:1: note: 'bind2nd, rak::priority_item *>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ 33 warnings generated. mv -f .deps/block.Tpo .deps/block.Plo /usr/bin/libtool --tag=CXX --mode=compile c++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT block_list.lo -MD -MP -MF .deps/block_list.Tpo -c -o block_list.lo block_list.cc c++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT block_list.lo -MD -MP -MF .deps/block_list.Tpo -c block_list.cc -fPIC -DPIC -o .libs/block_list.o In file included from block_list.cc:42: ./block_transfer.h:132:5: warning: '~BlockTransfer' has a non-throwing exception specification but can still throw [-Wexceptions] throw internal_error("BlockTransfer::~BlockTransfer() peer_info not NULL"); ^ ./block_transfer.h:127:16: note: destructor has a implicit non-throwing exception specification BlockTransfer::~BlockTransfer() { ^ ./block_transfer.h:129:5: warning: '~BlockTransfer' has a non-throwing exception specification but can still throw [-Wexceptions] throw internal_error("BlockTransfer::~BlockTransfer() block not NULL"); ^ ./block_transfer.h:127:16: note: destructor has a implicit non-throwing exception specification BlockTransfer::~BlockTransfer() { ^ block_list.cc:87:38: warning: 'mem_fun_ref' is deprecated [-Wdeprecated-declarations] std::for_each(begin(), end(), std::mem_fun_ref(&Block::failed_leader)); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:86:1: note: 'mem_fun_ref' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ block_list.cc:88:38: warning: 'mem_fun_ref' is deprecated [-Wdeprecated-declarations] std::for_each(begin(), end(), std::mem_fun_ref(&Block::retry_transfer)); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:86:1: note: 'mem_fun_ref' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ 4 warnings generated. c++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT block_list.lo -MD -MP -MF .deps/block_list.Tpo -c block_list.cc -o block_list.o In file included from block_list.cc:42: ./block_transfer.h:132:5: warning: '~BlockTransfer' has a non-throwing exception specification but can still throw [-Wexceptions] throw internal_error("BlockTransfer::~BlockTransfer() peer_info not NULL"); ^ ./block_transfer.h:127:16: note: destructor has a implicit non-throwing exception specification BlockTransfer::~BlockTransfer() { ^ ./block_transfer.h:129:5: warning: '~BlockTransfer' has a non-throwing exception specification but can still throw [-Wexceptions] throw internal_error("BlockTransfer::~BlockTransfer() block not NULL"); ^ ./block_transfer.h:127:16: note: destructor has a implicit non-throwing exception specification BlockTransfer::~BlockTransfer() { ^ block_list.cc:87:38: warning: 'mem_fun_ref' is deprecated [-Wdeprecated-declarations] std::for_each(begin(), end(), std::mem_fun_ref(&Block::failed_leader)); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:86:1: note: 'mem_fun_ref' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ block_list.cc:88:38: warning: 'mem_fun_ref' is deprecated [-Wdeprecated-declarations] std::for_each(begin(), end(), std::mem_fun_ref(&Block::retry_transfer)); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:86:1: note: 'mem_fun_ref' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ 4 warnings generated. mv -f .deps/block_list.Tpo .deps/block_list.Plo /usr/bin/libtool --tag=CXX --mode=compile c++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT chunk_utils.lo -MD -MP -MF .deps/chunk_utils.Tpo -c -o chunk_utils.lo chunk_utils.cc c++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT chunk_utils.lo -MD -MP -MF .deps/chunk_utils.Tpo -c chunk_utils.cc -fPIC -DPIC -o .libs/chunk_utils.o In file included from chunk_utils.cc:43: In file included from ./../../manager.h:42: ../../../rak/priority_queue_default.h:56:7: warning: '~priority_item' has a non-throwing exception specification but can still throw [-Wexceptions] throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); ^ ../../../rak/priority_queue_default.h:54:3: note: destructor has a implicit non-throwing exception specification ~priority_item() { ^ In file included from chunk_utils.cc:46: In file included from ./../../download/download_wrapper.h:41: In file included from ./../../download/download_main.h:48: In file included from ./../../download/available_list.h:45: ./../../net/address_list.h:61:36: warning: 'unary_function' is deprecated [-Wdeprecated-declarations] struct add_address : public std::unary_function { ^ /usr/include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from chunk_utils.cc:46: In file included from ./../../download/download_wrapper.h:41: In file included from ./../../download/download_main.h:52: ./../../torrent/data/file_list.h:202:79: warning: 'mem_fun' is deprecated [-Wdeprecated-declarations] return std::find_if(file_list->begin(), file_list->end(), std::bind2nd(std::mem_fun(&File::is_valid_position), pos)); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:128:1: note: 'mem_fun' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from chunk_utils.cc:46: In file included from ./../../download/download_wrapper.h:41: In file included from ./../../download/download_main.h:52: ./../../torrent/data/file_list.h:202:66: warning: 'bind2nd, unsigned long long>' is deprecated [-Wdeprecated-declarations] return std::find_if(file_list->begin(), file_list->end(), std::bind2nd(std::mem_fun(&File::is_valid_position), pos)); ^ /usr/include/c++/v1/__functional/binder2nd.h:44:1: note: 'bind2nd, unsigned long long>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from chunk_utils.cc:46: In file included from ./../../download/download_wrapper.h:41: In file included from ./../../download/download_main.h:41: ../../../rak/functional.h:551:30: warning: 'binary_function' is deprecated [-Wdeprecated-declarations] class mem_fun2 : public std::binary_function { ^ ./../../download/download_main.h:201:29: note: in instantiation of template class 'rak::mem_fun2' requested here slot_start_handshake_type m_slotStartHandshake; ^ /usr/include/c++/v1/__functional/binary_function.h:24:29: note: 'binary_function' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 binary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from chunk_utils.cc:49: ./../../data/chunk.h:124:57: warning: 'mem_fun_ref' is deprecated [-Wdeprecated-declarations] return std::find_if(begin(), end(), std::bind2nd(std::mem_fun_ref(&ChunkPart::has_address), ptr)); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:164:1: note: 'mem_fun_ref' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from chunk_utils.cc:49: ./../../data/chunk.h:124:44: warning: 'bind2nd, void *>' is deprecated [-Wdeprecated-declarations] return std::find_if(begin(), end(), std::bind2nd(std::mem_fun_ref(&ChunkPart::has_address), ptr)); ^ /usr/include/c++/v1/__functional/binder2nd.h:44:1: note: 'bind2nd, void *>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from chunk_utils.cc:43: In file included from ./../../manager.h:42: In file included from ../../../rak/priority_queue_default.h:42: ../../../rak/priority_queue.h:84:46: warning: 'bind2nd, rak::priority_item *>' is deprecated [-Wdeprecated-declarations] return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); ^ ../../../rak/priority_queue_default.h:113:14: note: in instantiation of function template specialization 'rak::priority_queue, rak::cacheline_allocator>::find' requested here if (queue->find(item) != queue->end()) ^ /usr/include/c++/v1/__functional/binder2nd.h:44:1: note: 'bind2nd, rak::priority_item *>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ 8 warnings generated. c++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT chunk_utils.lo -MD -MP -MF .deps/chunk_utils.Tpo -c chunk_utils.cc -o chunk_utils.o In file included from chunk_utils.cc:43: In file included from ./../../manager.h:42: ../../../rak/priority_queue_default.h:56:7: warning: '~priority_item' has a non-throwing exception specification but can still throw [-Wexceptions] throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); ^ ../../../rak/priority_queue_default.h:54:3: note: destructor has a implicit non-throwing exception specification ~priority_item() { ^ In file included from chunk_utils.cc:46: In file included from ./../../download/download_wrapper.h:41: In file included from ./../../download/download_main.h:48: In file included from ./../../download/available_list.h:45: ./../../net/address_list.h:61:36: warning: 'unary_function' is deprecated [-Wdeprecated-declarations] struct add_address : public std::unary_function { ^ /usr/include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from chunk_utils.cc:46: In file included from ./../../download/download_wrapper.h:41: In file included from ./../../download/download_main.h:52: ./../../torrent/data/file_list.h:202:79: warning: 'mem_fun' is deprecated [-Wdeprecated-declarations] return std::find_if(file_list->begin(), file_list->end(), std::bind2nd(std::mem_fun(&File::is_valid_position), pos)); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:128:1: note: 'mem_fun' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from chunk_utils.cc:46: In file included from ./../../download/download_wrapper.h:41: In file included from ./../../download/download_main.h:52: ./../../torrent/data/file_list.h:202:66: warning: 'bind2nd, unsigned long long>' is deprecated [-Wdeprecated-declarations] return std::find_if(file_list->begin(), file_list->end(), std::bind2nd(std::mem_fun(&File::is_valid_position), pos)); ^ /usr/include/c++/v1/__functional/binder2nd.h:44:1: note: 'bind2nd, unsigned long long>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from chunk_utils.cc:46: In file included from ./../../download/download_wrapper.h:41: In file included from ./../../download/download_main.h:41: ../../../rak/functional.h:551:30: warning: 'binary_function' is deprecated [-Wdeprecated-declarations] class mem_fun2 : public std::binary_function { ^ ./../../download/download_main.h:201:29: note: in instantiation of template class 'rak::mem_fun2' requested here slot_start_handshake_type m_slotStartHandshake; ^ /usr/include/c++/v1/__functional/binary_function.h:24:29: note: 'binary_function' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 binary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from chunk_utils.cc:49: ./../../data/chunk.h:124:57: warning: 'mem_fun_ref' is deprecated [-Wdeprecated-declarations] return std::find_if(begin(), end(), std::bind2nd(std::mem_fun_ref(&ChunkPart::has_address), ptr)); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:164:1: note: 'mem_fun_ref' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from chunk_utils.cc:49: ./../../data/chunk.h:124:44: warning: 'bind2nd, void *>' is deprecated [-Wdeprecated-declarations] return std::find_if(begin(), end(), std::bind2nd(std::mem_fun_ref(&ChunkPart::has_address), ptr)); ^ /usr/include/c++/v1/__functional/binder2nd.h:44:1: note: 'bind2nd, void *>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from chunk_utils.cc:43: In file included from ./../../manager.h:42: In file included from ../../../rak/priority_queue_default.h:42: ../../../rak/priority_queue.h:84:46: warning: 'bind2nd, rak::priority_item *>' is deprecated [-Wdeprecated-declarations] return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); ^ ../../../rak/priority_queue_default.h:113:14: note: in instantiation of function template specialization 'rak::priority_queue, rak::cacheline_allocator>::find' requested here if (queue->find(item) != queue->end()) ^ /usr/include/c++/v1/__functional/binder2nd.h:44:1: note: 'bind2nd, rak::priority_item *>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ 8 warnings generated. mv -f .deps/chunk_utils.Tpo .deps/chunk_utils.Plo /usr/bin/libtool --tag=CXX --mode=compile c++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT download_data.lo -MD -MP -MF .deps/download_data.Tpo -c -o download_data.lo download_data.cc c++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT download_data.lo -MD -MP -MF .deps/download_data.Tpo -c download_data.cc -fPIC -DPIC -o .libs/download_data.o In file included from download_data.cc:41: In file included from ./download_data.h:45: In file included from ./../../torrent/utils/ranges.h:44: ../../../rak/functional.h:352:38: warning: 'unary_function &, const unsigned int &>' is deprecated [-Wdeprecated-declarations] struct const_mem_ref_t : public std::unary_function { ^ ./../../torrent/utils/ranges.h:161:56: note: in instantiation of template class 'rak::const_mem_ref_t, unsigned int>' requested here return std::find_if(begin(), end(), rak::less(index, rak::const_mem_ref(&value_type::second))); ^ ./../../torrent/utils/ranges.h:183:26: note: in instantiation of member function 'torrent::ranges::find' requested here const_iterator first = find(range.first); ^ ./../../torrent/utils/ranges.h:176:10: note: in instantiation of member function 'torrent::ranges::intersect_distance' requested here return intersect_distance(std::make_pair(first, last)); ^ download_data.cc:56:26: note: in instantiation of member function 'torrent::ranges::intersect_distance' requested here return wanted_ranges.intersect_distance(0, m_completed_bitfield.size_bits()); ^ /usr/include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function &, const unsigned int &>' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ 1 warning generated. c++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT download_data.lo -MD -MP -MF .deps/download_data.Tpo -c download_data.cc -o download_data.o In file included from download_data.cc:41: In file included from ./download_data.h:45: In file included from ./../../torrent/utils/ranges.h:44: ../../../rak/functional.h:352:38: warning: 'unary_function &, const unsigned int &>' is deprecated [-Wdeprecated-declarations] struct const_mem_ref_t : public std::unary_function { ^ ./../../torrent/utils/ranges.h:161:56: note: in instantiation of template class 'rak::const_mem_ref_t, unsigned int>' requested here return std::find_if(begin(), end(), rak::less(index, rak::const_mem_ref(&value_type::second))); ^ ./../../torrent/utils/ranges.h:183:26: note: in instantiation of member function 'torrent::ranges::find' requested here const_iterator first = find(range.first); ^ ./../../torrent/utils/ranges.h:176:10: note: in instantiation of member function 'torrent::ranges::intersect_distance' requested here return intersect_distance(std::make_pair(first, last)); ^ download_data.cc:56:26: note: in instantiation of member function 'torrent::ranges::intersect_distance' requested here return wanted_ranges.intersect_distance(0, m_completed_bitfield.size_bits()); ^ /usr/include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function &, const unsigned int &>' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ 1 warning generated. mv -f .deps/download_data.Tpo .deps/download_data.Plo /usr/bin/libtool --tag=CXX --mode=compile c++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT file.lo -MD -MP -MF .deps/file.Tpo -c -o file.lo file.cc c++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT file.lo -MD -MP -MF .deps/file.Tpo -c file.cc -fPIC -DPIC -o .libs/file.o In file included from file.cc:48: In file included from ./../../globals.h:41: ../../../rak/priority_queue_default.h:56:7: warning: '~priority_item' has a non-throwing exception specification but can still throw [-Wexceptions] throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); ^ ../../../rak/priority_queue_default.h:54:3: note: destructor has a implicit non-throwing exception specification ~priority_item() { ^ file.cc:80:5: warning: '~File' has a non-throwing exception specification but can still throw [-Wexceptions] throw internal_error("File::~File() called on an open file."); ^ file.cc:78:7: note: destructor has a implicit non-throwing exception specification File::~File() { ^ In file included from file.cc:48: In file included from ./../../globals.h:41: In file included from ../../../rak/priority_queue_default.h:42: ../../../rak/priority_queue.h:84:46: warning: 'bind2nd, rak::priority_item *>' is deprecated [-Wdeprecated-declarations] return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); ^ ../../../rak/priority_queue_default.h:113:14: note: in instantiation of function template specialization 'rak::priority_queue, rak::cacheline_allocator>::find' requested here if (queue->find(item) != queue->end()) ^ /usr/include/c++/v1/__functional/binder2nd.h:44:1: note: 'bind2nd, rak::priority_item *>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ 3 warnings generated. c++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT file.lo -MD -MP -MF .deps/file.Tpo -c file.cc -o file.o In file included from file.cc:48: In file included from ./../../globals.h:41: ../../../rak/priority_queue_default.h:56:7: warning: '~priority_item' has a non-throwing exception specification but can still throw [-Wexceptions] throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); ^ ../../../rak/priority_queue_default.h:54:3: note: destructor has a implicit non-throwing exception specification ~priority_item() { ^ file.cc:80:5: warning: '~File' has a non-throwing exception specification but can still throw [-Wexceptions] throw internal_error("File::~File() called on an open file."); ^ file.cc:78:7: note: destructor has a implicit non-throwing exception specification File::~File() { ^ In file included from file.cc:48: In file included from ./../../globals.h:41: In file included from ../../../rak/priority_queue_default.h:42: ../../../rak/priority_queue.h:84:46: warning: 'bind2nd, rak::priority_item *>' is deprecated [-Wdeprecated-declarations] return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); ^ ../../../rak/priority_queue_default.h:113:14: note: in instantiation of function template specialization 'rak::priority_queue, rak::cacheline_allocator>::find' requested here if (queue->find(item) != queue->end()) ^ /usr/include/c++/v1/__functional/binder2nd.h:44:1: note: 'bind2nd, rak::priority_item *>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ 3 warnings generated. mv -f .deps/file.Tpo .deps/file.Plo /usr/bin/libtool --tag=CXX --mode=compile c++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT file_list.lo -MD -MP -MF .deps/file_list.Tpo -c -o file_list.lo file_list.cc c++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT file_list.lo -MD -MP -MF .deps/file_list.Tpo -c file_list.cc -fPIC -DPIC -o .libs/file_list.o In file included from file_list.cc:52: ./../../data/chunk.h:124:57: warning: 'mem_fun_ref' is deprecated [-Wdeprecated-declarations] return std::find_if(begin(), end(), std::bind2nd(std::mem_fun_ref(&ChunkPart::has_address), ptr)); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:164:1: note: 'mem_fun_ref' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from file_list.cc:52: ./../../data/chunk.h:124:44: warning: 'bind2nd, void *>' is deprecated [-Wdeprecated-declarations] return std::find_if(begin(), end(), std::bind2nd(std::mem_fun_ref(&ChunkPart::has_address), ptr)); ^ /usr/include/c++/v1/__functional/binder2nd.h:44:1: note: 'bind2nd, void *>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from file_list.cc:61: ./file_list.h:202:79: warning: 'mem_fun' is deprecated [-Wdeprecated-declarations] return std::find_if(file_list->begin(), file_list->end(), std::bind2nd(std::mem_fun(&File::is_valid_position), pos)); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:128:1: note: 'mem_fun' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from file_list.cc:61: ./file_list.h:202:66: warning: 'bind2nd, unsigned long long>' is deprecated [-Wdeprecated-declarations] return std::find_if(file_list->begin(), file_list->end(), std::bind2nd(std::mem_fun(&File::is_valid_position), pos)); ^ /usr/include/c++/v1/__functional/binder2nd.h:44:1: note: 'bind2nd, unsigned long long>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from file_list.cc:63: In file included from ./../../manager.h:42: ../../../rak/priority_queue_default.h:56:7: warning: '~priority_item' has a non-throwing exception specification but can still throw [-Wexceptions] throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); ^ ../../../rak/priority_queue_default.h:54:3: note: destructor has a implicit non-throwing exception specification ~priority_item() { ^ In file included from file_list.cc:50: ../../../rak/functional.h:395:34: warning: 'unary_function' is deprecated [-Wdeprecated-declarations] struct call_delete : public std::unary_function { ^ file_list.cc:97:33: note: in instantiation of template class 'rak::call_delete' requested here std::for_each(begin(), end(), rak::call_delete()); ^ /usr/include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ file_list.cc:607:8: warning: 'auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr chunk(new Chunk); ^ /usr/include/c++/v1/__memory/auto_ptr.h:30:28: note: 'auto_ptr' has been explicitly marked deprecated here class _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 auto_ptr ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ file_list.cc:609:70: warning: 'mem_fun' is deprecated [-Wdeprecated-declarations] for (iterator itr = std::find_if(begin(), end(), std::bind2nd(std::mem_fun(&File::is_valid_position), offset)); length != 0; ++itr) { ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:128:1: note: 'mem_fun' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ file_list.cc:609:57: warning: 'bind2nd, unsigned long long>' is deprecated [-Wdeprecated-declarations] for (iterator itr = std::find_if(begin(), end(), std::bind2nd(std::mem_fun(&File::is_valid_position), offset)); length != 0; ++itr) { ^ /usr/include/c++/v1/__functional/binder2nd.h:44:1: note: 'bind2nd, unsigned long long>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ file_list.cc:679:74: warning: 'mem_fun' is deprecated [-Wdeprecated-declarations] firstItr = std::find_if(firstItr, end(), rak::less(index, std::mem_fun(&File::range_second))); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:122:1: note: 'mem_fun' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ file_list.cc:680:78: warning: 'mem_fun' is deprecated [-Wdeprecated-declarations] iterator lastItr = std::find_if(firstItr, end(), rak::less(index + 1, std::mem_fun(&File::range_second))); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:122:1: note: 'mem_fun' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ file_list.cc:688:22: warning: 'mem_fun' is deprecated [-Wdeprecated-declarations] std::mem_fun(&File::inc_completed_protected)); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:50:1: note: 'mem_fun' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from file_list.cc:63: In file included from ./../../manager.h:42: In file included from ../../../rak/priority_queue_default.h:42: ../../../rak/priority_queue.h:84:46: warning: 'bind2nd, rak::priority_item *>' is deprecated [-Wdeprecated-declarations] return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); ^ ../../../rak/priority_queue_default.h:113:14: note: in instantiation of function template specialization 'rak::priority_queue, rak::cacheline_allocator>::find' requested here if (queue->find(item) != queue->end()) ^ /usr/include/c++/v1/__functional/binder2nd.h:44:1: note: 'bind2nd, rak::priority_item *>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from file_list.cc:50: ../../../rak/functional.h:352:38: warning: 'unary_function &, const unsigned int &>' is deprecated [-Wdeprecated-declarations] struct const_mem_ref_t : public std::unary_function { ^ ./../../torrent/utils/ranges.h:97:74: note: in instantiation of template class 'rak::const_mem_ref_t, unsigned int>' requested here iterator first = std::find_if(begin(), end(), rak::less_equal(r.first, rak::const_mem_ref(&value_type::second))); ^ ./../../torrent/utils/ranges.h:72:67: note: in instantiation of member function 'torrent::ranges::insert' requested here void insert(bound_type first, bound_type last) { insert(std::make_pair(first, last)); } ^ file_list.cc:383:37: note: in instantiation of member function 'torrent::ranges::insert' requested here m_data.mutable_normal_priority()->insert(0, size_chunks()); ^ /usr/include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function &, const unsigned int &>' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ 14 warnings generated. c++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT file_list.lo -MD -MP -MF .deps/file_list.Tpo -c file_list.cc -o file_list.o In file included from file_list.cc:52: ./../../data/chunk.h:124:57: warning: 'mem_fun_ref' is deprecated [-Wdeprecated-declarations] return std::find_if(begin(), end(), std::bind2nd(std::mem_fun_ref(&ChunkPart::has_address), ptr)); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:164:1: note: 'mem_fun_ref' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from file_list.cc:52: ./../../data/chunk.h:124:44: warning: 'bind2nd, void *>' is deprecated [-Wdeprecated-declarations] return std::find_if(begin(), end(), std::bind2nd(std::mem_fun_ref(&ChunkPart::has_address), ptr)); ^ /usr/include/c++/v1/__functional/binder2nd.h:44:1: note: 'bind2nd, void *>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from file_list.cc:61: ./file_list.h:202:79: warning: 'mem_fun' is deprecated [-Wdeprecated-declarations] return std::find_if(file_list->begin(), file_list->end(), std::bind2nd(std::mem_fun(&File::is_valid_position), pos)); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:128:1: note: 'mem_fun' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from file_list.cc:61: ./file_list.h:202:66: warning: 'bind2nd, unsigned long long>' is deprecated [-Wdeprecated-declarations] return std::find_if(file_list->begin(), file_list->end(), std::bind2nd(std::mem_fun(&File::is_valid_position), pos)); ^ /usr/include/c++/v1/__functional/binder2nd.h:44:1: note: 'bind2nd, unsigned long long>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from file_list.cc:63: In file included from ./../../manager.h:42: ../../../rak/priority_queue_default.h:56:7: warning: '~priority_item' has a non-throwing exception specification but can still throw [-Wexceptions] throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); ^ ../../../rak/priority_queue_default.h:54:3: note: destructor has a implicit non-throwing exception specification ~priority_item() { ^ In file included from file_list.cc:50: ../../../rak/functional.h:395:34: warning: 'unary_function' is deprecated [-Wdeprecated-declarations] struct call_delete : public std::unary_function { ^ file_list.cc:97:33: note: in instantiation of template class 'rak::call_delete' requested here std::for_each(begin(), end(), rak::call_delete()); ^ /usr/include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ file_list.cc:607:8: warning: 'auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr chunk(new Chunk); ^ /usr/include/c++/v1/__memory/auto_ptr.h:30:28: note: 'auto_ptr' has been explicitly marked deprecated here class _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 auto_ptr ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ file_list.cc:609:70: warning: 'mem_fun' is deprecated [-Wdeprecated-declarations] for (iterator itr = std::find_if(begin(), end(), std::bind2nd(std::mem_fun(&File::is_valid_position), offset)); length != 0; ++itr) { ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:128:1: note: 'mem_fun' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ file_list.cc:609:57: warning: 'bind2nd, unsigned long long>' is deprecated [-Wdeprecated-declarations] for (iterator itr = std::find_if(begin(), end(), std::bind2nd(std::mem_fun(&File::is_valid_position), offset)); length != 0; ++itr) { ^ /usr/include/c++/v1/__functional/binder2nd.h:44:1: note: 'bind2nd, unsigned long long>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ file_list.cc:679:74: warning: 'mem_fun' is deprecated [-Wdeprecated-declarations] firstItr = std::find_if(firstItr, end(), rak::less(index, std::mem_fun(&File::range_second))); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:122:1: note: 'mem_fun' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ file_list.cc:680:78: warning: 'mem_fun' is deprecated [-Wdeprecated-declarations] iterator lastItr = std::find_if(firstItr, end(), rak::less(index + 1, std::mem_fun(&File::range_second))); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:122:1: note: 'mem_fun' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ file_list.cc:688:22: warning: 'mem_fun' is deprecated [-Wdeprecated-declarations] std::mem_fun(&File::inc_completed_protected)); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:50:1: note: 'mem_fun' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from file_list.cc:63: In file included from ./../../manager.h:42: In file included from ../../../rak/priority_queue_default.h:42: ../../../rak/priority_queue.h:84:46: warning: 'bind2nd, rak::priority_item *>' is deprecated [-Wdeprecated-declarations] return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); ^ ../../../rak/priority_queue_default.h:113:14: note: in instantiation of function template specialization 'rak::priority_queue, rak::cacheline_allocator>::find' requested here if (queue->find(item) != queue->end()) ^ /usr/include/c++/v1/__functional/binder2nd.h:44:1: note: 'bind2nd, rak::priority_item *>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from file_list.cc:50: ../../../rak/functional.h:352:38: warning: 'unary_function &, const unsigned int &>' is deprecated [-Wdeprecated-declarations] struct const_mem_ref_t : public std::unary_function { ^ ./../../torrent/utils/ranges.h:97:74: note: in instantiation of template class 'rak::const_mem_ref_t, unsigned int>' requested here iterator first = std::find_if(begin(), end(), rak::less_equal(r.first, rak::const_mem_ref(&value_type::second))); ^ ./../../torrent/utils/ranges.h:72:67: note: in instantiation of member function 'torrent::ranges::insert' requested here void insert(bound_type first, bound_type last) { insert(std::make_pair(first, last)); } ^ file_list.cc:383:37: note: in instantiation of member function 'torrent::ranges::insert' requested here m_data.mutable_normal_priority()->insert(0, size_chunks()); ^ /usr/include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function &, const unsigned int &>' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ 14 warnings generated. mv -f .deps/file_list.Tpo .deps/file_list.Plo /usr/bin/libtool --tag=CXX --mode=compile c++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT file_list_iterator.lo -MD -MP -MF .deps/file_list_iterator.Tpo -c -o file_list_iterator.lo file_list_iterator.cc c++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT file_list_iterator.lo -MD -MP -MF .deps/file_list_iterator.Tpo -c file_list_iterator.cc -fPIC -DPIC -o .libs/file_list_iterator.o In file included from file_list_iterator.cc:42: In file included from ./file_list_iterator.h:42: ./../../torrent/data/file_list.h:202:79: warning: 'mem_fun' is deprecated [-Wdeprecated-declarations] return std::find_if(file_list->begin(), file_list->end(), std::bind2nd(std::mem_fun(&File::is_valid_position), pos)); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:128:1: note: 'mem_fun' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from file_list_iterator.cc:42: In file included from ./file_list_iterator.h:42: ./../../torrent/data/file_list.h:202:66: warning: 'bind2nd, unsigned long long>' is deprecated [-Wdeprecated-declarations] return std::find_if(file_list->begin(), file_list->end(), std::bind2nd(std::mem_fun(&File::is_valid_position), pos)); ^ /usr/include/c++/v1/__functional/binder2nd.h:44:1: note: 'bind2nd, unsigned long long>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ 2 warnings generated. c++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT file_list_iterator.lo -MD -MP -MF .deps/file_list_iterator.Tpo -c file_list_iterator.cc -o file_list_iterator.o In file included from file_list_iterator.cc:42: In file included from ./file_list_iterator.h:42: ./../../torrent/data/file_list.h:202:79: warning: 'mem_fun' is deprecated [-Wdeprecated-declarations] return std::find_if(file_list->begin(), file_list->end(), std::bind2nd(std::mem_fun(&File::is_valid_position), pos)); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:128:1: note: 'mem_fun' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from file_list_iterator.cc:42: In file included from ./file_list_iterator.h:42: ./../../torrent/data/file_list.h:202:66: warning: 'bind2nd, unsigned long long>' is deprecated [-Wdeprecated-declarations] return std::find_if(file_list->begin(), file_list->end(), std::bind2nd(std::mem_fun(&File::is_valid_position), pos)); ^ /usr/include/c++/v1/__functional/binder2nd.h:44:1: note: 'bind2nd, unsigned long long>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ 2 warnings generated. mv -f .deps/file_list_iterator.Tpo .deps/file_list_iterator.Plo /usr/bin/libtool --tag=CXX --mode=compile c++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT file_manager.lo -MD -MP -MF .deps/file_manager.Tpo -c -o file_manager.lo file_manager.cc c++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT file_manager.lo -MD -MP -MF .deps/file_manager.Tpo -c file_manager.cc -fPIC -DPIC -o .libs/file_manager.o In file included from file_manager.cc:46: In file included from ./../../manager.h:42: ../../../rak/priority_queue_default.h:56:7: warning: '~priority_item' has a non-throwing exception specification but can still throw [-Wexceptions] throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); ^ ../../../rak/priority_queue_default.h:54:3: note: destructor has a implicit non-throwing exception specification ~priority_item() { ^ file_manager.cc:58:5: warning: '~FileManager' has a non-throwing exception specification but can still throw [-Wexceptions] throw internal_error("FileManager::~FileManager() called but empty() != true."); ^ file_manager.cc:56:14: note: destructor has a implicit non-throwing exception specification FileManager::~FileManager() { ^ In file included from file_manager.cc:46: In file included from ./../../manager.h:42: In file included from ../../../rak/priority_queue_default.h:42: ../../../rak/priority_queue.h:84:46: warning: 'bind2nd, rak::priority_item *>' is deprecated [-Wdeprecated-declarations] return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); ^ ../../../rak/priority_queue_default.h:113:14: note: in instantiation of function template specialization 'rak::priority_queue, rak::cacheline_allocator>::find' requested here if (queue->find(item) != queue->end()) ^ /usr/include/c++/v1/__functional/binder2nd.h:44:1: note: 'bind2nd, rak::priority_item *>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ 3 warnings generated. c++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT file_manager.lo -MD -MP -MF .deps/file_manager.Tpo -c file_manager.cc -o file_manager.o In file included from file_manager.cc:46: In file included from ./../../manager.h:42: ../../../rak/priority_queue_default.h:56:7: warning: '~priority_item' has a non-throwing exception specification but can still throw [-Wexceptions] throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); ^ ../../../rak/priority_queue_default.h:54:3: note: destructor has a implicit non-throwing exception specification ~priority_item() { ^ file_manager.cc:58:5: warning: '~FileManager' has a non-throwing exception specification but can still throw [-Wexceptions] throw internal_error("FileManager::~FileManager() called but empty() != true."); ^ file_manager.cc:56:14: note: destructor has a implicit non-throwing exception specification FileManager::~FileManager() { ^ In file included from file_manager.cc:46: In file included from ./../../manager.h:42: In file included from ../../../rak/priority_queue_default.h:42: ../../../rak/priority_queue.h:84:46: warning: 'bind2nd, rak::priority_item *>' is deprecated [-Wdeprecated-declarations] return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); ^ ../../../rak/priority_queue_default.h:113:14: note: in instantiation of function template specialization 'rak::priority_queue, rak::cacheline_allocator>::find' requested here if (queue->find(item) != queue->end()) ^ /usr/include/c++/v1/__functional/binder2nd.h:44:1: note: 'bind2nd, rak::priority_item *>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ 3 warnings generated. mv -f .deps/file_manager.Tpo .deps/file_manager.Plo /usr/bin/libtool --tag=CXX --mode=compile c++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT file_utils.lo -MD -MP -MF .deps/file_utils.Tpo -c -o file_utils.lo file_utils.cc c++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT file_utils.lo -MD -MP -MF .deps/file_utils.Tpo -c file_utils.cc -fPIC -DPIC -o .libs/file_utils.o In file included from file_utils.cc:43: In file included from ./file_utils.h:41: ./../../torrent/data/file_list.h:202:79: warning: 'mem_fun' is deprecated [-Wdeprecated-declarations] return std::find_if(file_list->begin(), file_list->end(), std::bind2nd(std::mem_fun(&File::is_valid_position), pos)); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:128:1: note: 'mem_fun' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from file_utils.cc:43: In file included from ./file_utils.h:41: ./../../torrent/data/file_list.h:202:66: warning: 'bind2nd, unsigned long long>' is deprecated [-Wdeprecated-declarations] return std::find_if(file_list->begin(), file_list->end(), std::bind2nd(std::mem_fun(&File::is_valid_position), pos)); ^ /usr/include/c++/v1/__functional/binder2nd.h:44:1: note: 'bind2nd, unsigned long long>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ 2 warnings generated. c++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT file_utils.lo -MD -MP -MF .deps/file_utils.Tpo -c file_utils.cc -o file_utils.o In file included from file_utils.cc:43: In file included from ./file_utils.h:41: ./../../torrent/data/file_list.h:202:79: warning: 'mem_fun' is deprecated [-Wdeprecated-declarations] return std::find_if(file_list->begin(), file_list->end(), std::bind2nd(std::mem_fun(&File::is_valid_position), pos)); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:128:1: note: 'mem_fun' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from file_utils.cc:43: In file included from ./file_utils.h:41: ./../../torrent/data/file_list.h:202:66: warning: 'bind2nd, unsigned long long>' is deprecated [-Wdeprecated-declarations] return std::find_if(file_list->begin(), file_list->end(), std::bind2nd(std::mem_fun(&File::is_valid_position), pos)); ^ /usr/include/c++/v1/__functional/binder2nd.h:44:1: note: 'bind2nd, unsigned long long>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ 2 warnings generated. mv -f .deps/file_utils.Tpo .deps/file_utils.Plo /usr/bin/libtool --tag=CXX --mode=compile c++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT transfer_list.lo -MD -MP -MF .deps/transfer_list.Tpo -c -o transfer_list.lo transfer_list.cc c++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT transfer_list.lo -MD -MP -MF .deps/transfer_list.Tpo -c transfer_list.cc -fPIC -DPIC -o .libs/transfer_list.o In file included from transfer_list.cc:45: ./../../data/chunk.h:124:57: warning: 'mem_fun_ref' is deprecated [-Wdeprecated-declarations] return std::find_if(begin(), end(), std::bind2nd(std::mem_fun_ref(&ChunkPart::has_address), ptr)); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:164:1: note: 'mem_fun_ref' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from transfer_list.cc:45: ./../../data/chunk.h:124:44: warning: 'bind2nd, void *>' is deprecated [-Wdeprecated-declarations] return std::find_if(begin(), end(), std::bind2nd(std::mem_fun_ref(&ChunkPart::has_address), ptr)); ^ /usr/include/c++/v1/__functional/binder2nd.h:44:1: note: 'bind2nd, void *>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from transfer_list.cc:48: ./block_failed.h:96:38: warning: 'ptr_fun &, void>' is deprecated [-Wdeprecated-declarations] std::for_each(begin(), end(), std::ptr_fun(&BlockFailed::delete_entry)); ^ /usr/include/c++/v1/__functional/pointer_to_unary_function.h:37:1: note: 'ptr_fun &, void>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from transfer_list.cc:48: ./block_failed.h:101:48: warning: 'ptr_fun &, std::pair &, bool>' is deprecated [-Wdeprecated-declarations] return std::max_element(begin(), end(), std::ptr_fun(&BlockFailed::compare_entries)); ^ /usr/include/c++/v1/__functional/pointer_to_binary_function.h:37:1: note: 'ptr_fun &, std::pair &, bool>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from transfer_list.cc:48: ./block_failed.h:106:50: warning: 'ptr_fun &, std::pair &, bool>' is deprecated [-Wdeprecated-declarations] return std::max_element(rbegin(), rend(), std::ptr_fun(&BlockFailed::compare_entries)); ^ /usr/include/c++/v1/__functional/pointer_to_binary_function.h:37:1: note: 'ptr_fun &, std::pair &, bool>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from transfer_list.cc:49: ./block_transfer.h:132:5: warning: '~BlockTransfer' has a non-throwing exception specification but can still throw [-Wexceptions] throw internal_error("BlockTransfer::~BlockTransfer() peer_info not NULL"); ^ ./block_transfer.h:127:16: note: destructor has a implicit non-throwing exception specification BlockTransfer::~BlockTransfer() { ^ ./block_transfer.h:129:5: warning: '~BlockTransfer' has a non-throwing exception specification but can still throw [-Wexceptions] throw internal_error("BlockTransfer::~BlockTransfer() block not NULL"); ^ ./block_transfer.h:127:16: note: destructor has a implicit non-throwing exception specification BlockTransfer::~BlockTransfer() { ^ transfer_list.cc:66:5: warning: '~TransferList' has a non-throwing exception specification but can still throw [-Wexceptions] throw internal_error("TransferList::~TransferList() called on an non-empty object"); ^ transfer_list.cc:64:15: note: destructor has a implicit non-throwing exception specification TransferList::~TransferList() { ^ transfer_list.cc:71:62: warning: 'mem_fun' is deprecated [-Wdeprecated-declarations] return std::find_if(begin(), end(), rak::equal(index, std::mem_fun(&BlockList::index))); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:122:1: note: 'mem_fun' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ transfer_list.cc:76:62: warning: 'mem_fun' is deprecated [-Wdeprecated-declarations] return std::find_if(begin(), end(), rak::equal(index, std::mem_fun(&BlockList::index))); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:122:1: note: 'mem_fun' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from transfer_list.cc:42: ../../../rak/functional.h:395:34: warning: 'unary_function' is deprecated [-Wdeprecated-declarations] struct call_delete : public std::unary_function { ^ transfer_list.cc:82:33: note: in instantiation of template class 'rak::call_delete' requested here std::for_each(begin(), end(), rak::call_delete()); ^ /usr/include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ transfer_list.cc:128:44: warning: 'mem_fun_ref' is deprecated [-Wdeprecated-declarations] std::mem_fun_ref(&Block::is_finished)) != (*blockListItr)->size()) ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:158:1: note: 'mem_fun_ref' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from transfer_list.cc:42: ../../../rak/functional.h:341:32: warning: 'unary_function &, long long &>' is deprecated [-Wdeprecated-declarations] struct mem_ref_t : public std::unary_function { ^ transfer_list.cc:151:70: note: in instantiation of template class 'rak::mem_ref_t, long long>' requested here rak::mem_ref(&completed_list_type::value_type::first))); ^ /usr/include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function &, long long &>' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ transfer_list.cc:177:94: warning: 'mem_fun_ref' is deprecated [-Wdeprecated-declarations] if ((Block::size_type)std::count_if((*blockListItr)->begin(), (*blockListItr)->end(), std::mem_fun_ref(&Block::is_finished)) != (*blockListItr)->size()) ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:158:1: note: 'mem_fun_ref' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ 14 warnings generated. c++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT transfer_list.lo -MD -MP -MF .deps/transfer_list.Tpo -c transfer_list.cc -o transfer_list.o In file included from transfer_list.cc:45: ./../../data/chunk.h:124:57: warning: 'mem_fun_ref' is deprecated [-Wdeprecated-declarations] return std::find_if(begin(), end(), std::bind2nd(std::mem_fun_ref(&ChunkPart::has_address), ptr)); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:164:1: note: 'mem_fun_ref' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from transfer_list.cc:45: ./../../data/chunk.h:124:44: warning: 'bind2nd, void *>' is deprecated [-Wdeprecated-declarations] return std::find_if(begin(), end(), std::bind2nd(std::mem_fun_ref(&ChunkPart::has_address), ptr)); ^ /usr/include/c++/v1/__functional/binder2nd.h:44:1: note: 'bind2nd, void *>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from transfer_list.cc:48: ./block_failed.h:96:38: warning: 'ptr_fun &, void>' is deprecated [-Wdeprecated-declarations] std::for_each(begin(), end(), std::ptr_fun(&BlockFailed::delete_entry)); ^ /usr/include/c++/v1/__functional/pointer_to_unary_function.h:37:1: note: 'ptr_fun &, void>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from transfer_list.cc:48: ./block_failed.h:101:48: warning: 'ptr_fun &, std::pair &, bool>' is deprecated [-Wdeprecated-declarations] return std::max_element(begin(), end(), std::ptr_fun(&BlockFailed::compare_entries)); ^ /usr/include/c++/v1/__functional/pointer_to_binary_function.h:37:1: note: 'ptr_fun &, std::pair &, bool>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from transfer_list.cc:48: ./block_failed.h:106:50: warning: 'ptr_fun &, std::pair &, bool>' is deprecated [-Wdeprecated-declarations] return std::max_element(rbegin(), rend(), std::ptr_fun(&BlockFailed::compare_entries)); ^ /usr/include/c++/v1/__functional/pointer_to_binary_function.h:37:1: note: 'ptr_fun &, std::pair &, bool>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from transfer_list.cc:49: ./block_transfer.h:132:5: warning: '~BlockTransfer' has a non-throwing exception specification but can still throw [-Wexceptions] throw internal_error("BlockTransfer::~BlockTransfer() peer_info not NULL"); ^ ./block_transfer.h:127:16: note: destructor has a implicit non-throwing exception specification BlockTransfer::~BlockTransfer() { ^ ./block_transfer.h:129:5: warning: '~BlockTransfer' has a non-throwing exception specification but can still throw [-Wexceptions] throw internal_error("BlockTransfer::~BlockTransfer() block not NULL"); ^ ./block_transfer.h:127:16: note: destructor has a implicit non-throwing exception specification BlockTransfer::~BlockTransfer() { ^ transfer_list.cc:66:5: warning: '~TransferList' has a non-throwing exception specification but can still throw [-Wexceptions] throw internal_error("TransferList::~TransferList() called on an non-empty object"); ^ transfer_list.cc:64:15: note: destructor has a implicit non-throwing exception specification TransferList::~TransferList() { ^ transfer_list.cc:71:62: warning: 'mem_fun' is deprecated [-Wdeprecated-declarations] return std::find_if(begin(), end(), rak::equal(index, std::mem_fun(&BlockList::index))); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:122:1: note: 'mem_fun' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ transfer_list.cc:76:62: warning: 'mem_fun' is deprecated [-Wdeprecated-declarations] return std::find_if(begin(), end(), rak::equal(index, std::mem_fun(&BlockList::index))); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:122:1: note: 'mem_fun' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from transfer_list.cc:42: ../../../rak/functional.h:395:34: warning: 'unary_function' is deprecated [-Wdeprecated-declarations] struct call_delete : public std::unary_function { ^ transfer_list.cc:82:33: note: in instantiation of template class 'rak::call_delete' requested here std::for_each(begin(), end(), rak::call_delete()); ^ /usr/include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ transfer_list.cc:128:44: warning: 'mem_fun_ref' is deprecated [-Wdeprecated-declarations] std::mem_fun_ref(&Block::is_finished)) != (*blockListItr)->size()) ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:158:1: note: 'mem_fun_ref' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from transfer_list.cc:42: ../../../rak/functional.h:341:32: warning: 'unary_function &, long long &>' is deprecated [-Wdeprecated-declarations] struct mem_ref_t : public std::unary_function { ^ transfer_list.cc:151:70: note: in instantiation of template class 'rak::mem_ref_t, long long>' requested here rak::mem_ref(&completed_list_type::value_type::first))); ^ /usr/include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function &, long long &>' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ transfer_list.cc:177:94: warning: 'mem_fun_ref' is deprecated [-Wdeprecated-declarations] if ((Block::size_type)std::count_if((*blockListItr)->begin(), (*blockListItr)->end(), std::mem_fun_ref(&Block::is_finished)) != (*blockListItr)->size()) ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:158:1: note: 'mem_fun_ref' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ 14 warnings generated. mv -f .deps/transfer_list.Tpo .deps/transfer_list.Plo /usr/bin/libtool --tag=CXX --mode=link c++ -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -L/usr/lib -L/usr/lib -o libsub_torrentdata.la block.lo block_list.lo chunk_utils.lo download_data.lo file.lo file_list.lo file_list_iterator.lo file_manager.lo file_utils.lo transfer_list.lo -lz -lcrypto libtool: link: ar cru .libs/libsub_torrentdata.a .libs/block.o .libs/block_list.o .libs/chunk_utils.o .libs/download_data.o .libs/file.o .libs/file_list.o .libs/file_list_iterator.o .libs/file_manager.o .libs/file_utils.o .libs/transfer_list.o libtool: link: ranlib .libs/libsub_torrentdata.a Making all in download /usr/bin/libtool --tag=CXX --mode=compile c++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT choke_group.lo -MD -MP -MF .deps/choke_group.Tpo -c -o choke_group.lo choke_group.cc c++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT choke_group.lo -MD -MP -MF .deps/choke_group.Tpo -c choke_group.cc -fPIC -DPIC -o .libs/choke_group.o In file included from choke_group.cc:49: In file included from ./../../download/download_main.h:43: In file included from ./../../globals.h:41: ../../../rak/priority_queue_default.h:56:7: warning: '~priority_item' has a non-throwing exception specification but can still throw [-Wexceptions] throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); ^ ../../../rak/priority_queue_default.h:54:3: note: destructor has a implicit non-throwing exception specification ~priority_item() { ^ In file included from choke_group.cc:49: In file included from ./../../download/download_main.h:48: In file included from ./../../download/available_list.h:45: ./../../net/address_list.h:61:36: warning: 'unary_function' is deprecated [-Wdeprecated-declarations] struct add_address : public std::unary_function { ^ /usr/include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from choke_group.cc:49: In file included from ./../../download/download_main.h:52: ./../../torrent/data/file_list.h:202:79: warning: 'mem_fun' is deprecated [-Wdeprecated-declarations] return std::find_if(file_list->begin(), file_list->end(), std::bind2nd(std::mem_fun(&File::is_valid_position), pos)); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:128:1: note: 'mem_fun' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from choke_group.cc:49: In file included from ./../../download/download_main.h:52: ./../../torrent/data/file_list.h:202:66: warning: 'bind2nd, unsigned long long>' is deprecated [-Wdeprecated-declarations] return std::find_if(file_list->begin(), file_list->end(), std::bind2nd(std::mem_fun(&File::is_valid_position), pos)); ^ /usr/include/c++/v1/__functional/binder2nd.h:44:1: note: 'bind2nd, unsigned long long>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from choke_group.cc:49: In file included from ./../../download/download_main.h:41: ../../../rak/functional.h:551:30: warning: 'binary_function' is deprecated [-Wdeprecated-declarations] class mem_fun2 : public std::binary_function { ^ ./../../download/download_main.h:201:29: note: in instantiation of template class 'rak::mem_fun2' requested here slot_start_handshake_type m_slotStartHandshake; ^ /usr/include/c++/v1/__functional/binary_function.h:24:29: note: 'binary_function' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 binary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from choke_group.cc:49: In file included from ./../../download/download_main.h:43: In file included from ./../../globals.h:41: In file included from ../../../rak/priority_queue_default.h:42: ../../../rak/priority_queue.h:84:46: warning: 'bind2nd, rak::priority_item *>' is deprecated [-Wdeprecated-declarations] return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); ^ ../../../rak/priority_queue_default.h:113:14: note: in instantiation of function template specialization 'rak::priority_queue, rak::cacheline_allocator>::find' requested here if (queue->find(item) != queue->end()) ^ /usr/include/c++/v1/__functional/binder2nd.h:44:1: note: 'bind2nd, rak::priority_item *>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ 6 warnings generated. c++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT choke_group.lo -MD -MP -MF .deps/choke_group.Tpo -c choke_group.cc -o choke_group.o In file included from choke_group.cc:49: In file included from ./../../download/download_main.h:43: In file included from ./../../globals.h:41: ../../../rak/priority_queue_default.h:56:7: warning: '~priority_item' has a non-throwing exception specification but can still throw [-Wexceptions] throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); ^ ../../../rak/priority_queue_default.h:54:3: note: destructor has a implicit non-throwing exception specification ~priority_item() { ^ In file included from choke_group.cc:49: In file included from ./../../download/download_main.h:48: In file included from ./../../download/available_list.h:45: ./../../net/address_list.h:61:36: warning: 'unary_function' is deprecated [-Wdeprecated-declarations] struct add_address : public std::unary_function { ^ /usr/include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from choke_group.cc:49: In file included from ./../../download/download_main.h:52: ./../../torrent/data/file_list.h:202:79: warning: 'mem_fun' is deprecated [-Wdeprecated-declarations] return std::find_if(file_list->begin(), file_list->end(), std::bind2nd(std::mem_fun(&File::is_valid_position), pos)); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:128:1: note: 'mem_fun' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from choke_group.cc:49: In file included from ./../../download/download_main.h:52: ./../../torrent/data/file_list.h:202:66: warning: 'bind2nd, unsigned long long>' is deprecated [-Wdeprecated-declarations] return std::find_if(file_list->begin(), file_list->end(), std::bind2nd(std::mem_fun(&File::is_valid_position), pos)); ^ /usr/include/c++/v1/__functional/binder2nd.h:44:1: note: 'bind2nd, unsigned long long>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from choke_group.cc:49: In file included from ./../../download/download_main.h:41: ../../../rak/functional.h:551:30: warning: 'binary_function' is deprecated [-Wdeprecated-declarations] class mem_fun2 : public std::binary_function { ^ ./../../download/download_main.h:201:29: note: in instantiation of template class 'rak::mem_fun2' requested here slot_start_handshake_type m_slotStartHandshake; ^ /usr/include/c++/v1/__functional/binary_function.h:24:29: note: 'binary_function' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 binary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from choke_group.cc:49: In file included from ./../../download/download_main.h:43: In file included from ./../../globals.h:41: In file included from ../../../rak/priority_queue_default.h:42: ../../../rak/priority_queue.h:84:46: warning: 'bind2nd, rak::priority_item *>' is deprecated [-Wdeprecated-declarations] return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); ^ ../../../rak/priority_queue_default.h:113:14: note: in instantiation of function template specialization 'rak::priority_queue, rak::cacheline_allocator>::find' requested here if (queue->find(item) != queue->end()) ^ /usr/include/c++/v1/__functional/binder2nd.h:44:1: note: 'bind2nd, rak::priority_item *>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ 6 warnings generated. mv -f .deps/choke_group.Tpo .deps/choke_group.Plo /usr/bin/libtool --tag=CXX --mode=compile c++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT choke_queue.lo -MD -MP -MF .deps/choke_queue.Tpo -c -o choke_queue.lo choke_queue.cc c++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT choke_queue.lo -MD -MP -MF .deps/choke_queue.Tpo -c choke_queue.cc -fPIC -DPIC -o .libs/choke_queue.o In file included from choke_queue.cc:46: In file included from ./../../protocol/peer_connection_base.h:47: In file included from ./../../protocol/extensions.h:48: ./../../net/address_list.h:61:36: warning: 'unary_function' is deprecated [-Wdeprecated-declarations] struct add_address : public std::unary_function { ^ /usr/include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from choke_queue.cc:46: In file included from ./../../protocol/peer_connection_base.h:50: In file included from ./../../protocol/request_list.h:42: ./../../torrent/data/block_transfer.h:132:5: warning: '~BlockTransfer' has a non-throwing exception specification but can still throw [-Wexceptions] throw internal_error("BlockTransfer::~BlockTransfer() peer_info not NULL"); ^ ./../../torrent/data/block_transfer.h:127:16: note: destructor has a implicit non-throwing exception specification BlockTransfer::~BlockTransfer() { ^ ./../../torrent/data/block_transfer.h:129:5: warning: '~BlockTransfer' has a non-throwing exception specification but can still throw [-Wexceptions] throw internal_error("BlockTransfer::~BlockTransfer() block not NULL"); ^ ./../../torrent/data/block_transfer.h:127:16: note: destructor has a implicit non-throwing exception specification BlockTransfer::~BlockTransfer() { ^ In file included from choke_queue.cc:46: In file included from ./../../protocol/peer_connection_base.h:50: In file included from ./../../protocol/request_list.h:46: In file included from ./../../globals.h:41: ../../../rak/priority_queue_default.h:56:7: warning: '~priority_item' has a non-throwing exception specification but can still throw [-Wexceptions] throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); ^ ../../../rak/priority_queue_default.h:54:3: note: destructor has a implicit non-throwing exception specification ~priority_item() { ^ choke_queue.cc:79:5: warning: '~choke_queue' has a non-throwing exception specification but can still throw [-Wexceptions] throw internal_error("choke_queue::~choke_queue() called but m_currentlyQueued != 0."); ^ choke_queue.cc:74:14: note: destructor has a implicit non-throwing exception specification choke_queue::~choke_queue() { ^ choke_queue.cc:76:5: warning: '~choke_queue' has a non-throwing exception specification but can still throw [-Wexceptions] throw internal_error("choke_queue::~choke_queue() called but m_currentlyUnchoked != 0."); ^ choke_queue.cc:74:14: note: destructor has a implicit non-throwing exception specification choke_queue::~choke_queue() { ^ In file included from choke_queue.cc:44: ../../../rak/functional.h:341:32: warning: 'unary_function' is deprecated [-Wdeprecated-declarations] struct mem_ref_t : public std::unary_function { ^ choke_queue.cc:472:51: note: in instantiation of template class 'rak::mem_ref_t' requested here rak::mem_ref(&choke_queue::value_type::weight))); ^ /usr/include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from choke_queue.cc:46: In file included from ./../../protocol/peer_connection_base.h:50: In file included from ./../../protocol/request_list.h:46: In file included from ./../../globals.h:41: In file included from ../../../rak/priority_queue_default.h:42: ../../../rak/priority_queue.h:84:46: warning: 'bind2nd, rak::priority_item *>' is deprecated [-Wdeprecated-declarations] return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); ^ ../../../rak/priority_queue_default.h:113:14: note: in instantiation of function template specialization 'rak::priority_queue, rak::cacheline_allocator>::find' requested here if (queue->find(item) != queue->end()) ^ /usr/include/c++/v1/__functional/binder2nd.h:44:1: note: 'bind2nd, rak::priority_item *>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ 8 warnings generated. c++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT choke_queue.lo -MD -MP -MF .deps/choke_queue.Tpo -c choke_queue.cc -o choke_queue.o In file included from choke_queue.cc:46: In file included from ./../../protocol/peer_connection_base.h:47: In file included from ./../../protocol/extensions.h:48: ./../../net/address_list.h:61:36: warning: 'unary_function' is deprecated [-Wdeprecated-declarations] struct add_address : public std::unary_function { ^ /usr/include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from choke_queue.cc:46: In file included from ./../../protocol/peer_connection_base.h:50: In file included from ./../../protocol/request_list.h:42: ./../../torrent/data/block_transfer.h:132:5: warning: '~BlockTransfer' has a non-throwing exception specification but can still throw [-Wexceptions] throw internal_error("BlockTransfer::~BlockTransfer() peer_info not NULL"); ^ ./../../torrent/data/block_transfer.h:127:16: note: destructor has a implicit non-throwing exception specification BlockTransfer::~BlockTransfer() { ^ ./../../torrent/data/block_transfer.h:129:5: warning: '~BlockTransfer' has a non-throwing exception specification but can still throw [-Wexceptions] throw internal_error("BlockTransfer::~BlockTransfer() block not NULL"); ^ ./../../torrent/data/block_transfer.h:127:16: note: destructor has a implicit non-throwing exception specification BlockTransfer::~BlockTransfer() { ^ In file included from choke_queue.cc:46: In file included from ./../../protocol/peer_connection_base.h:50: In file included from ./../../protocol/request_list.h:46: In file included from ./../../globals.h:41: ../../../rak/priority_queue_default.h:56:7: warning: '~priority_item' has a non-throwing exception specification but can still throw [-Wexceptions] throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); ^ ../../../rak/priority_queue_default.h:54:3: note: destructor has a implicit non-throwing exception specification ~priority_item() { ^ choke_queue.cc:79:5: warning: '~choke_queue' has a non-throwing exception specification but can still throw [-Wexceptions] throw internal_error("choke_queue::~choke_queue() called but m_currentlyQueued != 0."); ^ choke_queue.cc:74:14: note: destructor has a implicit non-throwing exception specification choke_queue::~choke_queue() { ^ choke_queue.cc:76:5: warning: '~choke_queue' has a non-throwing exception specification but can still throw [-Wexceptions] throw internal_error("choke_queue::~choke_queue() called but m_currentlyUnchoked != 0."); ^ choke_queue.cc:74:14: note: destructor has a implicit non-throwing exception specification choke_queue::~choke_queue() { ^ In file included from choke_queue.cc:44: ../../../rak/functional.h:341:32: warning: 'unary_function' is deprecated [-Wdeprecated-declarations] struct mem_ref_t : public std::unary_function { ^ choke_queue.cc:472:51: note: in instantiation of template class 'rak::mem_ref_t' requested here rak::mem_ref(&choke_queue::value_type::weight))); ^ /usr/include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from choke_queue.cc:46: In file included from ./../../protocol/peer_connection_base.h:50: In file included from ./../../protocol/request_list.h:46: In file included from ./../../globals.h:41: In file included from ../../../rak/priority_queue_default.h:42: ../../../rak/priority_queue.h:84:46: warning: 'bind2nd, rak::priority_item *>' is deprecated [-Wdeprecated-declarations] return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); ^ ../../../rak/priority_queue_default.h:113:14: note: in instantiation of function template specialization 'rak::priority_queue, rak::cacheline_allocator>::find' requested here if (queue->find(item) != queue->end()) ^ /usr/include/c++/v1/__functional/binder2nd.h:44:1: note: 'bind2nd, rak::priority_item *>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ 8 warnings generated. mv -f .deps/choke_queue.Tpo .deps/choke_queue.Plo /usr/bin/libtool --tag=CXX --mode=compile c++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT download_manager.lo -MD -MP -MF .deps/download_manager.Tpo -c -o download_manager.lo download_manager.cc c++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT download_manager.lo -MD -MP -MF .deps/download_manager.Tpo -c download_manager.cc -fPIC -DPIC -o .libs/download_manager.o In file included from download_manager.cc:43: In file included from ./../../download/download_wrapper.h:41: In file included from ./../../download/download_main.h:43: In file included from ./../../globals.h:41: ../../../rak/priority_queue_default.h:56:7: warning: '~priority_item' has a non-throwing exception specification but can still throw [-Wexceptions] throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); ^ ../../../rak/priority_queue_default.h:54:3: note: destructor has a implicit non-throwing exception specification ~priority_item() { ^ In file included from download_manager.cc:43: In file included from ./../../download/download_wrapper.h:41: In file included from ./../../download/download_main.h:48: In file included from ./../../download/available_list.h:45: ./../../net/address_list.h:61:36: warning: 'unary_function' is deprecated [-Wdeprecated-declarations] struct add_address : public std::unary_function { ^ /usr/include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from download_manager.cc:43: In file included from ./../../download/download_wrapper.h:41: In file included from ./../../download/download_main.h:52: ./../../torrent/data/file_list.h:202:79: warning: 'mem_fun' is deprecated [-Wdeprecated-declarations] return std::find_if(file_list->begin(), file_list->end(), std::bind2nd(std::mem_fun(&File::is_valid_position), pos)); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:128:1: note: 'mem_fun' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from download_manager.cc:43: In file included from ./../../download/download_wrapper.h:41: In file included from ./../../download/download_main.h:52: ./../../torrent/data/file_list.h:202:66: warning: 'bind2nd, unsigned long long>' is deprecated [-Wdeprecated-declarations] return std::find_if(file_list->begin(), file_list->end(), std::bind2nd(std::mem_fun(&File::is_valid_position), pos)); ^ /usr/include/c++/v1/__functional/binder2nd.h:44:1: note: 'bind2nd, unsigned long long>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from download_manager.cc:39: ../../../rak/functional.h:551:30: warning: 'binary_function' is deprecated [-Wdeprecated-declarations] class mem_fun2 : public std::binary_function { ^ ./../../download/download_main.h:201:29: note: in instantiation of template class 'rak::mem_fun2' requested here slot_start_handshake_type m_slotStartHandshake; ^ /usr/include/c++/v1/__functional/binary_function.h:24:29: note: 'binary_function' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 binary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ download_manager.cc:78:63: warning: 'mem_fun' is deprecated [-Wdeprecated-declarations] rak::on(std::mem_fun(&DownloadWrapper::info), std::mem_fun(&DownloadInfo::hash)))); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:50:1: note: 'mem_fun' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ download_manager.cc:78:101: warning: 'mem_fun' is deprecated [-Wdeprecated-declarations] rak::on(std::mem_fun(&DownloadWrapper::info), std::mem_fun(&DownloadInfo::hash)))); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:122:1: note: 'mem_fun' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from download_manager.cc:39: ../../../rak/functional.h:279:27: warning: 'unary_function' is deprecated [-Wdeprecated-declarations] struct on_t : public std::unary_function { ^ download_manager.cc:78:50: note: in instantiation of template class 'rak::on_t, std::const_mem_fun_t>' requested here rak::on(std::mem_fun(&DownloadWrapper::info), std::mem_fun(&DownloadInfo::hash)))); ^ /usr/include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ download_manager.cc:83:69: warning: 'mem_fun' is deprecated [-Wdeprecated-declarations] return std::find_if(begin(), end(), rak::equal(hash, rak::on(std::mem_fun(&DownloadWrapper::info), std::mem_fun(&DownloadInfo::hash)))); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:50:1: note: 'mem_fun' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ download_manager.cc:83:107: warning: 'mem_fun' is deprecated [-Wdeprecated-declarations] return std::find_if(begin(), end(), rak::equal(hash, rak::on(std::mem_fun(&DownloadWrapper::info), std::mem_fun(&DownloadInfo::hash)))); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:122:1: note: 'mem_fun' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ download_manager.cc:88:61: warning: 'mem_fun' is deprecated [-Wdeprecated-declarations] return std::find_if(begin(), end(), rak::equal(info, std::mem_fun(&DownloadWrapper::info))); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:50:1: note: 'mem_fun' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ download_manager.cc:93:59: warning: 'mem_fun' is deprecated [-Wdeprecated-declarations] return std::find_if(begin(), end(), rak::equal(cl, std::mem_fun(&DownloadWrapper::chunk_list))); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:50:1: note: 'mem_fun' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ download_manager.cc:99:71: warning: 'mem_fun' is deprecated [-Wdeprecated-declarations] rak::on(std::mem_fun(&DownloadWrapper::info), std::mem_fun(&DownloadInfo::hash)))); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:50:1: note: 'mem_fun' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ download_manager.cc:99:109: warning: 'mem_fun' is deprecated [-Wdeprecated-declarations] rak::on(std::mem_fun(&DownloadWrapper::info), std::mem_fun(&DownloadInfo::hash)))); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:122:1: note: 'mem_fun' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ download_manager.cc:110:71: warning: 'mem_fun' is deprecated [-Wdeprecated-declarations] rak::on(std::mem_fun(&DownloadWrapper::info), std::mem_fun(&DownloadInfo::hash_obfuscated)))); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:50:1: note: 'mem_fun' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ download_manager.cc:110:109: warning: 'mem_fun' is deprecated [-Wdeprecated-declarations] rak::on(std::mem_fun(&DownloadWrapper::info), std::mem_fun(&DownloadInfo::hash_obfuscated)))); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:122:1: note: 'mem_fun' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from download_manager.cc:43: In file included from ./../../download/download_wrapper.h:41: In file included from ./../../download/download_main.h:43: In file included from ./../../globals.h:41: In file included from ../../../rak/priority_queue_default.h:42: ../../../rak/priority_queue.h:84:46: warning: 'bind2nd, rak::priority_item *>' is deprecated [-Wdeprecated-declarations] return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); ^ ../../../rak/priority_queue_default.h:113:14: note: in instantiation of function template specialization 'rak::priority_queue, rak::cacheline_allocator>::find' requested here if (queue->find(item) != queue->end()) ^ /usr/include/c++/v1/__functional/binder2nd.h:44:1: note: 'bind2nd, rak::priority_item *>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ 17 warnings generated. c++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT download_manager.lo -MD -MP -MF .deps/download_manager.Tpo -c download_manager.cc -o download_manager.o In file included from download_manager.cc:43: In file included from ./../../download/download_wrapper.h:41: In file included from ./../../download/download_main.h:43: In file included from ./../../globals.h:41: ../../../rak/priority_queue_default.h:56:7: warning: '~priority_item' has a non-throwing exception specification but can still throw [-Wexceptions] throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); ^ ../../../rak/priority_queue_default.h:54:3: note: destructor has a implicit non-throwing exception specification ~priority_item() { ^ In file included from download_manager.cc:43: In file included from ./../../download/download_wrapper.h:41: In file included from ./../../download/download_main.h:48: In file included from ./../../download/available_list.h:45: ./../../net/address_list.h:61:36: warning: 'unary_function' is deprecated [-Wdeprecated-declarations] struct add_address : public std::unary_function { ^ /usr/include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from download_manager.cc:43: In file included from ./../../download/download_wrapper.h:41: In file included from ./../../download/download_main.h:52: ./../../torrent/data/file_list.h:202:79: warning: 'mem_fun' is deprecated [-Wdeprecated-declarations] return std::find_if(file_list->begin(), file_list->end(), std::bind2nd(std::mem_fun(&File::is_valid_position), pos)); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:128:1: note: 'mem_fun' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from download_manager.cc:43: In file included from ./../../download/download_wrapper.h:41: In file included from ./../../download/download_main.h:52: ./../../torrent/data/file_list.h:202:66: warning: 'bind2nd, unsigned long long>' is deprecated [-Wdeprecated-declarations] return std::find_if(file_list->begin(), file_list->end(), std::bind2nd(std::mem_fun(&File::is_valid_position), pos)); ^ /usr/include/c++/v1/__functional/binder2nd.h:44:1: note: 'bind2nd, unsigned long long>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from download_manager.cc:39: ../../../rak/functional.h:551:30: warning: 'binary_function' is deprecated [-Wdeprecated-declarations] class mem_fun2 : public std::binary_function { ^ ./../../download/download_main.h:201:29: note: in instantiation of template class 'rak::mem_fun2' requested here slot_start_handshake_type m_slotStartHandshake; ^ /usr/include/c++/v1/__functional/binary_function.h:24:29: note: 'binary_function' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 binary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ download_manager.cc:78:63: warning: 'mem_fun' is deprecated [-Wdeprecated-declarations] rak::on(std::mem_fun(&DownloadWrapper::info), std::mem_fun(&DownloadInfo::hash)))); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:50:1: note: 'mem_fun' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ download_manager.cc:78:101: warning: 'mem_fun' is deprecated [-Wdeprecated-declarations] rak::on(std::mem_fun(&DownloadWrapper::info), std::mem_fun(&DownloadInfo::hash)))); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:122:1: note: 'mem_fun' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from download_manager.cc:39: ../../../rak/functional.h:279:27: warning: 'unary_function' is deprecated [-Wdeprecated-declarations] struct on_t : public std::unary_function { ^ download_manager.cc:78:50: note: in instantiation of template class 'rak::on_t, std::const_mem_fun_t>' requested here rak::on(std::mem_fun(&DownloadWrapper::info), std::mem_fun(&DownloadInfo::hash)))); ^ /usr/include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ download_manager.cc:83:69: warning: 'mem_fun' is deprecated [-Wdeprecated-declarations] return std::find_if(begin(), end(), rak::equal(hash, rak::on(std::mem_fun(&DownloadWrapper::info), std::mem_fun(&DownloadInfo::hash)))); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:50:1: note: 'mem_fun' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ download_manager.cc:83:107: warning: 'mem_fun' is deprecated [-Wdeprecated-declarations] return std::find_if(begin(), end(), rak::equal(hash, rak::on(std::mem_fun(&DownloadWrapper::info), std::mem_fun(&DownloadInfo::hash)))); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:122:1: note: 'mem_fun' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ download_manager.cc:88:61: warning: 'mem_fun' is deprecated [-Wdeprecated-declarations] return std::find_if(begin(), end(), rak::equal(info, std::mem_fun(&DownloadWrapper::info))); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:50:1: note: 'mem_fun' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ download_manager.cc:93:59: warning: 'mem_fun' is deprecated [-Wdeprecated-declarations] return std::find_if(begin(), end(), rak::equal(cl, std::mem_fun(&DownloadWrapper::chunk_list))); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:50:1: note: 'mem_fun' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ download_manager.cc:99:71: warning: 'mem_fun' is deprecated [-Wdeprecated-declarations] rak::on(std::mem_fun(&DownloadWrapper::info), std::mem_fun(&DownloadInfo::hash)))); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:50:1: note: 'mem_fun' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ download_manager.cc:99:109: warning: 'mem_fun' is deprecated [-Wdeprecated-declarations] rak::on(std::mem_fun(&DownloadWrapper::info), std::mem_fun(&DownloadInfo::hash)))); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:122:1: note: 'mem_fun' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ download_manager.cc:110:71: warning: 'mem_fun' is deprecated [-Wdeprecated-declarations] rak::on(std::mem_fun(&DownloadWrapper::info), std::mem_fun(&DownloadInfo::hash_obfuscated)))); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:50:1: note: 'mem_fun' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ download_manager.cc:110:109: warning: 'mem_fun' is deprecated [-Wdeprecated-declarations] rak::on(std::mem_fun(&DownloadWrapper::info), std::mem_fun(&DownloadInfo::hash_obfuscated)))); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:122:1: note: 'mem_fun' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from download_manager.cc:43: In file included from ./../../download/download_wrapper.h:41: In file included from ./../../download/download_main.h:43: In file included from ./../../globals.h:41: In file included from ../../../rak/priority_queue_default.h:42: ../../../rak/priority_queue.h:84:46: warning: 'bind2nd, rak::priority_item *>' is deprecated [-Wdeprecated-declarations] return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); ^ ../../../rak/priority_queue_default.h:113:14: note: in instantiation of function template specialization 'rak::priority_queue, rak::cacheline_allocator>::find' requested here if (queue->find(item) != queue->end()) ^ /usr/include/c++/v1/__functional/binder2nd.h:44:1: note: 'bind2nd, rak::priority_item *>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ 17 warnings generated. mv -f .deps/download_manager.Tpo .deps/download_manager.Plo /usr/bin/libtool --tag=CXX --mode=compile c++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT resource_manager.lo -MD -MP -MF .deps/resource_manager.Tpo -c -o resource_manager.lo resource_manager.cc c++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT resource_manager.lo -MD -MP -MF .deps/resource_manager.Tpo -c resource_manager.cc -fPIC -DPIC -o .libs/resource_manager.o In file included from resource_manager.cc:48: In file included from ./../../download/download_main.h:43: In file included from ./../../globals.h:41: ../../../rak/priority_queue_default.h:56:7: warning: '~priority_item' has a non-throwing exception specification but can still throw [-Wexceptions] throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); ^ ../../../rak/priority_queue_default.h:54:3: note: destructor has a implicit non-throwing exception specification ~priority_item() { ^ In file included from resource_manager.cc:48: In file included from ./../../download/download_main.h:48: In file included from ./../../download/available_list.h:45: ./../../net/address_list.h:61:36: warning: 'unary_function' is deprecated [-Wdeprecated-declarations] struct add_address : public std::unary_function { ^ /usr/include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from resource_manager.cc:48: In file included from ./../../download/download_main.h:52: ./../../torrent/data/file_list.h:202:79: warning: 'mem_fun' is deprecated [-Wdeprecated-declarations] return std::find_if(file_list->begin(), file_list->end(), std::bind2nd(std::mem_fun(&File::is_valid_position), pos)); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:128:1: note: 'mem_fun' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from resource_manager.cc:48: In file included from ./../../download/download_main.h:52: ./../../torrent/data/file_list.h:202:66: warning: 'bind2nd, unsigned long long>' is deprecated [-Wdeprecated-declarations] return std::find_if(file_list->begin(), file_list->end(), std::bind2nd(std::mem_fun(&File::is_valid_position), pos)); ^ /usr/include/c++/v1/__functional/binder2nd.h:44:1: note: 'bind2nd, unsigned long long>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from resource_manager.cc:43: ../../../rak/functional.h:551:30: warning: 'binary_function' is deprecated [-Wdeprecated-declarations] class mem_fun2 : public std::binary_function { ^ ./../../download/download_main.h:201:29: note: in instantiation of template class 'rak::mem_fun2' requested here slot_start_handshake_type m_slotStartHandshake; ^ /usr/include/c++/v1/__functional/binary_function.h:24:29: note: 'binary_function' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 binary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from resource_manager.cc:49: In file included from ./../../protocol/peer_connection_base.h:50: In file included from ./../../protocol/request_list.h:42: ./../../torrent/data/block_transfer.h:132:5: warning: '~BlockTransfer' has a non-throwing exception specification but can still throw [-Wexceptions] throw internal_error("BlockTransfer::~BlockTransfer() peer_info not NULL"); ^ ./../../torrent/data/block_transfer.h:127:16: note: destructor has a implicit non-throwing exception specification BlockTransfer::~BlockTransfer() { ^ ./../../torrent/data/block_transfer.h:129:5: warning: '~BlockTransfer' has a non-throwing exception specification but can still throw [-Wexceptions] throw internal_error("BlockTransfer::~BlockTransfer() block not NULL"); ^ ./../../torrent/data/block_transfer.h:127:16: note: destructor has a implicit non-throwing exception specification BlockTransfer::~BlockTransfer() { ^ In file included from resource_manager.cc:43: ../../../rak/functional.h:395:34: warning: 'unary_function' is deprecated [-Wdeprecated-declarations] struct call_delete : public std::unary_function { ^ resource_manager.cc:91:67: note: in instantiation of template class 'rak::call_delete' requested here std::for_each(choke_base_type::begin(), choke_base_type::end(), rak::call_delete()); ^ /usr/include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ resource_manager.cc:89:5: warning: '~ResourceManager' has a non-throwing exception specification but can still throw [-Wexceptions] throw internal_error("ResourceManager::~ResourceManager() called but m_currentlyDownloadUnchoked != 0."); ^ resource_manager.cc:84:18: note: destructor has a implicit non-throwing exception specification ResourceManager::~ResourceManager() { ^ resource_manager.cc:86:5: warning: '~ResourceManager' has a non-throwing exception specification but can still throw [-Wexceptions] throw internal_error("ResourceManager::~ResourceManager() called but m_currentlyUploadUnchoked != 0."); ^ resource_manager.cc:84:18: note: destructor has a implicit non-throwing exception specification ResourceManager::~ResourceManager() { ^ resource_manager.cc:119:63: warning: 'mem_fun_ref' is deprecated [-Wdeprecated-declarations] std::mem_fun_ref(&value_type::group))); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:158:1: note: 'mem_fun_ref' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ resource_manager.cc:135:63: warning: 'mem_fun_ref' is deprecated [-Wdeprecated-declarations] std::mem_fun_ref(&value_type::group))); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:158:1: note: 'mem_fun_ref' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ resource_manager.cc:145:66: warning: 'mem_fun_ref' is deprecated [-Wdeprecated-declarations] iterator itr = std::find_if(begin(), end(), rak::equal(d, std::mem_fun_ref(&value_type::download))); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:86:1: note: 'mem_fun_ref' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ resource_manager.cc:161:58: warning: 'mem_fun_ref' is deprecated [-Wdeprecated-declarations] return std::find_if(begin(), end(), rak::equal(d, std::mem_fun_ref(&value_type::download))); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:86:1: note: 'mem_fun_ref' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ resource_manager.cc:166:66: warning: 'mem_fun_ref' is deprecated [-Wdeprecated-declarations] iterator itr = std::find_if(begin(), end(), rak::equal(d, std::mem_fun_ref(&value_type::download))); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:86:1: note: 'mem_fun_ref' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ resource_manager.cc:259:78: warning: 'mem_fun_ref' is deprecated [-Wdeprecated-declarations] return std::for_each(begin(), end(), rak::accumulate((unsigned int)0, std::mem_fun_ref(&value_type::priority))).result; ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:158:1: note: 'mem_fun_ref' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from resource_manager.cc:48: In file included from ./../../download/download_main.h:43: In file included from ./../../globals.h:41: In file included from ../../../rak/priority_queue_default.h:42: ../../../rak/priority_queue.h:84:46: warning: 'bind2nd, rak::priority_item *>' is deprecated [-Wdeprecated-declarations] return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); ^ ../../../rak/priority_queue_default.h:113:14: note: in instantiation of function template specialization 'rak::priority_queue, rak::cacheline_allocator>::find' requested here if (queue->find(item) != queue->end()) ^ /usr/include/c++/v1/__functional/binder2nd.h:44:1: note: 'bind2nd, rak::priority_item *>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ 17 warnings generated. c++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT resource_manager.lo -MD -MP -MF .deps/resource_manager.Tpo -c resource_manager.cc -o resource_manager.o In file included from resource_manager.cc:48: In file included from ./../../download/download_main.h:43: In file included from ./../../globals.h:41: ../../../rak/priority_queue_default.h:56:7: warning: '~priority_item' has a non-throwing exception specification but can still throw [-Wexceptions] throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); ^ ../../../rak/priority_queue_default.h:54:3: note: destructor has a implicit non-throwing exception specification ~priority_item() { ^ In file included from resource_manager.cc:48: In file included from ./../../download/download_main.h:48: In file included from ./../../download/available_list.h:45: ./../../net/address_list.h:61:36: warning: 'unary_function' is deprecated [-Wdeprecated-declarations] struct add_address : public std::unary_function { ^ /usr/include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from resource_manager.cc:48: In file included from ./../../download/download_main.h:52: ./../../torrent/data/file_list.h:202:79: warning: 'mem_fun' is deprecated [-Wdeprecated-declarations] return std::find_if(file_list->begin(), file_list->end(), std::bind2nd(std::mem_fun(&File::is_valid_position), pos)); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:128:1: note: 'mem_fun' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from resource_manager.cc:48: In file included from ./../../download/download_main.h:52: ./../../torrent/data/file_list.h:202:66: warning: 'bind2nd, unsigned long long>' is deprecated [-Wdeprecated-declarations] return std::find_if(file_list->begin(), file_list->end(), std::bind2nd(std::mem_fun(&File::is_valid_position), pos)); ^ /usr/include/c++/v1/__functional/binder2nd.h:44:1: note: 'bind2nd, unsigned long long>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from resource_manager.cc:43: ../../../rak/functional.h:551:30: warning: 'binary_function' is deprecated [-Wdeprecated-declarations] class mem_fun2 : public std::binary_function { ^ ./../../download/download_main.h:201:29: note: in instantiation of template class 'rak::mem_fun2' requested here slot_start_handshake_type m_slotStartHandshake; ^ /usr/include/c++/v1/__functional/binary_function.h:24:29: note: 'binary_function' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 binary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from resource_manager.cc:49: In file included from ./../../protocol/peer_connection_base.h:50: In file included from ./../../protocol/request_list.h:42: ./../../torrent/data/block_transfer.h:132:5: warning: '~BlockTransfer' has a non-throwing exception specification but can still throw [-Wexceptions] throw internal_error("BlockTransfer::~BlockTransfer() peer_info not NULL"); ^ ./../../torrent/data/block_transfer.h:127:16: note: destructor has a implicit non-throwing exception specification BlockTransfer::~BlockTransfer() { ^ ./../../torrent/data/block_transfer.h:129:5: warning: '~BlockTransfer' has a non-throwing exception specification but can still throw [-Wexceptions] throw internal_error("BlockTransfer::~BlockTransfer() block not NULL"); ^ ./../../torrent/data/block_transfer.h:127:16: note: destructor has a implicit non-throwing exception specification BlockTransfer::~BlockTransfer() { ^ In file included from resource_manager.cc:43: ../../../rak/functional.h:395:34: warning: 'unary_function' is deprecated [-Wdeprecated-declarations] struct call_delete : public std::unary_function { ^ resource_manager.cc:91:67: note: in instantiation of template class 'rak::call_delete' requested here std::for_each(choke_base_type::begin(), choke_base_type::end(), rak::call_delete()); ^ /usr/include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ resource_manager.cc:89:5: warning: '~ResourceManager' has a non-throwing exception specification but can still throw [-Wexceptions] throw internal_error("ResourceManager::~ResourceManager() called but m_currentlyDownloadUnchoked != 0."); ^ resource_manager.cc:84:18: note: destructor has a implicit non-throwing exception specification ResourceManager::~ResourceManager() { ^ resource_manager.cc:86:5: warning: '~ResourceManager' has a non-throwing exception specification but can still throw [-Wexceptions] throw internal_error("ResourceManager::~ResourceManager() called but m_currentlyUploadUnchoked != 0."); ^ resource_manager.cc:84:18: note: destructor has a implicit non-throwing exception specification ResourceManager::~ResourceManager() { ^ resource_manager.cc:119:63: warning: 'mem_fun_ref' is deprecated [-Wdeprecated-declarations] std::mem_fun_ref(&value_type::group))); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:158:1: note: 'mem_fun_ref' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ resource_manager.cc:135:63: warning: 'mem_fun_ref' is deprecated [-Wdeprecated-declarations] std::mem_fun_ref(&value_type::group))); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:158:1: note: 'mem_fun_ref' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ resource_manager.cc:145:66: warning: 'mem_fun_ref' is deprecated [-Wdeprecated-declarations] iterator itr = std::find_if(begin(), end(), rak::equal(d, std::mem_fun_ref(&value_type::download))); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:86:1: note: 'mem_fun_ref' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ resource_manager.cc:161:58: warning: 'mem_fun_ref' is deprecated [-Wdeprecated-declarations] return std::find_if(begin(), end(), rak::equal(d, std::mem_fun_ref(&value_type::download))); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:86:1: note: 'mem_fun_ref' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ resource_manager.cc:166:66: warning: 'mem_fun_ref' is deprecated [-Wdeprecated-declarations] iterator itr = std::find_if(begin(), end(), rak::equal(d, std::mem_fun_ref(&value_type::download))); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:86:1: note: 'mem_fun_ref' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ resource_manager.cc:259:78: warning: 'mem_fun_ref' is deprecated [-Wdeprecated-declarations] return std::for_each(begin(), end(), rak::accumulate((unsigned int)0, std::mem_fun_ref(&value_type::priority))).result; ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:158:1: note: 'mem_fun_ref' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from resource_manager.cc:48: In file included from ./../../download/download_main.h:43: In file included from ./../../globals.h:41: In file included from ../../../rak/priority_queue_default.h:42: ../../../rak/priority_queue.h:84:46: warning: 'bind2nd, rak::priority_item *>' is deprecated [-Wdeprecated-declarations] return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); ^ ../../../rak/priority_queue_default.h:113:14: note: in instantiation of function template specialization 'rak::priority_queue, rak::cacheline_allocator>::find' requested here if (queue->find(item) != queue->end()) ^ /usr/include/c++/v1/__functional/binder2nd.h:44:1: note: 'bind2nd, rak::priority_item *>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ 17 warnings generated. mv -f .deps/resource_manager.Tpo .deps/resource_manager.Plo /usr/bin/libtool --tag=CXX --mode=link c++ -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -L/usr/lib -L/usr/lib -o libsub_torrentdownload.la choke_group.lo choke_queue.lo download_manager.lo resource_manager.lo -lz -lcrypto libtool: link: ar cru .libs/libsub_torrentdownload.a .libs/choke_group.o .libs/choke_queue.o .libs/download_manager.o .libs/resource_manager.o libtool: link: ranlib .libs/libsub_torrentdownload.a Making all in peer /usr/bin/libtool --tag=CXX --mode=compile c++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT client_info.lo -MD -MP -MF .deps/client_info.Tpo -c -o client_info.lo client_info.cc c++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT client_info.lo -MD -MP -MF .deps/client_info.Tpo -c client_info.cc -fPIC -DPIC -o .libs/client_info.o c++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT client_info.lo -MD -MP -MF .deps/client_info.Tpo -c client_info.cc -o client_info.o mv -f .deps/client_info.Tpo .deps/client_info.Plo /usr/bin/libtool --tag=CXX --mode=compile c++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT client_list.lo -MD -MP -MF .deps/client_list.Tpo -c -o client_list.lo client_list.cc c++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT client_list.lo -MD -MP -MF .deps/client_list.Tpo -c client_list.cc -fPIC -DPIC -o .libs/client_list.o c++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT client_list.lo -MD -MP -MF .deps/client_list.Tpo -c client_list.cc -o client_list.o mv -f .deps/client_list.Tpo .deps/client_list.Plo /usr/bin/libtool --tag=CXX --mode=compile c++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT connection_list.lo -MD -MP -MF .deps/connection_list.Tpo -c -o connection_list.lo connection_list.cc c++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT connection_list.lo -MD -MP -MF .deps/connection_list.Tpo -c connection_list.cc -fPIC -DPIC -o .libs/connection_list.o In file included from connection_list.cc:43: In file included from ./../../download/download_main.h:43: In file included from ./../../globals.h:41: ../../../rak/priority_queue_default.h:56:7: warning: '~priority_item' has a non-throwing exception specification but can still throw [-Wexceptions] throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); ^ ../../../rak/priority_queue_default.h:54:3: note: destructor has a implicit non-throwing exception specification ~priority_item() { ^ In file included from connection_list.cc:43: In file included from ./../../download/download_main.h:48: In file included from ./../../download/available_list.h:45: ./../../net/address_list.h:61:36: warning: 'unary_function' is deprecated [-Wdeprecated-declarations] struct add_address : public std::unary_function { ^ /usr/include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from connection_list.cc:43: In file included from ./../../download/download_main.h:52: ./../../torrent/data/file_list.h:202:79: warning: 'mem_fun' is deprecated [-Wdeprecated-declarations] return std::find_if(file_list->begin(), file_list->end(), std::bind2nd(std::mem_fun(&File::is_valid_position), pos)); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:128:1: note: 'mem_fun' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from connection_list.cc:43: In file included from ./../../download/download_main.h:52: ./../../torrent/data/file_list.h:202:66: warning: 'bind2nd, unsigned long long>' is deprecated [-Wdeprecated-declarations] return std::find_if(file_list->begin(), file_list->end(), std::bind2nd(std::mem_fun(&File::is_valid_position), pos)); ^ /usr/include/c++/v1/__functional/binder2nd.h:44:1: note: 'bind2nd, unsigned long long>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from connection_list.cc:40: ../../../rak/functional.h:551:30: warning: 'binary_function' is deprecated [-Wdeprecated-declarations] class mem_fun2 : public std::binary_function { ^ ./../../download/download_main.h:201:29: note: in instantiation of template class 'rak::mem_fun2' requested here slot_start_handshake_type m_slotStartHandshake; ^ /usr/include/c++/v1/__functional/binary_function.h:24:29: note: 'binary_function' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 binary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from connection_list.cc:45: In file included from ./../../protocol/peer_connection_base.h:50: In file included from ./../../protocol/request_list.h:42: ./../../torrent/data/block_transfer.h:132:5: warning: '~BlockTransfer' has a non-throwing exception specification but can still throw [-Wexceptions] throw internal_error("BlockTransfer::~BlockTransfer() peer_info not NULL"); ^ ./../../torrent/data/block_transfer.h:127:16: note: destructor has a implicit non-throwing exception specification BlockTransfer::~BlockTransfer() { ^ ./../../torrent/data/block_transfer.h:129:5: warning: '~BlockTransfer' has a non-throwing exception specification but can still throw [-Wexceptions] throw internal_error("BlockTransfer::~BlockTransfer() block not NULL"); ^ ./../../torrent/data/block_transfer.h:127:16: note: destructor has a implicit non-throwing exception specification BlockTransfer::~BlockTransfer() { ^ connection_list.cc:74:46: warning: 'mem_fun' is deprecated [-Wdeprecated-declarations] std::for_each(begin(), end(), rak::on(std::mem_fun(&Peer::m_ptr), rak::call_delete())); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:50:1: note: 'mem_fun' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from connection_list.cc:40: ../../../rak/functional.h:395:34: warning: 'unary_function' is deprecated [-Wdeprecated-declarations] struct call_delete : public std::unary_function { ^ connection_list.cc:74:69: note: in instantiation of template class 'rak::call_delete' requested here std::for_each(begin(), end(), rak::on(std::mem_fun(&Peer::m_ptr), rak::call_delete())); ^ /usr/include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from connection_list.cc:40: ../../../rak/functional.h:279:27: warning: 'unary_function' is deprecated [-Wdeprecated-declarations] struct on_t : public std::unary_function { ^ connection_list.cc:74:33: note: in instantiation of template class 'rak::on_t, rak::call_delete>' requested here std::for_each(begin(), end(), rak::on(std::mem_fun(&Peer::m_ptr), rak::call_delete())); ^ /usr/include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ connection_list.cc:182:63: warning: 'mem_fun' is deprecated [-Wdeprecated-declarations] erase_remaining(std::partition(begin(), end(), rak::on(std::mem_fun(&Peer::c_ptr), std::mem_fun(&PeerConnectionBase::is_not_seeder))), ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:122:1: note: 'mem_fun' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ connection_list.cc:182:91: warning: 'mem_fun' is deprecated [-Wdeprecated-declarations] erase_remaining(std::partition(begin(), end(), rak::on(std::mem_fun(&Peer::c_ptr), std::mem_fun(&PeerConnectionBase::is_not_seeder))), ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:122:1: note: 'mem_fun' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from connection_list.cc:40: ../../../rak/functional.h:279:27: warning: 'unary_function' is deprecated [-Wdeprecated-declarations] struct on_t : public std::unary_function { ^ connection_list.cc:182:50: note: in instantiation of template class 'rak::on_t, std::const_mem_fun_t>' requested here erase_remaining(std::partition(begin(), end(), rak::on(std::mem_fun(&Peer::c_ptr), std::mem_fun(&PeerConnectionBase::is_not_seeder))), ^ /usr/include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ connection_list.cc:217:63: warning: 'mem_fun' is deprecated [-Wdeprecated-declarations] rak::on(std::mem_fun(&Peer::m_ptr), rak::on(std::mem_fun(&PeerConnectionBase::peer_info), std::mem_fun(&PeerInfo::id))))); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:50:1: note: 'mem_fun' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ connection_list.cc:217:99: warning: 'mem_fun' is deprecated [-Wdeprecated-declarations] rak::on(std::mem_fun(&Peer::m_ptr), rak::on(std::mem_fun(&PeerConnectionBase::peer_info), std::mem_fun(&PeerInfo::id))))); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:122:1: note: 'mem_fun' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ connection_list.cc:217:145: warning: 'mem_fun' is deprecated [-Wdeprecated-declarations] rak::on(std::mem_fun(&Peer::m_ptr), rak::on(std::mem_fun(&PeerConnectionBase::peer_info), std::mem_fun(&PeerInfo::id))))); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:122:1: note: 'mem_fun' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from connection_list.cc:40: ../../../rak/functional.h:279:27: warning: 'unary_function' is deprecated [-Wdeprecated-declarations] struct on_t : public std::unary_function { ^ connection_list.cc:217:86: note: in instantiation of template class 'rak::on_t, std::const_mem_fun_t>' requested here rak::on(std::mem_fun(&Peer::m_ptr), rak::on(std::mem_fun(&PeerConnectionBase::peer_info), std::mem_fun(&PeerInfo::id))))); ^ /usr/include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from connection_list.cc:40: ../../../rak/functional.h:279:27: warning: 'unary_function' is deprecated [-Wdeprecated-declarations] struct on_t : public std::unary_function { ^ connection_list.cc:217:50: note: in instantiation of template class 'rak::on_t, rak::on_t, std::const_mem_fun_t>>' requested here rak::on(std::mem_fun(&Peer::m_ptr), rak::on(std::mem_fun(&PeerConnectionBase::peer_info), std::mem_fun(&PeerInfo::id))))); ^ /usr/include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ connection_list.cc:223:67: warning: 'mem_fun' is deprecated [-Wdeprecated-declarations] rak::on(std::mem_fun(&Peer::m_ptr), rak::on(std::mem_fun(&PeerConnectionBase::peer_info), ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:50:1: note: 'mem_fun' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ connection_list.cc:223:103: warning: 'mem_fun' is deprecated [-Wdeprecated-declarations] rak::on(std::mem_fun(&Peer::m_ptr), rak::on(std::mem_fun(&PeerConnectionBase::peer_info), ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:122:1: note: 'mem_fun' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ connection_list.cc:224:103: warning: 'mem_fun' is deprecated [-Wdeprecated-declarations] std::mem_fun(&PeerInfo::socket_address))))); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:122:1: note: 'mem_fun' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from connection_list.cc:40: ../../../rak/functional.h:279:27: warning: 'unary_function' is deprecated [-Wdeprecated-declarations] struct on_t : public std::unary_function { ^ connection_list.cc:223:90: note: in instantiation of template class 'rak::on_t, std::const_mem_fun_t>' requested here rak::on(std::mem_fun(&Peer::m_ptr), rak::on(std::mem_fun(&PeerConnectionBase::peer_info), ^ /usr/include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from connection_list.cc:40: ../../../rak/functional.h:279:27: warning: 'unary_function' is deprecated [-Wdeprecated-declarations] struct on_t : public std::unary_function { ^ connection_list.cc:223:54: note: in instantiation of template class 'rak::on_t, rak::on_t, std::const_mem_fun_t>>' requested here rak::on(std::mem_fun(&Peer::m_ptr), rak::on(std::mem_fun(&PeerConnectionBase::peer_info), ^ /usr/include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from connection_list.cc:43: In file included from ./../../download/download_main.h:43: In file included from ./../../globals.h:41: In file included from ../../../rak/priority_queue_default.h:42: ../../../rak/priority_queue.h:84:46: warning: 'bind2nd, rak::priority_item *>' is deprecated [-Wdeprecated-declarations] return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); ^ ../../../rak/priority_queue_default.h:113:14: note: in instantiation of function template specialization 'rak::priority_queue, rak::cacheline_allocator>::find' requested here if (queue->find(item) != queue->end()) ^ /usr/include/c++/v1/__functional/binder2nd.h:44:1: note: 'bind2nd, rak::priority_item *>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ 24 warnings generated. c++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT connection_list.lo -MD -MP -MF .deps/connection_list.Tpo -c connection_list.cc -o connection_list.o In file included from connection_list.cc:43: In file included from ./../../download/download_main.h:43: In file included from ./../../globals.h:41: ../../../rak/priority_queue_default.h:56:7: warning: '~priority_item' has a non-throwing exception specification but can still throw [-Wexceptions] throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); ^ ../../../rak/priority_queue_default.h:54:3: note: destructor has a implicit non-throwing exception specification ~priority_item() { ^ In file included from connection_list.cc:43: In file included from ./../../download/download_main.h:48: In file included from ./../../download/available_list.h:45: ./../../net/address_list.h:61:36: warning: 'unary_function' is deprecated [-Wdeprecated-declarations] struct add_address : public std::unary_function { ^ /usr/include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from connection_list.cc:43: In file included from ./../../download/download_main.h:52: ./../../torrent/data/file_list.h:202:79: warning: 'mem_fun' is deprecated [-Wdeprecated-declarations] return std::find_if(file_list->begin(), file_list->end(), std::bind2nd(std::mem_fun(&File::is_valid_position), pos)); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:128:1: note: 'mem_fun' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from connection_list.cc:43: In file included from ./../../download/download_main.h:52: ./../../torrent/data/file_list.h:202:66: warning: 'bind2nd, unsigned long long>' is deprecated [-Wdeprecated-declarations] return std::find_if(file_list->begin(), file_list->end(), std::bind2nd(std::mem_fun(&File::is_valid_position), pos)); ^ /usr/include/c++/v1/__functional/binder2nd.h:44:1: note: 'bind2nd, unsigned long long>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from connection_list.cc:40: ../../../rak/functional.h:551:30: warning: 'binary_function' is deprecated [-Wdeprecated-declarations] class mem_fun2 : public std::binary_function { ^ ./../../download/download_main.h:201:29: note: in instantiation of template class 'rak::mem_fun2' requested here slot_start_handshake_type m_slotStartHandshake; ^ /usr/include/c++/v1/__functional/binary_function.h:24:29: note: 'binary_function' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 binary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from connection_list.cc:45: In file included from ./../../protocol/peer_connection_base.h:50: In file included from ./../../protocol/request_list.h:42: ./../../torrent/data/block_transfer.h:132:5: warning: '~BlockTransfer' has a non-throwing exception specification but can still throw [-Wexceptions] throw internal_error("BlockTransfer::~BlockTransfer() peer_info not NULL"); ^ ./../../torrent/data/block_transfer.h:127:16: note: destructor has a implicit non-throwing exception specification BlockTransfer::~BlockTransfer() { ^ ./../../torrent/data/block_transfer.h:129:5: warning: '~BlockTransfer' has a non-throwing exception specification but can still throw [-Wexceptions] throw internal_error("BlockTransfer::~BlockTransfer() block not NULL"); ^ ./../../torrent/data/block_transfer.h:127:16: note: destructor has a implicit non-throwing exception specification BlockTransfer::~BlockTransfer() { ^ connection_list.cc:74:46: warning: 'mem_fun' is deprecated [-Wdeprecated-declarations] std::for_each(begin(), end(), rak::on(std::mem_fun(&Peer::m_ptr), rak::call_delete())); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:50:1: note: 'mem_fun' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from connection_list.cc:40: ../../../rak/functional.h:395:34: warning: 'unary_function' is deprecated [-Wdeprecated-declarations] struct call_delete : public std::unary_function { ^ connection_list.cc:74:69: note: in instantiation of template class 'rak::call_delete' requested here std::for_each(begin(), end(), rak::on(std::mem_fun(&Peer::m_ptr), rak::call_delete())); ^ /usr/include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from connection_list.cc:40: ../../../rak/functional.h:279:27: warning: 'unary_function' is deprecated [-Wdeprecated-declarations] struct on_t : public std::unary_function { ^ connection_list.cc:74:33: note: in instantiation of template class 'rak::on_t, rak::call_delete>' requested here std::for_each(begin(), end(), rak::on(std::mem_fun(&Peer::m_ptr), rak::call_delete())); ^ /usr/include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ connection_list.cc:182:63: warning: 'mem_fun' is deprecated [-Wdeprecated-declarations] erase_remaining(std::partition(begin(), end(), rak::on(std::mem_fun(&Peer::c_ptr), std::mem_fun(&PeerConnectionBase::is_not_seeder))), ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:122:1: note: 'mem_fun' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ connection_list.cc:182:91: warning: 'mem_fun' is deprecated [-Wdeprecated-declarations] erase_remaining(std::partition(begin(), end(), rak::on(std::mem_fun(&Peer::c_ptr), std::mem_fun(&PeerConnectionBase::is_not_seeder))), ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:122:1: note: 'mem_fun' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from connection_list.cc:40: ../../../rak/functional.h:279:27: warning: 'unary_function' is deprecated [-Wdeprecated-declarations] struct on_t : public std::unary_function { ^ connection_list.cc:182:50: note: in instantiation of template class 'rak::on_t, std::const_mem_fun_t>' requested here erase_remaining(std::partition(begin(), end(), rak::on(std::mem_fun(&Peer::c_ptr), std::mem_fun(&PeerConnectionBase::is_not_seeder))), ^ /usr/include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ connection_list.cc:217:63: warning: 'mem_fun' is deprecated [-Wdeprecated-declarations] rak::on(std::mem_fun(&Peer::m_ptr), rak::on(std::mem_fun(&PeerConnectionBase::peer_info), std::mem_fun(&PeerInfo::id))))); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:50:1: note: 'mem_fun' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ connection_list.cc:217:99: warning: 'mem_fun' is deprecated [-Wdeprecated-declarations] rak::on(std::mem_fun(&Peer::m_ptr), rak::on(std::mem_fun(&PeerConnectionBase::peer_info), std::mem_fun(&PeerInfo::id))))); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:122:1: note: 'mem_fun' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ connection_list.cc:217:145: warning: 'mem_fun' is deprecated [-Wdeprecated-declarations] rak::on(std::mem_fun(&Peer::m_ptr), rak::on(std::mem_fun(&PeerConnectionBase::peer_info), std::mem_fun(&PeerInfo::id))))); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:122:1: note: 'mem_fun' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from connection_list.cc:40: ../../../rak/functional.h:279:27: warning: 'unary_function' is deprecated [-Wdeprecated-declarations] struct on_t : public std::unary_function { ^ connection_list.cc:217:86: note: in instantiation of template class 'rak::on_t, std::const_mem_fun_t>' requested here rak::on(std::mem_fun(&Peer::m_ptr), rak::on(std::mem_fun(&PeerConnectionBase::peer_info), std::mem_fun(&PeerInfo::id))))); ^ /usr/include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from connection_list.cc:40: ../../../rak/functional.h:279:27: warning: 'unary_function' is deprecated [-Wdeprecated-declarations] struct on_t : public std::unary_function { ^ connection_list.cc:217:50: note: in instantiation of template class 'rak::on_t, rak::on_t, std::const_mem_fun_t>>' requested here rak::on(std::mem_fun(&Peer::m_ptr), rak::on(std::mem_fun(&PeerConnectionBase::peer_info), std::mem_fun(&PeerInfo::id))))); ^ /usr/include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ connection_list.cc:223:67: warning: 'mem_fun' is deprecated [-Wdeprecated-declarations] rak::on(std::mem_fun(&Peer::m_ptr), rak::on(std::mem_fun(&PeerConnectionBase::peer_info), ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:50:1: note: 'mem_fun' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ connection_list.cc:223:103: warning: 'mem_fun' is deprecated [-Wdeprecated-declarations] rak::on(std::mem_fun(&Peer::m_ptr), rak::on(std::mem_fun(&PeerConnectionBase::peer_info), ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:122:1: note: 'mem_fun' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ connection_list.cc:224:103: warning: 'mem_fun' is deprecated [-Wdeprecated-declarations] std::mem_fun(&PeerInfo::socket_address))))); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:122:1: note: 'mem_fun' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from connection_list.cc:40: ../../../rak/functional.h:279:27: warning: 'unary_function' is deprecated [-Wdeprecated-declarations] struct on_t : public std::unary_function { ^ connection_list.cc:223:90: note: in instantiation of template class 'rak::on_t, std::const_mem_fun_t>' requested here rak::on(std::mem_fun(&Peer::m_ptr), rak::on(std::mem_fun(&PeerConnectionBase::peer_info), ^ /usr/include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from connection_list.cc:40: ../../../rak/functional.h:279:27: warning: 'unary_function' is deprecated [-Wdeprecated-declarations] struct on_t : public std::unary_function { ^ connection_list.cc:223:54: note: in instantiation of template class 'rak::on_t, rak::on_t, std::const_mem_fun_t>>' requested here rak::on(std::mem_fun(&Peer::m_ptr), rak::on(std::mem_fun(&PeerConnectionBase::peer_info), ^ /usr/include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from connection_list.cc:43: In file included from ./../../download/download_main.h:43: In file included from ./../../globals.h:41: In file included from ../../../rak/priority_queue_default.h:42: ../../../rak/priority_queue.h:84:46: warning: 'bind2nd, rak::priority_item *>' is deprecated [-Wdeprecated-declarations] return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); ^ ../../../rak/priority_queue_default.h:113:14: note: in instantiation of function template specialization 'rak::priority_queue, rak::cacheline_allocator>::find' requested here if (queue->find(item) != queue->end()) ^ /usr/include/c++/v1/__functional/binder2nd.h:44:1: note: 'bind2nd, rak::priority_item *>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ 24 warnings generated. mv -f .deps/connection_list.Tpo .deps/connection_list.Plo /usr/bin/libtool --tag=CXX --mode=compile c++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT peer.lo -MD -MP -MF .deps/peer.Tpo -c -o peer.lo peer.cc c++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT peer.lo -MD -MP -MF .deps/peer.Tpo -c peer.cc -fPIC -DPIC -o .libs/peer.o In file included from peer.cc:39: In file included from ./../data/block.h:42: ./../../torrent/data/block_transfer.h:132:5: warning: '~BlockTransfer' has a non-throwing exception specification but can still throw [-Wexceptions] throw internal_error("BlockTransfer::~BlockTransfer() peer_info not NULL"); ^ ./../../torrent/data/block_transfer.h:127:16: note: destructor has a implicit non-throwing exception specification BlockTransfer::~BlockTransfer() { ^ ./../../torrent/data/block_transfer.h:129:5: warning: '~BlockTransfer' has a non-throwing exception specification but can still throw [-Wexceptions] throw internal_error("BlockTransfer::~BlockTransfer() block not NULL"); ^ ./../../torrent/data/block_transfer.h:127:16: note: destructor has a implicit non-throwing exception specification BlockTransfer::~BlockTransfer() { ^ In file included from peer.cc:41: In file included from ./../../download/download_main.h:43: In file included from ./../../globals.h:41: ../../../rak/priority_queue_default.h:56:7: warning: '~priority_item' has a non-throwing exception specification but can still throw [-Wexceptions] throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); ^ ../../../rak/priority_queue_default.h:54:3: note: destructor has a implicit non-throwing exception specification ~priority_item() { ^ In file included from peer.cc:41: In file included from ./../../download/download_main.h:48: In file included from ./../../download/available_list.h:45: ./../../net/address_list.h:61:36: warning: 'unary_function' is deprecated [-Wdeprecated-declarations] struct add_address : public std::unary_function { ^ /usr/include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from peer.cc:41: In file included from ./../../download/download_main.h:52: ./../../torrent/data/file_list.h:202:79: warning: 'mem_fun' is deprecated [-Wdeprecated-declarations] return std::find_if(file_list->begin(), file_list->end(), std::bind2nd(std::mem_fun(&File::is_valid_position), pos)); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:128:1: note: 'mem_fun' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from peer.cc:41: In file included from ./../../download/download_main.h:52: ./../../torrent/data/file_list.h:202:66: warning: 'bind2nd, unsigned long long>' is deprecated [-Wdeprecated-declarations] return std::find_if(file_list->begin(), file_list->end(), std::bind2nd(std::mem_fun(&File::is_valid_position), pos)); ^ /usr/include/c++/v1/__functional/binder2nd.h:44:1: note: 'bind2nd, unsigned long long>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from peer.cc:41: In file included from ./../../download/download_main.h:41: ../../../rak/functional.h:551:30: warning: 'binary_function' is deprecated [-Wdeprecated-declarations] class mem_fun2 : public std::binary_function { ^ ./../../download/download_main.h:201:29: note: in instantiation of template class 'rak::mem_fun2' requested here slot_start_handshake_type m_slotStartHandshake; ^ /usr/include/c++/v1/__functional/binary_function.h:24:29: note: 'binary_function' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 binary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from peer.cc:41: In file included from ./../../download/download_main.h:43: In file included from ./../../globals.h:41: In file included from ../../../rak/priority_queue_default.h:42: ../../../rak/priority_queue.h:84:46: warning: 'bind2nd, rak::priority_item *>' is deprecated [-Wdeprecated-declarations] return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); ^ ../../../rak/priority_queue_default.h:113:14: note: in instantiation of function template specialization 'rak::priority_queue, rak::cacheline_allocator>::find' requested here if (queue->find(item) != queue->end()) ^ /usr/include/c++/v1/__functional/binder2nd.h:44:1: note: 'bind2nd, rak::priority_item *>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ 8 warnings generated. c++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT peer.lo -MD -MP -MF .deps/peer.Tpo -c peer.cc -o peer.o In file included from peer.cc:39: In file included from ./../data/block.h:42: ./../../torrent/data/block_transfer.h:132:5: warning: '~BlockTransfer' has a non-throwing exception specification but can still throw [-Wexceptions] throw internal_error("BlockTransfer::~BlockTransfer() peer_info not NULL"); ^ ./../../torrent/data/block_transfer.h:127:16: note: destructor has a implicit non-throwing exception specification BlockTransfer::~BlockTransfer() { ^ ./../../torrent/data/block_transfer.h:129:5: warning: '~BlockTransfer' has a non-throwing exception specification but can still throw [-Wexceptions] throw internal_error("BlockTransfer::~BlockTransfer() block not NULL"); ^ ./../../torrent/data/block_transfer.h:127:16: note: destructor has a implicit non-throwing exception specification BlockTransfer::~BlockTransfer() { ^ In file included from peer.cc:41: In file included from ./../../download/download_main.h:43: In file included from ./../../globals.h:41: ../../../rak/priority_queue_default.h:56:7: warning: '~priority_item' has a non-throwing exception specification but can still throw [-Wexceptions] throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); ^ ../../../rak/priority_queue_default.h:54:3: note: destructor has a implicit non-throwing exception specification ~priority_item() { ^ In file included from peer.cc:41: In file included from ./../../download/download_main.h:48: In file included from ./../../download/available_list.h:45: ./../../net/address_list.h:61:36: warning: 'unary_function' is deprecated [-Wdeprecated-declarations] struct add_address : public std::unary_function { ^ /usr/include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from peer.cc:41: In file included from ./../../download/download_main.h:52: ./../../torrent/data/file_list.h:202:79: warning: 'mem_fun' is deprecated [-Wdeprecated-declarations] return std::find_if(file_list->begin(), file_list->end(), std::bind2nd(std::mem_fun(&File::is_valid_position), pos)); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:128:1: note: 'mem_fun' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from peer.cc:41: In file included from ./../../download/download_main.h:52: ./../../torrent/data/file_list.h:202:66: warning: 'bind2nd, unsigned long long>' is deprecated [-Wdeprecated-declarations] return std::find_if(file_list->begin(), file_list->end(), std::bind2nd(std::mem_fun(&File::is_valid_position), pos)); ^ /usr/include/c++/v1/__functional/binder2nd.h:44:1: note: 'bind2nd, unsigned long long>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from peer.cc:41: In file included from ./../../download/download_main.h:41: ../../../rak/functional.h:551:30: warning: 'binary_function' is deprecated [-Wdeprecated-declarations] class mem_fun2 : public std::binary_function { ^ ./../../download/download_main.h:201:29: note: in instantiation of template class 'rak::mem_fun2' requested here slot_start_handshake_type m_slotStartHandshake; ^ /usr/include/c++/v1/__functional/binary_function.h:24:29: note: 'binary_function' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 binary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from peer.cc:41: In file included from ./../../download/download_main.h:43: In file included from ./../../globals.h:41: In file included from ../../../rak/priority_queue_default.h:42: ../../../rak/priority_queue.h:84:46: warning: 'bind2nd, rak::priority_item *>' is deprecated [-Wdeprecated-declarations] return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); ^ ../../../rak/priority_queue_default.h:113:14: note: in instantiation of function template specialization 'rak::priority_queue, rak::cacheline_allocator>::find' requested here if (queue->find(item) != queue->end()) ^ /usr/include/c++/v1/__functional/binder2nd.h:44:1: note: 'bind2nd, rak::priority_item *>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ 8 warnings generated. mv -f .deps/peer.Tpo .deps/peer.Plo /usr/bin/libtool --tag=CXX --mode=compile c++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT peer_info.lo -MD -MP -MF .deps/peer_info.Tpo -c -o peer_info.lo peer_info.cc c++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT peer_info.lo -MD -MP -MF .deps/peer_info.Tpo -c peer_info.cc -fPIC -DPIC -o .libs/peer_info.o In file included from peer_info.cc:42: In file included from ./../../protocol/extensions.h:48: ./../../net/address_list.h:61:36: warning: 'unary_function' is deprecated [-Wdeprecated-declarations] struct add_address : public std::unary_function { ^ /usr/include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from peer_info.cc:43: In file included from ./../../protocol/peer_connection_base.h:50: In file included from ./../../protocol/request_list.h:42: ./../../torrent/data/block_transfer.h:132:5: warning: '~BlockTransfer' has a non-throwing exception specification but can still throw [-Wexceptions] throw internal_error("BlockTransfer::~BlockTransfer() peer_info not NULL"); ^ ./../../torrent/data/block_transfer.h:127:16: note: destructor has a implicit non-throwing exception specification BlockTransfer::~BlockTransfer() { ^ ./../../torrent/data/block_transfer.h:129:5: warning: '~BlockTransfer' has a non-throwing exception specification but can still throw [-Wexceptions] throw internal_error("BlockTransfer::~BlockTransfer() block not NULL"); ^ ./../../torrent/data/block_transfer.h:127:16: note: destructor has a implicit non-throwing exception specification BlockTransfer::~BlockTransfer() { ^ In file included from peer_info.cc:43: In file included from ./../../protocol/peer_connection_base.h:50: In file included from ./../../protocol/request_list.h:46: In file included from ./../../globals.h:41: ../../../rak/priority_queue_default.h:56:7: warning: '~priority_item' has a non-throwing exception specification but can still throw [-Wexceptions] throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); ^ ../../../rak/priority_queue_default.h:54:3: note: destructor has a implicit non-throwing exception specification ~priority_item() { ^ peer_info.cc:78:5: warning: '~PeerInfo' has a non-throwing exception specification but can still throw [-Wexceptions] throw internal_error("PeerInfo::~PeerInfo() peer is blocked."); ^ peer_info.cc:71:11: note: destructor has a implicit non-throwing exception specification PeerInfo::~PeerInfo() { ^ In file included from peer_info.cc:43: In file included from ./../../protocol/peer_connection_base.h:50: In file included from ./../../protocol/request_list.h:46: In file included from ./../../globals.h:41: In file included from ../../../rak/priority_queue_default.h:42: ../../../rak/priority_queue.h:84:46: warning: 'bind2nd, rak::priority_item *>' is deprecated [-Wdeprecated-declarations] return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); ^ ../../../rak/priority_queue_default.h:113:14: note: in instantiation of function template specialization 'rak::priority_queue, rak::cacheline_allocator>::find' requested here if (queue->find(item) != queue->end()) ^ /usr/include/c++/v1/__functional/binder2nd.h:44:1: note: 'bind2nd, rak::priority_item *>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ 6 warnings generated. c++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT peer_info.lo -MD -MP -MF .deps/peer_info.Tpo -c peer_info.cc -o peer_info.o In file included from peer_info.cc:42: In file included from ./../../protocol/extensions.h:48: ./../../net/address_list.h:61:36: warning: 'unary_function' is deprecated [-Wdeprecated-declarations] struct add_address : public std::unary_function { ^ /usr/include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from peer_info.cc:43: In file included from ./../../protocol/peer_connection_base.h:50: In file included from ./../../protocol/request_list.h:42: ./../../torrent/data/block_transfer.h:132:5: warning: '~BlockTransfer' has a non-throwing exception specification but can still throw [-Wexceptions] throw internal_error("BlockTransfer::~BlockTransfer() peer_info not NULL"); ^ ./../../torrent/data/block_transfer.h:127:16: note: destructor has a implicit non-throwing exception specification BlockTransfer::~BlockTransfer() { ^ ./../../torrent/data/block_transfer.h:129:5: warning: '~BlockTransfer' has a non-throwing exception specification but can still throw [-Wexceptions] throw internal_error("BlockTransfer::~BlockTransfer() block not NULL"); ^ ./../../torrent/data/block_transfer.h:127:16: note: destructor has a implicit non-throwing exception specification BlockTransfer::~BlockTransfer() { ^ In file included from peer_info.cc:43: In file included from ./../../protocol/peer_connection_base.h:50: In file included from ./../../protocol/request_list.h:46: In file included from ./../../globals.h:41: ../../../rak/priority_queue_default.h:56:7: warning: '~priority_item' has a non-throwing exception specification but can still throw [-Wexceptions] throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); ^ ../../../rak/priority_queue_default.h:54:3: note: destructor has a implicit non-throwing exception specification ~priority_item() { ^ peer_info.cc:78:5: warning: '~PeerInfo' has a non-throwing exception specification but can still throw [-Wexceptions] throw internal_error("PeerInfo::~PeerInfo() peer is blocked."); ^ peer_info.cc:71:11: note: destructor has a implicit non-throwing exception specification PeerInfo::~PeerInfo() { ^ In file included from peer_info.cc:43: In file included from ./../../protocol/peer_connection_base.h:50: In file included from ./../../protocol/request_list.h:46: In file included from ./../../globals.h:41: In file included from ../../../rak/priority_queue_default.h:42: ../../../rak/priority_queue.h:84:46: warning: 'bind2nd, rak::priority_item *>' is deprecated [-Wdeprecated-declarations] return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); ^ ../../../rak/priority_queue_default.h:113:14: note: in instantiation of function template specialization 'rak::priority_queue, rak::cacheline_allocator>::find' requested here if (queue->find(item) != queue->end()) ^ /usr/include/c++/v1/__functional/binder2nd.h:44:1: note: 'bind2nd, rak::priority_item *>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ 6 warnings generated. mv -f .deps/peer_info.Tpo .deps/peer_info.Plo /usr/bin/libtool --tag=CXX --mode=compile c++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT peer_list.lo -MD -MP -MF .deps/peer_list.Tpo -c -o peer_list.lo peer_list.cc c++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT peer_list.lo -MD -MP -MF .deps/peer_list.Tpo -c peer_list.cc -fPIC -DPIC -o .libs/peer_list.o In file included from peer_list.cc:46: In file included from ./../../download/available_list.h:45: ./../../net/address_list.h:61:36: warning: 'unary_function' is deprecated [-Wdeprecated-declarations] struct add_address : public std::unary_function { ^ /usr/include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from peer_list.cc:52: In file included from ./../../globals.h:41: ../../../rak/priority_queue_default.h:56:7: warning: '~priority_item' has a non-throwing exception specification but can still throw [-Wexceptions] throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); ^ ../../../rak/priority_queue_default.h:54:3: note: destructor has a implicit non-throwing exception specification ~priority_item() { ^ peer_list.cc:89:43: warning: 'binary_function &, unsigned short, bool>' is deprecated [-Wdeprecated-declarations] struct peer_list_equal_port : public std::binary_function { ^ /usr/include/c++/v1/__functional/binary_function.h:24:29: note: 'binary_function &, unsigned short, bool>' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 binary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from peer_list.cc:43: ../../../rak/functional.h:341:32: warning: 'unary_function &, torrent::PeerInfo *&>' is deprecated [-Wdeprecated-declarations] struct mem_ref_t : public std::unary_function { ^ peer_list.cc:107:41: note: in instantiation of template class 'rak::mem_ref_t, torrent::PeerInfo *>' requested here std::for_each(begin(), end(), rak::on(rak::mem_ref(&value_type::second), rak::call_delete())); ^ /usr/include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function &, torrent::PeerInfo *&>' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from peer_list.cc:43: ../../../rak/functional.h:395:34: warning: 'unary_function' is deprecated [-Wdeprecated-declarations] struct call_delete : public std::unary_function { ^ peer_list.cc:107:76: note: in instantiation of template class 'rak::call_delete' requested here std::for_each(begin(), end(), rak::on(rak::mem_ref(&value_type::second), rak::call_delete())); ^ /usr/include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from peer_list.cc:43: ../../../rak/functional.h:279:27: warning: 'unary_function &, void>' is deprecated [-Wdeprecated-declarations] struct on_t : public std::unary_function { ^ peer_list.cc:107:33: note: in instantiation of template class 'rak::on_t, torrent::PeerInfo *>, rak::call_delete>' requested here std::for_each(begin(), end(), rak::on(rak::mem_ref(&value_type::second), rak::call_delete())); ^ /usr/include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function &, void>' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ peer_list.cc:194:68: warning: 'ptr_fun' is deprecated [-Wdeprecated-declarations] availItr = std::find_if(availItr, availLast, rak::bind2nd(std::ptr_fun(&socket_address_less_rak), *itr)); ^ /usr/include/c++/v1/__functional/pointer_to_binary_function.h:37:1: note: 'ptr_fun' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from peer_list.cc:43: ../../../rak/functional.h:433:31: warning: 'unary_function' is deprecated [-Wdeprecated-declarations] class bind2nd_t : public std::unary_function { ^ peer_list.cc:194:50: note: in instantiation of template class 'rak::bind2nd_t>' requested here availItr = std::find_if(availItr, availLast, rak::bind2nd(std::ptr_fun(&socket_address_less_rak), *itr)); ^ /usr/include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from peer_list.cc:52: In file included from ./../../globals.h:41: In file included from ../../../rak/priority_queue_default.h:42: ../../../rak/priority_queue.h:84:46: warning: 'bind2nd, rak::priority_item *>' is deprecated [-Wdeprecated-declarations] return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); ^ ../../../rak/priority_queue_default.h:113:14: note: in instantiation of function template specialization 'rak::priority_queue, rak::cacheline_allocator>::find' requested here if (queue->find(item) != queue->end()) ^ /usr/include/c++/v1/__functional/binder2nd.h:44:1: note: 'bind2nd, rak::priority_item *>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ 9 warnings generated. c++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT peer_list.lo -MD -MP -MF .deps/peer_list.Tpo -c peer_list.cc -o peer_list.o In file included from peer_list.cc:46: In file included from ./../../download/available_list.h:45: ./../../net/address_list.h:61:36: warning: 'unary_function' is deprecated [-Wdeprecated-declarations] struct add_address : public std::unary_function { ^ /usr/include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from peer_list.cc:52: In file included from ./../../globals.h:41: ../../../rak/priority_queue_default.h:56:7: warning: '~priority_item' has a non-throwing exception specification but can still throw [-Wexceptions] throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); ^ ../../../rak/priority_queue_default.h:54:3: note: destructor has a implicit non-throwing exception specification ~priority_item() { ^ peer_list.cc:89:43: warning: 'binary_function &, unsigned short, bool>' is deprecated [-Wdeprecated-declarations] struct peer_list_equal_port : public std::binary_function { ^ /usr/include/c++/v1/__functional/binary_function.h:24:29: note: 'binary_function &, unsigned short, bool>' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 binary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from peer_list.cc:43: ../../../rak/functional.h:341:32: warning: 'unary_function &, torrent::PeerInfo *&>' is deprecated [-Wdeprecated-declarations] struct mem_ref_t : public std::unary_function { ^ peer_list.cc:107:41: note: in instantiation of template class 'rak::mem_ref_t, torrent::PeerInfo *>' requested here std::for_each(begin(), end(), rak::on(rak::mem_ref(&value_type::second), rak::call_delete())); ^ /usr/include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function &, torrent::PeerInfo *&>' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from peer_list.cc:43: ../../../rak/functional.h:395:34: warning: 'unary_function' is deprecated [-Wdeprecated-declarations] struct call_delete : public std::unary_function { ^ peer_list.cc:107:76: note: in instantiation of template class 'rak::call_delete' requested here std::for_each(begin(), end(), rak::on(rak::mem_ref(&value_type::second), rak::call_delete())); ^ /usr/include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from peer_list.cc:43: ../../../rak/functional.h:279:27: warning: 'unary_function &, void>' is deprecated [-Wdeprecated-declarations] struct on_t : public std::unary_function { ^ peer_list.cc:107:33: note: in instantiation of template class 'rak::on_t, torrent::PeerInfo *>, rak::call_delete>' requested here std::for_each(begin(), end(), rak::on(rak::mem_ref(&value_type::second), rak::call_delete())); ^ /usr/include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function &, void>' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ peer_list.cc:194:68: warning: 'ptr_fun' is deprecated [-Wdeprecated-declarations] availItr = std::find_if(availItr, availLast, rak::bind2nd(std::ptr_fun(&socket_address_less_rak), *itr)); ^ /usr/include/c++/v1/__functional/pointer_to_binary_function.h:37:1: note: 'ptr_fun' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from peer_list.cc:43: ../../../rak/functional.h:433:31: warning: 'unary_function' is deprecated [-Wdeprecated-declarations] class bind2nd_t : public std::unary_function { ^ peer_list.cc:194:50: note: in instantiation of template class 'rak::bind2nd_t>' requested here availItr = std::find_if(availItr, availLast, rak::bind2nd(std::ptr_fun(&socket_address_less_rak), *itr)); ^ /usr/include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from peer_list.cc:52: In file included from ./../../globals.h:41: In file included from ../../../rak/priority_queue_default.h:42: ../../../rak/priority_queue.h:84:46: warning: 'bind2nd, rak::priority_item *>' is deprecated [-Wdeprecated-declarations] return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); ^ ../../../rak/priority_queue_default.h:113:14: note: in instantiation of function template specialization 'rak::priority_queue, rak::cacheline_allocator>::find' requested here if (queue->find(item) != queue->end()) ^ /usr/include/c++/v1/__functional/binder2nd.h:44:1: note: 'bind2nd, rak::priority_item *>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ 9 warnings generated. mv -f .deps/peer_list.Tpo .deps/peer_list.Plo /usr/bin/libtool --tag=CXX --mode=link c++ -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -L/usr/lib -L/usr/lib -o libsub_torrentpeer.la client_info.lo client_list.lo connection_list.lo peer.lo peer_info.lo peer_list.lo -lz -lcrypto libtool: link: ar cru .libs/libsub_torrentpeer.a .libs/client_info.o .libs/client_list.o .libs/connection_list.o .libs/peer.o .libs/peer_info.o .libs/peer_list.o libtool: link: ranlib .libs/libsub_torrentpeer.a Making all in utils /usr/bin/libtool --tag=CXX --mode=compile c++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT log.lo -MD -MP -MF .deps/log.Tpo -c -o log.lo log.cc c++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT log.lo -MD -MP -MF .deps/log.Tpo -c log.cc -fPIC -DPIC -o .libs/log.o In file included from log.cc:44: In file included from ./../../globals.h:41: ../../../rak/priority_queue_default.h:56:7: warning: '~priority_item' has a non-throwing exception specification but can still throw [-Wexceptions] throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); ^ ../../../rak/priority_queue_default.h:54:3: note: destructor has a implicit non-throwing exception specification ~priority_item() { ^ log.cc:107:23: warning: 'bind2nd>, std::pair>' is deprecated [-Wdeprecated-declarations] std::bind2nd(std::greater_equal >(), std::make_pair(index, 0))); ^ /usr/include/c++/v1/__functional/binder2nd.h:44:1: note: 'bind2nd>, std::pair>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ log.cc:131:60: warning: 'mem_fun_ref' is deprecated [-Wdeprecated-declarations] std::for_each(log_groups.begin(), log_groups.end(), std::mem_fun_ref(&log_group::clear_cached_outputs)); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:86:1: note: 'mem_fun_ref' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ log.cc:137:58: warning: 'mem_fun_ref' is deprecated [-Wdeprecated-declarations] std::for_each(log_cache.begin(), log_cache.end(), std::mem_fun_ref(&log_cache_entry::clear)); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:86:1: note: 'mem_fun_ref' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ log.cc:254:58: warning: 'mem_fun_ref' is deprecated [-Wdeprecated-declarations] std::for_each(log_cache.begin(), log_cache.end(), std::mem_fun_ref(&log_cache_entry::clear)); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:86:1: note: 'mem_fun_ref' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from log.cc:44: In file included from ./../../globals.h:41: In file included from ../../../rak/priority_queue_default.h:42: ../../../rak/priority_queue.h:84:46: warning: 'bind2nd, rak::priority_item *>' is deprecated [-Wdeprecated-declarations] return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); ^ ../../../rak/priority_queue_default.h:113:14: note: in instantiation of function template specialization 'rak::priority_queue, rak::cacheline_allocator>::find' requested here if (queue->find(item) != queue->end()) ^ /usr/include/c++/v1/__functional/binder2nd.h:44:1: note: 'bind2nd, rak::priority_item *>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ 6 warnings generated. c++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT log.lo -MD -MP -MF .deps/log.Tpo -c log.cc -o log.o In file included from log.cc:44: In file included from ./../../globals.h:41: ../../../rak/priority_queue_default.h:56:7: warning: '~priority_item' has a non-throwing exception specification but can still throw [-Wexceptions] throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); ^ ../../../rak/priority_queue_default.h:54:3: note: destructor has a implicit non-throwing exception specification ~priority_item() { ^ log.cc:107:23: warning: 'bind2nd>, std::pair>' is deprecated [-Wdeprecated-declarations] std::bind2nd(std::greater_equal >(), std::make_pair(index, 0))); ^ /usr/include/c++/v1/__functional/binder2nd.h:44:1: note: 'bind2nd>, std::pair>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ log.cc:131:60: warning: 'mem_fun_ref' is deprecated [-Wdeprecated-declarations] std::for_each(log_groups.begin(), log_groups.end(), std::mem_fun_ref(&log_group::clear_cached_outputs)); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:86:1: note: 'mem_fun_ref' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ log.cc:137:58: warning: 'mem_fun_ref' is deprecated [-Wdeprecated-declarations] std::for_each(log_cache.begin(), log_cache.end(), std::mem_fun_ref(&log_cache_entry::clear)); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:86:1: note: 'mem_fun_ref' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ log.cc:254:58: warning: 'mem_fun_ref' is deprecated [-Wdeprecated-declarations] std::for_each(log_cache.begin(), log_cache.end(), std::mem_fun_ref(&log_cache_entry::clear)); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:86:1: note: 'mem_fun_ref' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from log.cc:44: In file included from ./../../globals.h:41: In file included from ../../../rak/priority_queue_default.h:42: ../../../rak/priority_queue.h:84:46: warning: 'bind2nd, rak::priority_item *>' is deprecated [-Wdeprecated-declarations] return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); ^ ../../../rak/priority_queue_default.h:113:14: note: in instantiation of function template specialization 'rak::priority_queue, rak::cacheline_allocator>::find' requested here if (queue->find(item) != queue->end()) ^ /usr/include/c++/v1/__functional/binder2nd.h:44:1: note: 'bind2nd, rak::priority_item *>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ 6 warnings generated. mv -f .deps/log.Tpo .deps/log.Plo /usr/bin/libtool --tag=CXX --mode=compile c++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT log_buffer.lo -MD -MP -MF .deps/log_buffer.Tpo -c -o log_buffer.lo log_buffer.cc c++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT log_buffer.lo -MD -MP -MF .deps/log_buffer.Tpo -c log_buffer.cc -fPIC -DPIC -o .libs/log_buffer.o In file included from log_buffer.cc:44: In file included from ./../../globals.h:41: ../../../rak/priority_queue_default.h:56:7: warning: '~priority_item' has a non-throwing exception specification but can still throw [-Wexceptions] throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); ^ ../../../rak/priority_queue_default.h:54:3: note: destructor has a implicit non-throwing exception specification ~priority_item() { ^ In file included from log_buffer.cc:44: In file included from ./../../globals.h:41: In file included from ../../../rak/priority_queue_default.h:42: ../../../rak/priority_queue.h:84:46: warning: 'bind2nd, rak::priority_item *>' is deprecated [-Wdeprecated-declarations] return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); ^ ../../../rak/priority_queue_default.h:113:14: note: in instantiation of function template specialization 'rak::priority_queue, rak::cacheline_allocator>::find' requested here if (queue->find(item) != queue->end()) ^ /usr/include/c++/v1/__functional/binder2nd.h:44:1: note: 'bind2nd, rak::priority_item *>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ 2 warnings generated. c++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT log_buffer.lo -MD -MP -MF .deps/log_buffer.Tpo -c log_buffer.cc -o log_buffer.o In file included from log_buffer.cc:44: In file included from ./../../globals.h:41: ../../../rak/priority_queue_default.h:56:7: warning: '~priority_item' has a non-throwing exception specification but can still throw [-Wexceptions] throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); ^ ../../../rak/priority_queue_default.h:54:3: note: destructor has a implicit non-throwing exception specification ~priority_item() { ^ In file included from log_buffer.cc:44: In file included from ./../../globals.h:41: In file included from ../../../rak/priority_queue_default.h:42: ../../../rak/priority_queue.h:84:46: warning: 'bind2nd, rak::priority_item *>' is deprecated [-Wdeprecated-declarations] return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); ^ ../../../rak/priority_queue_default.h:113:14: note: in instantiation of function template specialization 'rak::priority_queue, rak::cacheline_allocator>::find' requested here if (queue->find(item) != queue->end()) ^ /usr/include/c++/v1/__functional/binder2nd.h:44:1: note: 'bind2nd, rak::priority_item *>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ 2 warnings generated. mv -f .deps/log_buffer.Tpo .deps/log_buffer.Plo /usr/bin/libtool --tag=CXX --mode=compile c++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT net.lo -MD -MP -MF .deps/net.Tpo -c -o net.lo net.cc c++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT net.lo -MD -MP -MF .deps/net.Tpo -c net.cc -fPIC -DPIC -o .libs/net.o c++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT net.lo -MD -MP -MF .deps/net.Tpo -c net.cc -o net.o mv -f .deps/net.Tpo .deps/net.Plo /usr/bin/libtool --tag=CXX --mode=compile c++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT option_strings.lo -MD -MP -MF .deps/option_strings.Tpo -c -o option_strings.lo option_strings.cc c++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT option_strings.lo -MD -MP -MF .deps/option_strings.Tpo -c option_strings.cc -fPIC -DPIC -o .libs/option_strings.o c++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT option_strings.lo -MD -MP -MF .deps/option_strings.Tpo -c option_strings.cc -o option_strings.o mv -f .deps/option_strings.Tpo .deps/option_strings.Plo /usr/bin/libtool --tag=CXX --mode=compile c++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT resume.lo -MD -MP -MF .deps/resume.Tpo -c -o resume.lo resume.cc c++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT resume.lo -MD -MP -MF .deps/resume.Tpo -c resume.cc -fPIC -DPIC -o .libs/resume.o In file included from resume.cc:46: ./../data/file_list.h:202:79: warning: 'mem_fun' is deprecated [-Wdeprecated-declarations] return std::find_if(file_list->begin(), file_list->end(), std::bind2nd(std::mem_fun(&File::is_valid_position), pos)); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:128:1: note: 'mem_fun' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from resume.cc:46: ./../data/file_list.h:202:66: warning: 'bind2nd, unsigned long long>' is deprecated [-Wdeprecated-declarations] return std::find_if(file_list->begin(), file_list->end(), std::bind2nd(std::mem_fun(&File::is_valid_position), pos)); ^ /usr/include/c++/v1/__functional/binder2nd.h:44:1: note: 'bind2nd, unsigned long long>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from resume.cc:48: ./../../net/address_list.h:61:36: warning: 'unary_function' is deprecated [-Wdeprecated-declarations] struct add_address : public std::unary_function { ^ /usr/include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from resume.cc:58: In file included from ./../../globals.h:41: ../../../rak/priority_queue_default.h:56:7: warning: '~priority_item' has a non-throwing exception specification but can still throw [-Wexceptions] throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); ^ ../../../rak/priority_queue_default.h:54:3: note: destructor has a implicit non-throwing exception specification ~priority_item() { ^ In file included from resume.cc:46: In file included from ./../data/file_list.h:46: In file included from ./../../torrent/data/download_data.h:45: In file included from ./../../torrent/utils/ranges.h:44: ../../../rak/functional.h:352:38: warning: 'unary_function &, const long long &>' is deprecated [-Wdeprecated-declarations] struct const_mem_ref_t : public std::unary_function { ^ resume.cc:289:34: note: in instantiation of template class 'rak::const_mem_ref_t, long long>' requested here rak::const_mem_ref(&TransferList::completed_list_type::value_type::first))); ^ /usr/include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function &, const long long &>' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from resume.cc:58: In file included from ./../../globals.h:41: In file included from ../../../rak/priority_queue_default.h:42: ../../../rak/priority_queue.h:84:46: warning: 'bind2nd, rak::priority_item *>' is deprecated [-Wdeprecated-declarations] return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); ^ ../../../rak/priority_queue_default.h:113:14: note: in instantiation of function template specialization 'rak::priority_queue, rak::cacheline_allocator>::find' requested here if (queue->find(item) != queue->end()) ^ /usr/include/c++/v1/__functional/binder2nd.h:44:1: note: 'bind2nd, rak::priority_item *>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ 6 warnings generated. c++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT resume.lo -MD -MP -MF .deps/resume.Tpo -c resume.cc -o resume.o In file included from resume.cc:46: ./../data/file_list.h:202:79: warning: 'mem_fun' is deprecated [-Wdeprecated-declarations] return std::find_if(file_list->begin(), file_list->end(), std::bind2nd(std::mem_fun(&File::is_valid_position), pos)); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:128:1: note: 'mem_fun' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from resume.cc:46: ./../data/file_list.h:202:66: warning: 'bind2nd, unsigned long long>' is deprecated [-Wdeprecated-declarations] return std::find_if(file_list->begin(), file_list->end(), std::bind2nd(std::mem_fun(&File::is_valid_position), pos)); ^ /usr/include/c++/v1/__functional/binder2nd.h:44:1: note: 'bind2nd, unsigned long long>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from resume.cc:48: ./../../net/address_list.h:61:36: warning: 'unary_function' is deprecated [-Wdeprecated-declarations] struct add_address : public std::unary_function { ^ /usr/include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from resume.cc:58: In file included from ./../../globals.h:41: ../../../rak/priority_queue_default.h:56:7: warning: '~priority_item' has a non-throwing exception specification but can still throw [-Wexceptions] throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); ^ ../../../rak/priority_queue_default.h:54:3: note: destructor has a implicit non-throwing exception specification ~priority_item() { ^ In file included from resume.cc:46: In file included from ./../data/file_list.h:46: In file included from ./../../torrent/data/download_data.h:45: In file included from ./../../torrent/utils/ranges.h:44: ../../../rak/functional.h:352:38: warning: 'unary_function &, const long long &>' is deprecated [-Wdeprecated-declarations] struct const_mem_ref_t : public std::unary_function { ^ resume.cc:289:34: note: in instantiation of template class 'rak::const_mem_ref_t, long long>' requested here rak::const_mem_ref(&TransferList::completed_list_type::value_type::first))); ^ /usr/include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function &, const long long &>' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from resume.cc:58: In file included from ./../../globals.h:41: In file included from ../../../rak/priority_queue_default.h:42: ../../../rak/priority_queue.h:84:46: warning: 'bind2nd, rak::priority_item *>' is deprecated [-Wdeprecated-declarations] return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); ^ ../../../rak/priority_queue_default.h:113:14: note: in instantiation of function template specialization 'rak::priority_queue, rak::cacheline_allocator>::find' requested here if (queue->find(item) != queue->end()) ^ /usr/include/c++/v1/__functional/binder2nd.h:44:1: note: 'bind2nd, rak::priority_item *>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ 6 warnings generated. mv -f .deps/resume.Tpo .deps/resume.Plo /usr/bin/libtool --tag=CXX --mode=compile c++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT signal_bitfield.lo -MD -MP -MF .deps/signal_bitfield.Tpo -c -o signal_bitfield.lo signal_bitfield.cc c++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT signal_bitfield.lo -MD -MP -MF .deps/signal_bitfield.Tpo -c signal_bitfield.cc -fPIC -DPIC -o .libs/signal_bitfield.o c++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT signal_bitfield.lo -MD -MP -MF .deps/signal_bitfield.Tpo -c signal_bitfield.cc -o signal_bitfield.o mv -f .deps/signal_bitfield.Tpo .deps/signal_bitfield.Plo /usr/bin/libtool --tag=CXX --mode=compile c++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT thread_base.lo -MD -MP -MF .deps/thread_base.Tpo -c -o thread_base.lo thread_base.cc c++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT thread_base.lo -MD -MP -MF .deps/thread_base.Tpo -c thread_base.cc -fPIC -DPIC -o .libs/thread_base.o c++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT thread_base.lo -MD -MP -MF .deps/thread_base.Tpo -c thread_base.cc -o thread_base.o mv -f .deps/thread_base.Tpo .deps/thread_base.Plo /usr/bin/libtool --tag=CXX --mode=compile c++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT thread_interrupt.lo -MD -MP -MF .deps/thread_interrupt.Tpo -c -o thread_interrupt.lo thread_interrupt.cc c++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT thread_interrupt.lo -MD -MP -MF .deps/thread_interrupt.Tpo -c thread_interrupt.cc -fPIC -DPIC -o .libs/thread_interrupt.o c++ -DHAVE_CONFIG_H -I. -I../../.. -I. -I./.. -I./../.. -I../../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT thread_interrupt.lo -MD -MP -MF .deps/thread_interrupt.Tpo -c thread_interrupt.cc -o thread_interrupt.o mv -f .deps/thread_interrupt.Tpo .deps/thread_interrupt.Plo /usr/bin/libtool --tag=CXX --mode=link c++ -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -L/usr/lib -L/usr/lib -o libsub_torrentutils.la log.lo log_buffer.lo net.lo option_strings.lo resume.lo signal_bitfield.lo thread_base.lo thread_interrupt.lo -lz -lcrypto libtool: link: ar cru .libs/libsub_torrentutils.a .libs/log.o .libs/log_buffer.o .libs/net.o .libs/option_strings.o .libs/resume.o .libs/signal_bitfield.o .libs/thread_base.o .libs/thread_interrupt.o libtool: link: ranlib .libs/libsub_torrentutils.a /usr/bin/libtool --tag=CXX --mode=compile c++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT bitfield.lo -MD -MP -MF .deps/bitfield.Tpo -c -o bitfield.lo bitfield.cc c++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT bitfield.lo -MD -MP -MF .deps/bitfield.Tpo -c bitfield.cc -fPIC -DPIC -o .libs/bitfield.o c++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT bitfield.lo -MD -MP -MF .deps/bitfield.Tpo -c bitfield.cc -o bitfield.o mv -f .deps/bitfield.Tpo .deps/bitfield.Plo /usr/bin/libtool --tag=CXX --mode=compile c++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT chunk_manager.lo -MD -MP -MF .deps/chunk_manager.Tpo -c -o chunk_manager.lo chunk_manager.cc c++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT chunk_manager.lo -MD -MP -MF .deps/chunk_manager.Tpo -c chunk_manager.cc -fPIC -DPIC -o .libs/chunk_manager.o In file included from chunk_manager.cc:43: In file included from ./../data/chunk_list.h:44: ./../data/chunk.h:124:57: warning: 'mem_fun_ref' is deprecated [-Wdeprecated-declarations] return std::find_if(begin(), end(), std::bind2nd(std::mem_fun_ref(&ChunkPart::has_address), ptr)); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:164:1: note: 'mem_fun_ref' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from chunk_manager.cc:43: In file included from ./../data/chunk_list.h:44: ./../data/chunk.h:124:44: warning: 'bind2nd, void *>' is deprecated [-Wdeprecated-declarations] return std::find_if(begin(), end(), std::bind2nd(std::mem_fun_ref(&ChunkPart::has_address), ptr)); ^ /usr/include/c++/v1/__functional/binder2nd.h:44:1: note: 'bind2nd, void *>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from chunk_manager.cc:48: In file included from ./../globals.h:41: ../../rak/priority_queue_default.h:56:7: warning: '~priority_item' has a non-throwing exception specification but can still throw [-Wexceptions] throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); ^ ../../rak/priority_queue_default.h:54:3: note: destructor has a implicit non-throwing exception specification ~priority_item() { ^ chunk_manager.cc:78:5: warning: '~ChunkManager' has a non-throwing exception specification but can still throw [-Wexceptions] throw internal_error("ChunkManager::~ChunkManager() m_memoryUsage != 0 || m_memoryBlockCount != 0."); ^ chunk_manager.cc:76:15: note: destructor has a implicit non-throwing exception specification ChunkManager::~ChunkManager() { ^ In file included from chunk_manager.cc:48: In file included from ./../globals.h:41: In file included from ../../rak/priority_queue_default.h:42: ../../rak/priority_queue.h:84:46: warning: 'bind2nd, rak::priority_item *>' is deprecated [-Wdeprecated-declarations] return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); ^ ../../rak/priority_queue_default.h:113:14: note: in instantiation of function template specialization 'rak::priority_queue, rak::cacheline_allocator>::find' requested here if (queue->find(item) != queue->end()) ^ /usr/include/c++/v1/__functional/binder2nd.h:44:1: note: 'bind2nd, rak::priority_item *>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ 5 warnings generated. c++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT chunk_manager.lo -MD -MP -MF .deps/chunk_manager.Tpo -c chunk_manager.cc -o chunk_manager.o In file included from chunk_manager.cc:43: In file included from ./../data/chunk_list.h:44: ./../data/chunk.h:124:57: warning: 'mem_fun_ref' is deprecated [-Wdeprecated-declarations] return std::find_if(begin(), end(), std::bind2nd(std::mem_fun_ref(&ChunkPart::has_address), ptr)); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:164:1: note: 'mem_fun_ref' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from chunk_manager.cc:43: In file included from ./../data/chunk_list.h:44: ./../data/chunk.h:124:44: warning: 'bind2nd, void *>' is deprecated [-Wdeprecated-declarations] return std::find_if(begin(), end(), std::bind2nd(std::mem_fun_ref(&ChunkPart::has_address), ptr)); ^ /usr/include/c++/v1/__functional/binder2nd.h:44:1: note: 'bind2nd, void *>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from chunk_manager.cc:48: In file included from ./../globals.h:41: ../../rak/priority_queue_default.h:56:7: warning: '~priority_item' has a non-throwing exception specification but can still throw [-Wexceptions] throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); ^ ../../rak/priority_queue_default.h:54:3: note: destructor has a implicit non-throwing exception specification ~priority_item() { ^ chunk_manager.cc:78:5: warning: '~ChunkManager' has a non-throwing exception specification but can still throw [-Wexceptions] throw internal_error("ChunkManager::~ChunkManager() m_memoryUsage != 0 || m_memoryBlockCount != 0."); ^ chunk_manager.cc:76:15: note: destructor has a implicit non-throwing exception specification ChunkManager::~ChunkManager() { ^ In file included from chunk_manager.cc:48: In file included from ./../globals.h:41: In file included from ../../rak/priority_queue_default.h:42: ../../rak/priority_queue.h:84:46: warning: 'bind2nd, rak::priority_item *>' is deprecated [-Wdeprecated-declarations] return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); ^ ../../rak/priority_queue_default.h:113:14: note: in instantiation of function template specialization 'rak::priority_queue, rak::cacheline_allocator>::find' requested here if (queue->find(item) != queue->end()) ^ /usr/include/c++/v1/__functional/binder2nd.h:44:1: note: 'bind2nd, rak::priority_item *>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ 5 warnings generated. mv -f .deps/chunk_manager.Tpo .deps/chunk_manager.Plo /usr/bin/libtool --tag=CXX --mode=compile c++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT connection_manager.lo -MD -MP -MF .deps/connection_manager.Tpo -c -o connection_manager.lo connection_manager.cc c++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT connection_manager.lo -MD -MP -MF .deps/connection_manager.Tpo -c connection_manager.cc -fPIC -DPIC -o .libs/connection_manager.o In file included from connection_manager.cc:49: In file included from ./../manager.h:42: ../../rak/priority_queue_default.h:56:7: warning: '~priority_item' has a non-throwing exception specification but can still throw [-Wexceptions] throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); ^ ../../rak/priority_queue_default.h:54:3: note: destructor has a implicit non-throwing exception specification ~priority_item() { ^ In file included from connection_manager.cc:49: In file included from ./../manager.h:42: In file included from ../../rak/priority_queue_default.h:42: ../../rak/priority_queue.h:84:46: warning: 'bind2nd, rak::priority_item *>' is deprecated [-Wdeprecated-declarations] return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); ^ ../../rak/priority_queue_default.h:113:14: note: in instantiation of function template specialization 'rak::priority_queue, rak::cacheline_allocator>::find' requested here if (queue->find(item) != queue->end()) ^ /usr/include/c++/v1/__functional/binder2nd.h:44:1: note: 'bind2nd, rak::priority_item *>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ 2 warnings generated. c++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT connection_manager.lo -MD -MP -MF .deps/connection_manager.Tpo -c connection_manager.cc -o connection_manager.o In file included from connection_manager.cc:49: In file included from ./../manager.h:42: ../../rak/priority_queue_default.h:56:7: warning: '~priority_item' has a non-throwing exception specification but can still throw [-Wexceptions] throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); ^ ../../rak/priority_queue_default.h:54:3: note: destructor has a implicit non-throwing exception specification ~priority_item() { ^ In file included from connection_manager.cc:49: In file included from ./../manager.h:42: In file included from ../../rak/priority_queue_default.h:42: ../../rak/priority_queue.h:84:46: warning: 'bind2nd, rak::priority_item *>' is deprecated [-Wdeprecated-declarations] return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); ^ ../../rak/priority_queue_default.h:113:14: note: in instantiation of function template specialization 'rak::priority_queue, rak::cacheline_allocator>::find' requested here if (queue->find(item) != queue->end()) ^ /usr/include/c++/v1/__functional/binder2nd.h:44:1: note: 'bind2nd, rak::priority_item *>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ 2 warnings generated. mv -f .deps/connection_manager.Tpo .deps/connection_manager.Plo /usr/bin/libtool --tag=CXX --mode=compile c++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT dht_manager.lo -MD -MP -MF .deps/dht_manager.Tpo -c -o dht_manager.lo dht_manager.cc c++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT dht_manager.lo -MD -MP -MF .deps/dht_manager.Tpo -c dht_manager.cc -fPIC -DPIC -o .libs/dht_manager.o In file included from dht_manager.cc:42: In file included from ./../manager.h:42: ../../rak/priority_queue_default.h:56:7: warning: '~priority_item' has a non-throwing exception specification but can still throw [-Wexceptions] throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); ^ ../../rak/priority_queue_default.h:54:3: note: destructor has a implicit non-throwing exception specification ~priority_item() { ^ In file included from dht_manager.cc:43: In file included from ./../dht/dht_router.h:48: In file included from ./../dht/dht_hash_map.h:51: In file included from ./../dht/dht_tracker.h:45: ./../net/address_list.h:61:36: warning: 'unary_function' is deprecated [-Wdeprecated-declarations] struct add_address : public std::unary_function { ^ /usr/include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from dht_manager.cc:43: In file included from ./../dht/dht_router.h:48: ./../dht/dht_hash_map.h:67:42: warning: 'unary_function' is deprecated [-Wdeprecated-declarations] struct hashstring_ptr_hash : public std::unary_function { ^ /usr/include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from dht_manager.cc:43: In file included from ./../dht/dht_router.h:48: ./../dht/dht_hash_map.h:84:38: warning: 'unary_function' is deprecated [-Wdeprecated-declarations] struct hashstring_hash : public std::unary_function { ^ /usr/include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from dht_manager.cc:43: In file included from ./../dht/dht_router.h:48: ./../dht/dht_hash_map.h:102:43: warning: 'binary_function' is deprecated [-Wdeprecated-declarations] struct hashstring_ptr_equal : public std::binary_function { ^ /usr/include/c++/v1/__functional/binary_function.h:24:29: note: 'binary_function' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 binary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from dht_manager.cc:43: In file included from ./../dht/dht_router.h:49: In file included from ./../dht/dht_server.h:50: ./../dht/dht_transaction.h:73:41: warning: 'binary_function' is deprecated [-Wdeprecated-declarations] struct dht_compare_closer : public std::binary_function { ^ /usr/include/c++/v1/__functional/binary_function.h:24:29: note: 'binary_function' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 binary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from dht_manager.cc:42: In file included from ./../manager.h:42: In file included from ../../rak/priority_queue_default.h:42: ../../rak/priority_queue.h:84:46: warning: 'bind2nd, rak::priority_item *>' is deprecated [-Wdeprecated-declarations] return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); ^ ../../rak/priority_queue_default.h:113:14: note: in instantiation of function template specialization 'rak::priority_queue, rak::cacheline_allocator>::find' requested here if (queue->find(item) != queue->end()) ^ /usr/include/c++/v1/__functional/binder2nd.h:44:1: note: 'bind2nd, rak::priority_item *>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ 7 warnings generated. c++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT dht_manager.lo -MD -MP -MF .deps/dht_manager.Tpo -c dht_manager.cc -o dht_manager.o In file included from dht_manager.cc:42: In file included from ./../manager.h:42: ../../rak/priority_queue_default.h:56:7: warning: '~priority_item' has a non-throwing exception specification but can still throw [-Wexceptions] throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); ^ ../../rak/priority_queue_default.h:54:3: note: destructor has a implicit non-throwing exception specification ~priority_item() { ^ In file included from dht_manager.cc:43: In file included from ./../dht/dht_router.h:48: In file included from ./../dht/dht_hash_map.h:51: In file included from ./../dht/dht_tracker.h:45: ./../net/address_list.h:61:36: warning: 'unary_function' is deprecated [-Wdeprecated-declarations] struct add_address : public std::unary_function { ^ /usr/include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from dht_manager.cc:43: In file included from ./../dht/dht_router.h:48: ./../dht/dht_hash_map.h:67:42: warning: 'unary_function' is deprecated [-Wdeprecated-declarations] struct hashstring_ptr_hash : public std::unary_function { ^ /usr/include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from dht_manager.cc:43: In file included from ./../dht/dht_router.h:48: ./../dht/dht_hash_map.h:84:38: warning: 'unary_function' is deprecated [-Wdeprecated-declarations] struct hashstring_hash : public std::unary_function { ^ /usr/include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from dht_manager.cc:43: In file included from ./../dht/dht_router.h:48: ./../dht/dht_hash_map.h:102:43: warning: 'binary_function' is deprecated [-Wdeprecated-declarations] struct hashstring_ptr_equal : public std::binary_function { ^ /usr/include/c++/v1/__functional/binary_function.h:24:29: note: 'binary_function' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 binary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from dht_manager.cc:43: In file included from ./../dht/dht_router.h:49: In file included from ./../dht/dht_server.h:50: ./../dht/dht_transaction.h:73:41: warning: 'binary_function' is deprecated [-Wdeprecated-declarations] struct dht_compare_closer : public std::binary_function { ^ /usr/include/c++/v1/__functional/binary_function.h:24:29: note: 'binary_function' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 binary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from dht_manager.cc:42: In file included from ./../manager.h:42: In file included from ../../rak/priority_queue_default.h:42: ../../rak/priority_queue.h:84:46: warning: 'bind2nd, rak::priority_item *>' is deprecated [-Wdeprecated-declarations] return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); ^ ../../rak/priority_queue_default.h:113:14: note: in instantiation of function template specialization 'rak::priority_queue, rak::cacheline_allocator>::find' requested here if (queue->find(item) != queue->end()) ^ /usr/include/c++/v1/__functional/binder2nd.h:44:1: note: 'bind2nd, rak::priority_item *>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ 7 warnings generated. mv -f .deps/dht_manager.Tpo .deps/dht_manager.Plo /usr/bin/libtool --tag=CXX --mode=compile c++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT download.lo -MD -MP -MF .deps/download.Tpo -c -o download.lo download.cc c++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT download.lo -MD -MP -MF .deps/download.Tpo -c download.cc -fPIC -DPIC -o .libs/download.o In file included from download.cc:43: In file included from ./data/block.h:42: ./../torrent/data/block_transfer.h:132:5: warning: '~BlockTransfer' has a non-throwing exception specification but can still throw [-Wexceptions] throw internal_error("BlockTransfer::~BlockTransfer() peer_info not NULL"); ^ ./../torrent/data/block_transfer.h:127:16: note: destructor has a implicit non-throwing exception specification BlockTransfer::~BlockTransfer() { ^ ./../torrent/data/block_transfer.h:129:5: warning: '~BlockTransfer' has a non-throwing exception specification but can still throw [-Wexceptions] throw internal_error("BlockTransfer::~BlockTransfer() block not NULL"); ^ ./../torrent/data/block_transfer.h:127:16: note: destructor has a implicit non-throwing exception specification BlockTransfer::~BlockTransfer() { ^ In file included from download.cc:45: In file included from ./../data/chunk_list.h:44: ./../data/chunk.h:124:57: warning: 'mem_fun_ref' is deprecated [-Wdeprecated-declarations] return std::find_if(begin(), end(), std::bind2nd(std::mem_fun_ref(&ChunkPart::has_address), ptr)); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:164:1: note: 'mem_fun_ref' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from download.cc:45: In file included from ./../data/chunk_list.h:44: ./../data/chunk.h:124:44: warning: 'bind2nd, void *>' is deprecated [-Wdeprecated-declarations] return std::find_if(begin(), end(), std::bind2nd(std::mem_fun_ref(&ChunkPart::has_address), ptr)); ^ /usr/include/c++/v1/__functional/binder2nd.h:44:1: note: 'bind2nd, void *>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from download.cc:47: In file included from ./../data/hash_torrent.h:43: ../../rak/priority_queue_default.h:56:7: warning: '~priority_item' has a non-throwing exception specification but can still throw [-Wexceptions] throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); ^ ../../rak/priority_queue_default.h:54:3: note: destructor has a implicit non-throwing exception specification ~priority_item() { ^ In file included from download.cc:48: In file included from ./../download/available_list.h:45: ./../net/address_list.h:61:36: warning: 'unary_function' is deprecated [-Wdeprecated-declarations] struct add_address : public std::unary_function { ^ /usr/include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from download.cc:51: In file included from ./../download/download_wrapper.h:41: In file included from ./../download/download_main.h:52: ./../torrent/data/file_list.h:202:79: warning: 'mem_fun' is deprecated [-Wdeprecated-declarations] return std::find_if(file_list->begin(), file_list->end(), std::bind2nd(std::mem_fun(&File::is_valid_position), pos)); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:128:1: note: 'mem_fun' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from download.cc:51: In file included from ./../download/download_wrapper.h:41: In file included from ./../download/download_main.h:52: ./../torrent/data/file_list.h:202:66: warning: 'bind2nd, unsigned long long>' is deprecated [-Wdeprecated-declarations] return std::find_if(file_list->begin(), file_list->end(), std::bind2nd(std::mem_fun(&File::is_valid_position), pos)); ^ /usr/include/c++/v1/__functional/binder2nd.h:44:1: note: 'bind2nd, unsigned long long>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from download.cc:47: In file included from ./../data/hash_torrent.h:46: In file included from ./../torrent/utils/ranges.h:44: ../../rak/functional.h:551:30: warning: 'binary_function' is deprecated [-Wdeprecated-declarations] class mem_fun2 : public std::binary_function { ^ ./../download/download_main.h:201:29: note: in instantiation of template class 'rak::mem_fun2' requested here slot_start_handshake_type m_slotStartHandshake; ^ /usr/include/c++/v1/__functional/binary_function.h:24:29: note: 'binary_function' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 binary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from download.cc:47: In file included from ./../data/hash_torrent.h:43: In file included from ../../rak/priority_queue_default.h:42: ../../rak/priority_queue.h:84:46: warning: 'bind2nd, rak::priority_item *>' is deprecated [-Wdeprecated-declarations] return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); ^ ../../rak/priority_queue_default.h:113:14: note: in instantiation of function template specialization 'rak::priority_queue, rak::cacheline_allocator>::find' requested here if (queue->find(item) != queue->end()) ^ /usr/include/c++/v1/__functional/binder2nd.h:44:1: note: 'bind2nd, rak::priority_item *>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from download.cc:47: In file included from ./../data/hash_torrent.h:46: In file included from ./../torrent/utils/ranges.h:44: ../../rak/functional.h:352:38: warning: 'unary_function &, const unsigned int &>' is deprecated [-Wdeprecated-declarations] struct const_mem_ref_t : public std::unary_function { ^ ./../torrent/utils/ranges.h:97:74: note: in instantiation of template class 'rak::const_mem_ref_t, unsigned int>' requested here iterator first = std::find_if(begin(), end(), rak::less_equal(r.first, rak::const_mem_ref(&value_type::second))); ^ ./../torrent/utils/ranges.h:72:67: note: in instantiation of member function 'torrent::ranges::insert' requested here void insert(bound_type first, bound_type last) { insert(std::make_pair(first, last)); } ^ download.cc:102:43: note: in instantiation of member function 'torrent::ranges::insert' requested here m_ptr->hash_checker()->hashing_ranges().insert(0, m_ptr->main()->file_list()->size_chunks()); ^ /usr/include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function &, const unsigned int &>' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ 11 warnings generated. c++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT download.lo -MD -MP -MF .deps/download.Tpo -c download.cc -o download.o In file included from download.cc:43: In file included from ./data/block.h:42: ./../torrent/data/block_transfer.h:132:5: warning: '~BlockTransfer' has a non-throwing exception specification but can still throw [-Wexceptions] throw internal_error("BlockTransfer::~BlockTransfer() peer_info not NULL"); ^ ./../torrent/data/block_transfer.h:127:16: note: destructor has a implicit non-throwing exception specification BlockTransfer::~BlockTransfer() { ^ ./../torrent/data/block_transfer.h:129:5: warning: '~BlockTransfer' has a non-throwing exception specification but can still throw [-Wexceptions] throw internal_error("BlockTransfer::~BlockTransfer() block not NULL"); ^ ./../torrent/data/block_transfer.h:127:16: note: destructor has a implicit non-throwing exception specification BlockTransfer::~BlockTransfer() { ^ In file included from download.cc:45: In file included from ./../data/chunk_list.h:44: ./../data/chunk.h:124:57: warning: 'mem_fun_ref' is deprecated [-Wdeprecated-declarations] return std::find_if(begin(), end(), std::bind2nd(std::mem_fun_ref(&ChunkPart::has_address), ptr)); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:164:1: note: 'mem_fun_ref' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from download.cc:45: In file included from ./../data/chunk_list.h:44: ./../data/chunk.h:124:44: warning: 'bind2nd, void *>' is deprecated [-Wdeprecated-declarations] return std::find_if(begin(), end(), std::bind2nd(std::mem_fun_ref(&ChunkPart::has_address), ptr)); ^ /usr/include/c++/v1/__functional/binder2nd.h:44:1: note: 'bind2nd, void *>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from download.cc:47: In file included from ./../data/hash_torrent.h:43: ../../rak/priority_queue_default.h:56:7: warning: '~priority_item' has a non-throwing exception specification but can still throw [-Wexceptions] throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); ^ ../../rak/priority_queue_default.h:54:3: note: destructor has a implicit non-throwing exception specification ~priority_item() { ^ In file included from download.cc:48: In file included from ./../download/available_list.h:45: ./../net/address_list.h:61:36: warning: 'unary_function' is deprecated [-Wdeprecated-declarations] struct add_address : public std::unary_function { ^ /usr/include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from download.cc:51: In file included from ./../download/download_wrapper.h:41: In file included from ./../download/download_main.h:52: ./../torrent/data/file_list.h:202:79: warning: 'mem_fun' is deprecated [-Wdeprecated-declarations] return std::find_if(file_list->begin(), file_list->end(), std::bind2nd(std::mem_fun(&File::is_valid_position), pos)); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:128:1: note: 'mem_fun' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from download.cc:51: In file included from ./../download/download_wrapper.h:41: In file included from ./../download/download_main.h:52: ./../torrent/data/file_list.h:202:66: warning: 'bind2nd, unsigned long long>' is deprecated [-Wdeprecated-declarations] return std::find_if(file_list->begin(), file_list->end(), std::bind2nd(std::mem_fun(&File::is_valid_position), pos)); ^ /usr/include/c++/v1/__functional/binder2nd.h:44:1: note: 'bind2nd, unsigned long long>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from download.cc:47: In file included from ./../data/hash_torrent.h:46: In file included from ./../torrent/utils/ranges.h:44: ../../rak/functional.h:551:30: warning: 'binary_function' is deprecated [-Wdeprecated-declarations] class mem_fun2 : public std::binary_function { ^ ./../download/download_main.h:201:29: note: in instantiation of template class 'rak::mem_fun2' requested here slot_start_handshake_type m_slotStartHandshake; ^ /usr/include/c++/v1/__functional/binary_function.h:24:29: note: 'binary_function' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 binary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from download.cc:47: In file included from ./../data/hash_torrent.h:43: In file included from ../../rak/priority_queue_default.h:42: ../../rak/priority_queue.h:84:46: warning: 'bind2nd, rak::priority_item *>' is deprecated [-Wdeprecated-declarations] return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); ^ ../../rak/priority_queue_default.h:113:14: note: in instantiation of function template specialization 'rak::priority_queue, rak::cacheline_allocator>::find' requested here if (queue->find(item) != queue->end()) ^ /usr/include/c++/v1/__functional/binder2nd.h:44:1: note: 'bind2nd, rak::priority_item *>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from download.cc:47: In file included from ./../data/hash_torrent.h:46: In file included from ./../torrent/utils/ranges.h:44: ../../rak/functional.h:352:38: warning: 'unary_function &, const unsigned int &>' is deprecated [-Wdeprecated-declarations] struct const_mem_ref_t : public std::unary_function { ^ ./../torrent/utils/ranges.h:97:74: note: in instantiation of template class 'rak::const_mem_ref_t, unsigned int>' requested here iterator first = std::find_if(begin(), end(), rak::less_equal(r.first, rak::const_mem_ref(&value_type::second))); ^ ./../torrent/utils/ranges.h:72:67: note: in instantiation of member function 'torrent::ranges::insert' requested here void insert(bound_type first, bound_type last) { insert(std::make_pair(first, last)); } ^ download.cc:102:43: note: in instantiation of member function 'torrent::ranges::insert' requested here m_ptr->hash_checker()->hashing_ranges().insert(0, m_ptr->main()->file_list()->size_chunks()); ^ /usr/include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function &, const unsigned int &>' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ 11 warnings generated. mv -f .deps/download.Tpo .deps/download.Plo /usr/bin/libtool --tag=CXX --mode=compile c++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT error.lo -MD -MP -MF .deps/error.Tpo -c -o error.lo error.cc c++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT error.lo -MD -MP -MF .deps/error.Tpo -c error.cc -fPIC -DPIC -o .libs/error.o c++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT error.lo -MD -MP -MF .deps/error.Tpo -c error.cc -o error.o mv -f .deps/error.Tpo .deps/error.Plo /usr/bin/libtool --tag=CXX --mode=compile c++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT exceptions.lo -MD -MP -MF .deps/exceptions.Tpo -c -o exceptions.lo exceptions.cc c++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT exceptions.lo -MD -MP -MF .deps/exceptions.Tpo -c exceptions.cc -fPIC -DPIC -o .libs/exceptions.o c++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT exceptions.lo -MD -MP -MF .deps/exceptions.Tpo -c exceptions.cc -o exceptions.o mv -f .deps/exceptions.Tpo .deps/exceptions.Plo /usr/bin/libtool --tag=CXX --mode=compile c++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT hash_string.lo -MD -MP -MF .deps/hash_string.Tpo -c -o hash_string.lo hash_string.cc c++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT hash_string.lo -MD -MP -MF .deps/hash_string.Tpo -c hash_string.cc -fPIC -DPIC -o .libs/hash_string.o c++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT hash_string.lo -MD -MP -MF .deps/hash_string.Tpo -c hash_string.cc -o hash_string.o mv -f .deps/hash_string.Tpo .deps/hash_string.Plo /usr/bin/libtool --tag=CXX --mode=compile c++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT http.lo -MD -MP -MF .deps/http.Tpo -c -o http.lo http.cc c++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT http.lo -MD -MP -MF .deps/http.Tpo -c http.cc -fPIC -DPIC -o .libs/http.o c++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT http.lo -MD -MP -MF .deps/http.Tpo -c http.cc -o http.o mv -f .deps/http.Tpo .deps/http.Plo /usr/bin/libtool --tag=CXX --mode=compile c++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT object.lo -MD -MP -MF .deps/object.Tpo -c -o object.lo object.cc c++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT object.lo -MD -MP -MF .deps/object.Tpo -c object.cc -fPIC -DPIC -o .libs/object.o In file included from object.cc:41: ../../rak/functional.h:341:32: warning: 'unary_function &, const std::string &>' is deprecated [-Wdeprecated-declarations] struct mem_ref_t : public std::unary_function { ^ object.cc:153:82: note: in instantiation of template class 'rak::mem_ref_t, const std::string>' requested here destItr = std::find_if(destItr, dest.end(), rak::less_equal(srcItr->first, rak::mem_ref(&map_type::value_type::first))); ^ /usr/include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function &, const std::string &>' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ 1 warning generated. c++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT object.lo -MD -MP -MF .deps/object.Tpo -c object.cc -o object.o In file included from object.cc:41: ../../rak/functional.h:341:32: warning: 'unary_function &, const std::string &>' is deprecated [-Wdeprecated-declarations] struct mem_ref_t : public std::unary_function { ^ object.cc:153:82: note: in instantiation of template class 'rak::mem_ref_t, const std::string>' requested here destItr = std::find_if(destItr, dest.end(), rak::less_equal(srcItr->first, rak::mem_ref(&map_type::value_type::first))); ^ /usr/include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function &, const std::string &>' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ 1 warning generated. mv -f .deps/object.Tpo .deps/object.Plo /usr/bin/libtool --tag=CXX --mode=compile c++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT object_static_map.lo -MD -MP -MF .deps/object_static_map.Tpo -c -o object_static_map.lo object_static_map.cc c++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT object_static_map.lo -MD -MP -MF .deps/object_static_map.Tpo -c object_static_map.cc -fPIC -DPIC -o .libs/object_static_map.o c++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT object_static_map.lo -MD -MP -MF .deps/object_static_map.Tpo -c object_static_map.cc -o object_static_map.o mv -f .deps/object_static_map.Tpo .deps/object_static_map.Plo /usr/bin/libtool --tag=CXX --mode=compile c++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT object_stream.lo -MD -MP -MF .deps/object_stream.Tpo -c -o object_stream.lo object_stream.cc c++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT object_stream.lo -MD -MP -MF .deps/object_stream.Tpo -c object_stream.cc -fPIC -DPIC -o .libs/object_stream.o c++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT object_stream.lo -MD -MP -MF .deps/object_stream.Tpo -c object_stream.cc -o object_stream.o mv -f .deps/object_stream.Tpo .deps/object_stream.Plo /usr/bin/libtool --tag=CXX --mode=compile c++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT path.lo -MD -MP -MF .deps/path.Tpo -c -o path.lo path.cc c++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT path.lo -MD -MP -MF .deps/path.Tpo -c path.cc -fPIC -DPIC -o .libs/path.o c++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT path.lo -MD -MP -MF .deps/path.Tpo -c path.cc -o path.o mv -f .deps/path.Tpo .deps/path.Plo /usr/bin/libtool --tag=CXX --mode=compile c++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT poll_epoll.lo -MD -MP -MF .deps/poll_epoll.Tpo -c -o poll_epoll.lo poll_epoll.cc c++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT poll_epoll.lo -MD -MP -MF .deps/poll_epoll.Tpo -c poll_epoll.cc -fPIC -DPIC -o .libs/poll_epoll.o c++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT poll_epoll.lo -MD -MP -MF .deps/poll_epoll.Tpo -c poll_epoll.cc -o poll_epoll.o mv -f .deps/poll_epoll.Tpo .deps/poll_epoll.Plo /usr/bin/libtool --tag=CXX --mode=compile c++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT poll_kqueue.lo -MD -MP -MF .deps/poll_kqueue.Tpo -c -o poll_kqueue.lo poll_kqueue.cc c++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT poll_kqueue.lo -MD -MP -MF .deps/poll_kqueue.Tpo -c poll_kqueue.cc -fPIC -DPIC -o .libs/poll_kqueue.o In file included from poll_kqueue.cc:51: ../../rak/functional.h:341:32: warning: 'unary_function' is deprecated [-Wdeprecated-declarations] struct mem_ref_t : public std::unary_function { ^ poll_kqueue.cc:317:54: note: in instantiation of template class 'rak::mem_ref_t' requested here rak::equal(event, rak::mem_ref(&kevent::udata))) - m_changes; ^ /usr/include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ 1 warning generated. c++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT poll_kqueue.lo -MD -MP -MF .deps/poll_kqueue.Tpo -c poll_kqueue.cc -o poll_kqueue.o In file included from poll_kqueue.cc:51: ../../rak/functional.h:341:32: warning: 'unary_function' is deprecated [-Wdeprecated-declarations] struct mem_ref_t : public std::unary_function { ^ poll_kqueue.cc:317:54: note: in instantiation of template class 'rak::mem_ref_t' requested here rak::equal(event, rak::mem_ref(&kevent::udata))) - m_changes; ^ /usr/include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ 1 warning generated. mv -f .deps/poll_kqueue.Tpo .deps/poll_kqueue.Plo /usr/bin/libtool --tag=CXX --mode=compile c++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT poll_select.lo -MD -MP -MF .deps/poll_select.Tpo -c -o poll_select.lo poll_select.cc c++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT poll_select.lo -MD -MP -MF .deps/poll_select.Tpo -c poll_select.cc -fPIC -DPIC -o .libs/poll_select.o poll_select.cc:163:5: warning: '~PollSelect' has a non-throwing exception specification but can still throw [-Wexceptions] throw internal_error("PollSelect::~PollSelect() called but the sets are not empty"); ^ poll_select.cc:156:13: note: destructor has a implicit non-throwing exception specification PollSelect::~PollSelect() { ^ poll_select.cc:211:59: warning: 'mem_fun' is deprecated [-Wdeprecated-declarations] poll_check(this, exceptSet, std::mem_fun(&Event::event_error))); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:50:1: note: 'mem_fun' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ poll_select.cc:215:57: warning: 'mem_fun' is deprecated [-Wdeprecated-declarations] poll_check(this, readSet, std::mem_fun(&Event::event_read))); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:50:1: note: 'mem_fun' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ poll_select.cc:219:58: warning: 'mem_fun' is deprecated [-Wdeprecated-declarations] poll_check(this, writeSet, std::mem_fun(&Event::event_write))); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:50:1: note: 'mem_fun' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ 4 warnings generated. c++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT poll_select.lo -MD -MP -MF .deps/poll_select.Tpo -c poll_select.cc -o poll_select.o poll_select.cc:163:5: warning: '~PollSelect' has a non-throwing exception specification but can still throw [-Wexceptions] throw internal_error("PollSelect::~PollSelect() called but the sets are not empty"); ^ poll_select.cc:156:13: note: destructor has a implicit non-throwing exception specification PollSelect::~PollSelect() { ^ poll_select.cc:211:59: warning: 'mem_fun' is deprecated [-Wdeprecated-declarations] poll_check(this, exceptSet, std::mem_fun(&Event::event_error))); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:50:1: note: 'mem_fun' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ poll_select.cc:215:57: warning: 'mem_fun' is deprecated [-Wdeprecated-declarations] poll_check(this, readSet, std::mem_fun(&Event::event_read))); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:50:1: note: 'mem_fun' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ poll_select.cc:219:58: warning: 'mem_fun' is deprecated [-Wdeprecated-declarations] poll_check(this, writeSet, std::mem_fun(&Event::event_write))); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:50:1: note: 'mem_fun' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ 4 warnings generated. mv -f .deps/poll_select.Tpo .deps/poll_select.Plo /usr/bin/libtool --tag=CXX --mode=compile c++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT rate.lo -MD -MP -MF .deps/rate.Tpo -c -o rate.lo rate.cc c++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT rate.lo -MD -MP -MF .deps/rate.Tpo -c rate.cc -fPIC -DPIC -o .libs/rate.o In file included from rate.cc:39: In file included from ./../globals.h:41: ../../rak/priority_queue_default.h:56:7: warning: '~priority_item' has a non-throwing exception specification but can still throw [-Wexceptions] throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); ^ ../../rak/priority_queue_default.h:54:3: note: destructor has a implicit non-throwing exception specification ~priority_item() { ^ In file included from rate.cc:39: In file included from ./../globals.h:41: In file included from ../../rak/priority_queue_default.h:42: ../../rak/priority_queue.h:84:46: warning: 'bind2nd, rak::priority_item *>' is deprecated [-Wdeprecated-declarations] return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); ^ ../../rak/priority_queue_default.h:113:14: note: in instantiation of function template specialization 'rak::priority_queue, rak::cacheline_allocator>::find' requested here if (queue->find(item) != queue->end()) ^ /usr/include/c++/v1/__functional/binder2nd.h:44:1: note: 'bind2nd, rak::priority_item *>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ 2 warnings generated. c++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT rate.lo -MD -MP -MF .deps/rate.Tpo -c rate.cc -o rate.o In file included from rate.cc:39: In file included from ./../globals.h:41: ../../rak/priority_queue_default.h:56:7: warning: '~priority_item' has a non-throwing exception specification but can still throw [-Wexceptions] throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); ^ ../../rak/priority_queue_default.h:54:3: note: destructor has a implicit non-throwing exception specification ~priority_item() { ^ In file included from rate.cc:39: In file included from ./../globals.h:41: In file included from ../../rak/priority_queue_default.h:42: ../../rak/priority_queue.h:84:46: warning: 'bind2nd, rak::priority_item *>' is deprecated [-Wdeprecated-declarations] return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); ^ ../../rak/priority_queue_default.h:113:14: note: in instantiation of function template specialization 'rak::priority_queue, rak::cacheline_allocator>::find' requested here if (queue->find(item) != queue->end()) ^ /usr/include/c++/v1/__functional/binder2nd.h:44:1: note: 'bind2nd, rak::priority_item *>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ 2 warnings generated. mv -f .deps/rate.Tpo .deps/rate.Plo /usr/bin/libtool --tag=CXX --mode=compile c++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT throttle.lo -MD -MP -MF .deps/throttle.Tpo -c -o throttle.lo throttle.cc c++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT throttle.lo -MD -MP -MF .deps/throttle.Tpo -c throttle.cc -fPIC -DPIC -o .libs/throttle.o In file included from throttle.cc:41: In file included from ./../net/throttle_internal.h:41: ../../rak/priority_queue_default.h:56:7: warning: '~priority_item' has a non-throwing exception specification but can still throw [-Wexceptions] throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); ^ ../../rak/priority_queue_default.h:54:3: note: destructor has a implicit non-throwing exception specification ~priority_item() { ^ In file included from throttle.cc:41: In file included from ./../net/throttle_internal.h:41: In file included from ../../rak/priority_queue_default.h:42: ../../rak/priority_queue.h:84:46: warning: 'bind2nd, rak::priority_item *>' is deprecated [-Wdeprecated-declarations] return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); ^ ../../rak/priority_queue_default.h:113:14: note: in instantiation of function template specialization 'rak::priority_queue, rak::cacheline_allocator>::find' requested here if (queue->find(item) != queue->end()) ^ /usr/include/c++/v1/__functional/binder2nd.h:44:1: note: 'bind2nd, rak::priority_item *>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ 2 warnings generated. c++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT throttle.lo -MD -MP -MF .deps/throttle.Tpo -c throttle.cc -o throttle.o In file included from throttle.cc:41: In file included from ./../net/throttle_internal.h:41: ../../rak/priority_queue_default.h:56:7: warning: '~priority_item' has a non-throwing exception specification but can still throw [-Wexceptions] throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); ^ ../../rak/priority_queue_default.h:54:3: note: destructor has a implicit non-throwing exception specification ~priority_item() { ^ In file included from throttle.cc:41: In file included from ./../net/throttle_internal.h:41: In file included from ../../rak/priority_queue_default.h:42: ../../rak/priority_queue.h:84:46: warning: 'bind2nd, rak::priority_item *>' is deprecated [-Wdeprecated-declarations] return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); ^ ../../rak/priority_queue_default.h:113:14: note: in instantiation of function template specialization 'rak::priority_queue, rak::cacheline_allocator>::find' requested here if (queue->find(item) != queue->end()) ^ /usr/include/c++/v1/__functional/binder2nd.h:44:1: note: 'bind2nd, rak::priority_item *>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ 2 warnings generated. mv -f .deps/throttle.Tpo .deps/throttle.Plo /usr/bin/libtool --tag=CXX --mode=compile c++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT torrent.lo -MD -MP -MF .deps/torrent.Tpo -c -o torrent.lo torrent.cc c++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT torrent.lo -MD -MP -MF .deps/torrent.Tpo -c torrent.cc -fPIC -DPIC -o .libs/torrent.o In file included from torrent.cc:50: In file included from ./../manager.h:42: ../../rak/priority_queue_default.h:56:7: warning: '~priority_item' has a non-throwing exception specification but can still throw [-Wexceptions] throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); ^ ../../rak/priority_queue_default.h:54:3: note: destructor has a implicit non-throwing exception specification ~priority_item() { ^ In file included from torrent.cc:55: In file included from ./../data/hash_queue.h:46: In file included from ./../data/hash_queue_node.h:45: In file included from ./../data/hash_chunk.h:43: ./../data/chunk.h:124:57: warning: 'mem_fun_ref' is deprecated [-Wdeprecated-declarations] return std::find_if(begin(), end(), std::bind2nd(std::mem_fun_ref(&ChunkPart::has_address), ptr)); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:164:1: note: 'mem_fun_ref' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from torrent.cc:55: In file included from ./../data/hash_queue.h:46: In file included from ./../data/hash_queue_node.h:45: In file included from ./../data/hash_chunk.h:43: ./../data/chunk.h:124:44: warning: 'bind2nd, void *>' is deprecated [-Wdeprecated-declarations] return std::find_if(begin(), end(), std::bind2nd(std::mem_fun_ref(&ChunkPart::has_address), ptr)); ^ /usr/include/c++/v1/__functional/binder2nd.h:44:1: note: 'bind2nd, void *>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from torrent.cc:59: In file included from ./../download/download_wrapper.h:41: In file included from ./../download/download_main.h:48: In file included from ./../download/available_list.h:45: ./../net/address_list.h:61:36: warning: 'unary_function' is deprecated [-Wdeprecated-declarations] struct add_address : public std::unary_function { ^ /usr/include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from torrent.cc:59: In file included from ./../download/download_wrapper.h:41: In file included from ./../download/download_main.h:52: ./../torrent/data/file_list.h:202:79: warning: 'mem_fun' is deprecated [-Wdeprecated-declarations] return std::find_if(file_list->begin(), file_list->end(), std::bind2nd(std::mem_fun(&File::is_valid_position), pos)); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:128:1: note: 'mem_fun' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from torrent.cc:59: In file included from ./../download/download_wrapper.h:41: In file included from ./../download/download_main.h:52: ./../torrent/data/file_list.h:202:66: warning: 'bind2nd, unsigned long long>' is deprecated [-Wdeprecated-declarations] return std::find_if(file_list->begin(), file_list->end(), std::bind2nd(std::mem_fun(&File::is_valid_position), pos)); ^ /usr/include/c++/v1/__functional/binder2nd.h:44:1: note: 'bind2nd, unsigned long long>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from torrent.cc:52: In file included from ./../protocol/handshake_manager.h:43: ../../rak/functional.h:551:30: warning: 'binary_function' is deprecated [-Wdeprecated-declarations] class mem_fun2 : public std::binary_function { ^ ./../download/download_main.h:201:29: note: in instantiation of template class 'rak::mem_fun2' requested here slot_start_handshake_type m_slotStartHandshake; ^ /usr/include/c++/v1/__functional/binary_function.h:24:29: note: 'binary_function' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 binary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ torrent.cc:131:107: warning: 'mem_fun' is deprecated [-Wdeprecated-declarations] std::find_if(manager->download_manager()->begin(), manager->download_manager()->end(), std::not1(std::mem_fun(&DownloadWrapper::is_stopped))) ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:122:1: note: 'mem_fun' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ torrent.cc:168:8: warning: 'auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr download(new DownloadWrapper); ^ /usr/include/c++/v1/__memory/auto_ptr.h:30:28: note: 'auto_ptr' has been explicitly marked deprecated here class _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 auto_ptr ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from torrent.cc:50: In file included from ./../manager.h:42: In file included from ../../rak/priority_queue_default.h:42: ../../rak/priority_queue.h:84:46: warning: 'bind2nd, rak::priority_item *>' is deprecated [-Wdeprecated-declarations] return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); ^ ../../rak/priority_queue_default.h:113:14: note: in instantiation of function template specialization 'rak::priority_queue, rak::cacheline_allocator>::find' requested here if (queue->find(item) != queue->end()) ^ /usr/include/c++/v1/__functional/binder2nd.h:44:1: note: 'bind2nd, rak::priority_item *>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ 10 warnings generated. c++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT torrent.lo -MD -MP -MF .deps/torrent.Tpo -c torrent.cc -o torrent.o In file included from torrent.cc:50: In file included from ./../manager.h:42: ../../rak/priority_queue_default.h:56:7: warning: '~priority_item' has a non-throwing exception specification but can still throw [-Wexceptions] throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); ^ ../../rak/priority_queue_default.h:54:3: note: destructor has a implicit non-throwing exception specification ~priority_item() { ^ In file included from torrent.cc:55: In file included from ./../data/hash_queue.h:46: In file included from ./../data/hash_queue_node.h:45: In file included from ./../data/hash_chunk.h:43: ./../data/chunk.h:124:57: warning: 'mem_fun_ref' is deprecated [-Wdeprecated-declarations] return std::find_if(begin(), end(), std::bind2nd(std::mem_fun_ref(&ChunkPart::has_address), ptr)); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:164:1: note: 'mem_fun_ref' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from torrent.cc:55: In file included from ./../data/hash_queue.h:46: In file included from ./../data/hash_queue_node.h:45: In file included from ./../data/hash_chunk.h:43: ./../data/chunk.h:124:44: warning: 'bind2nd, void *>' is deprecated [-Wdeprecated-declarations] return std::find_if(begin(), end(), std::bind2nd(std::mem_fun_ref(&ChunkPart::has_address), ptr)); ^ /usr/include/c++/v1/__functional/binder2nd.h:44:1: note: 'bind2nd, void *>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from torrent.cc:59: In file included from ./../download/download_wrapper.h:41: In file included from ./../download/download_main.h:48: In file included from ./../download/available_list.h:45: ./../net/address_list.h:61:36: warning: 'unary_function' is deprecated [-Wdeprecated-declarations] struct add_address : public std::unary_function { ^ /usr/include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from torrent.cc:59: In file included from ./../download/download_wrapper.h:41: In file included from ./../download/download_main.h:52: ./../torrent/data/file_list.h:202:79: warning: 'mem_fun' is deprecated [-Wdeprecated-declarations] return std::find_if(file_list->begin(), file_list->end(), std::bind2nd(std::mem_fun(&File::is_valid_position), pos)); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:128:1: note: 'mem_fun' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from torrent.cc:59: In file included from ./../download/download_wrapper.h:41: In file included from ./../download/download_main.h:52: ./../torrent/data/file_list.h:202:66: warning: 'bind2nd, unsigned long long>' is deprecated [-Wdeprecated-declarations] return std::find_if(file_list->begin(), file_list->end(), std::bind2nd(std::mem_fun(&File::is_valid_position), pos)); ^ /usr/include/c++/v1/__functional/binder2nd.h:44:1: note: 'bind2nd, unsigned long long>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from torrent.cc:52: In file included from ./../protocol/handshake_manager.h:43: ../../rak/functional.h:551:30: warning: 'binary_function' is deprecated [-Wdeprecated-declarations] class mem_fun2 : public std::binary_function { ^ ./../download/download_main.h:201:29: note: in instantiation of template class 'rak::mem_fun2' requested here slot_start_handshake_type m_slotStartHandshake; ^ /usr/include/c++/v1/__functional/binary_function.h:24:29: note: 'binary_function' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 binary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ torrent.cc:131:107: warning: 'mem_fun' is deprecated [-Wdeprecated-declarations] std::find_if(manager->download_manager()->begin(), manager->download_manager()->end(), std::not1(std::mem_fun(&DownloadWrapper::is_stopped))) ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:122:1: note: 'mem_fun' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ torrent.cc:168:8: warning: 'auto_ptr' is deprecated [-Wdeprecated-declarations] std::auto_ptr download(new DownloadWrapper); ^ /usr/include/c++/v1/__memory/auto_ptr.h:30:28: note: 'auto_ptr' has been explicitly marked deprecated here class _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 auto_ptr ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from torrent.cc:50: In file included from ./../manager.h:42: In file included from ../../rak/priority_queue_default.h:42: ../../rak/priority_queue.h:84:46: warning: 'bind2nd, rak::priority_item *>' is deprecated [-Wdeprecated-declarations] return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); ^ ../../rak/priority_queue_default.h:113:14: note: in instantiation of function template specialization 'rak::priority_queue, rak::cacheline_allocator>::find' requested here if (queue->find(item) != queue->end()) ^ /usr/include/c++/v1/__functional/binder2nd.h:44:1: note: 'bind2nd, rak::priority_item *>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ 10 warnings generated. mv -f .deps/torrent.Tpo .deps/torrent.Plo /usr/bin/libtool --tag=CXX --mode=compile c++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT tracker.lo -MD -MP -MF .deps/tracker.Tpo -c -o tracker.lo tracker.cc c++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT tracker.lo -MD -MP -MF .deps/tracker.Tpo -c tracker.cc -fPIC -DPIC -o .libs/tracker.o In file included from tracker.cc:42: In file included from ./../globals.h:41: ../../rak/priority_queue_default.h:56:7: warning: '~priority_item' has a non-throwing exception specification but can still throw [-Wexceptions] throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); ^ ../../rak/priority_queue_default.h:54:3: note: destructor has a implicit non-throwing exception specification ~priority_item() { ^ In file included from tracker.cc:42: In file included from ./../globals.h:41: In file included from ../../rak/priority_queue_default.h:42: ../../rak/priority_queue.h:84:46: warning: 'bind2nd, rak::priority_item *>' is deprecated [-Wdeprecated-declarations] return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); ^ ../../rak/priority_queue_default.h:113:14: note: in instantiation of function template specialization 'rak::priority_queue, rak::cacheline_allocator>::find' requested here if (queue->find(item) != queue->end()) ^ /usr/include/c++/v1/__functional/binder2nd.h:44:1: note: 'bind2nd, rak::priority_item *>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ 2 warnings generated. c++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT tracker.lo -MD -MP -MF .deps/tracker.Tpo -c tracker.cc -o tracker.o In file included from tracker.cc:42: In file included from ./../globals.h:41: ../../rak/priority_queue_default.h:56:7: warning: '~priority_item' has a non-throwing exception specification but can still throw [-Wexceptions] throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); ^ ../../rak/priority_queue_default.h:54:3: note: destructor has a implicit non-throwing exception specification ~priority_item() { ^ In file included from tracker.cc:42: In file included from ./../globals.h:41: In file included from ../../rak/priority_queue_default.h:42: ../../rak/priority_queue.h:84:46: warning: 'bind2nd, rak::priority_item *>' is deprecated [-Wdeprecated-declarations] return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); ^ ../../rak/priority_queue_default.h:113:14: note: in instantiation of function template specialization 'rak::priority_queue, rak::cacheline_allocator>::find' requested here if (queue->find(item) != queue->end()) ^ /usr/include/c++/v1/__functional/binder2nd.h:44:1: note: 'bind2nd, rak::priority_item *>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ 2 warnings generated. mv -f .deps/tracker.Tpo .deps/tracker.Plo /usr/bin/libtool --tag=CXX --mode=compile c++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT tracker_controller.lo -MD -MP -MF .deps/tracker_controller.Tpo -c -o tracker_controller.lo tracker_controller.cc c++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT tracker_controller.lo -MD -MP -MF .deps/tracker_controller.Tpo -c tracker_controller.cc -fPIC -DPIC -o .libs/tracker_controller.o In file included from tracker_controller.cc:45: ../../rak/priority_queue_default.h:56:7: warning: '~priority_item' has a non-throwing exception specification but can still throw [-Wexceptions] throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); ^ ../../rak/priority_queue_default.h:54:3: note: destructor has a implicit non-throwing exception specification ~priority_item() { ^ In file included from tracker_controller.cc:45: In file included from ../../rak/priority_queue_default.h:42: ../../rak/priority_queue.h:84:46: warning: 'bind2nd, rak::priority_item *>' is deprecated [-Wdeprecated-declarations] return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); ^ ../../rak/priority_queue_default.h:113:14: note: in instantiation of function template specialization 'rak::priority_queue, rak::cacheline_allocator>::find' requested here if (queue->find(item) != queue->end()) ^ /usr/include/c++/v1/__functional/binder2nd.h:44:1: note: 'bind2nd, rak::priority_item *>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ 2 warnings generated. c++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT tracker_controller.lo -MD -MP -MF .deps/tracker_controller.Tpo -c tracker_controller.cc -o tracker_controller.o In file included from tracker_controller.cc:45: ../../rak/priority_queue_default.h:56:7: warning: '~priority_item' has a non-throwing exception specification but can still throw [-Wexceptions] throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); ^ ../../rak/priority_queue_default.h:54:3: note: destructor has a implicit non-throwing exception specification ~priority_item() { ^ In file included from tracker_controller.cc:45: In file included from ../../rak/priority_queue_default.h:42: ../../rak/priority_queue.h:84:46: warning: 'bind2nd, rak::priority_item *>' is deprecated [-Wdeprecated-declarations] return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); ^ ../../rak/priority_queue_default.h:113:14: note: in instantiation of function template specialization 'rak::priority_queue, rak::cacheline_allocator>::find' requested here if (queue->find(item) != queue->end()) ^ /usr/include/c++/v1/__functional/binder2nd.h:44:1: note: 'bind2nd, rak::priority_item *>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ 2 warnings generated. mv -f .deps/tracker_controller.Tpo .deps/tracker_controller.Plo /usr/bin/libtool --tag=CXX --mode=compile c++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT tracker_list.lo -MD -MP -MF .deps/tracker_list.Tpo -c -o tracker_list.lo tracker_list.cc c++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT tracker_list.lo -MD -MP -MF .deps/tracker_list.Tpo -c tracker_list.cc -fPIC -DPIC -o .libs/tracker_list.o In file included from tracker_list.cc:42: ./../net/address_list.h:61:36: warning: 'unary_function' is deprecated [-Wdeprecated-declarations] struct add_address : public std::unary_function { ^ /usr/include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from tracker_list.cc:48: In file included from ./../tracker/tracker_udp.h:47: In file included from ./../globals.h:41: ../../rak/priority_queue_default.h:56:7: warning: '~priority_item' has a non-throwing exception specification but can still throw [-Wexceptions] throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); ^ ../../rak/priority_queue_default.h:54:3: note: destructor has a implicit non-throwing exception specification ~priority_item() { ^ tracker_list.cc:72:44: warning: 'mem_fun' is deprecated [-Wdeprecated-declarations] return std::find_if(begin(), end(), std::mem_fun(&Tracker::is_busy)) != end(); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:122:1: note: 'mem_fun' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ tracker_list.cc:77:44: warning: 'mem_fun' is deprecated [-Wdeprecated-declarations] return std::find_if(begin(), end(), std::mem_fun(&Tracker::is_busy_not_scrape)) != end(); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:122:1: note: 'mem_fun' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ tracker_list.cc:82:66: warning: 'mem_fun' is deprecated [-Wdeprecated-declarations] return std::find_if(begin_group(group), end_group(group), std::mem_fun(&Tracker::is_busy)) != end_group(group); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:122:1: note: 'mem_fun' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ tracker_list.cc:87:66: warning: 'mem_fun' is deprecated [-Wdeprecated-declarations] return std::find_if(begin_group(group), end_group(group), std::mem_fun(&Tracker::is_busy_not_scrape)) != end_group(group); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:122:1: note: 'mem_fun' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ tracker_list.cc:91:39: warning: 'unary_function' is deprecated [-Wdeprecated-declarations] struct tracker_usable_t : public std::unary_function { ^ /usr/include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ tracker_list.cc:102:45: warning: 'mem_fun' is deprecated [-Wdeprecated-declarations] return std::count_if(begin(), end(), std::mem_fun(&Tracker::is_busy)); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:122:1: note: 'mem_fun' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from tracker_list.cc:40: ../../rak/functional.h:395:34: warning: 'unary_function' is deprecated [-Wdeprecated-declarations] struct call_delete : public std::unary_function { ^ tracker_list.cc:130:33: note: in instantiation of template class 'rak::call_delete' requested here std::for_each(begin(), end(), rak::call_delete()); ^ /usr/include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ tracker_list.cc:136:38: warning: 'mem_fun' is deprecated [-Wdeprecated-declarations] std::for_each(begin(), end(), std::mem_fun(&Tracker::clear_stats)); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:50:1: note: 'mem_fun' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ tracker_list.cc:245:73: warning: 'mem_fun' is deprecated [-Wdeprecated-declarations] TrackerList::iterator preferred = itr = std::find_if(itr, end(), std::mem_fun(&Tracker::can_request_state)); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:122:1: note: 'mem_fun' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ tracker_list.cc:271:67: warning: 'mem_fun' is deprecated [-Wdeprecated-declarations] return std::find_if(begin(), end(), rak::less_equal(group, std::mem_fun(&Tracker::group))); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:122:1: note: 'mem_fun' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ tracker_list.cc:276:67: warning: 'mem_fun' is deprecated [-Wdeprecated-declarations] return std::find_if(begin(), end(), rak::less_equal(group, std::mem_fun(&Tracker::group))); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:122:1: note: 'mem_fun' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from tracker_list.cc:48: In file included from ./../tracker/tracker_udp.h:47: In file included from ./../globals.h:41: In file included from ../../rak/priority_queue_default.h:42: ../../rak/priority_queue.h:84:46: warning: 'bind2nd, rak::priority_item *>' is deprecated [-Wdeprecated-declarations] return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); ^ ../../rak/priority_queue_default.h:113:14: note: in instantiation of function template specialization 'rak::priority_queue, rak::cacheline_allocator>::find' requested here if (queue->find(item) != queue->end()) ^ /usr/include/c++/v1/__functional/binder2nd.h:44:1: note: 'bind2nd, rak::priority_item *>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ 14 warnings generated. c++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT tracker_list.lo -MD -MP -MF .deps/tracker_list.Tpo -c tracker_list.cc -o tracker_list.o In file included from tracker_list.cc:42: ./../net/address_list.h:61:36: warning: 'unary_function' is deprecated [-Wdeprecated-declarations] struct add_address : public std::unary_function { ^ /usr/include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from tracker_list.cc:48: In file included from ./../tracker/tracker_udp.h:47: In file included from ./../globals.h:41: ../../rak/priority_queue_default.h:56:7: warning: '~priority_item' has a non-throwing exception specification but can still throw [-Wexceptions] throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); ^ ../../rak/priority_queue_default.h:54:3: note: destructor has a implicit non-throwing exception specification ~priority_item() { ^ tracker_list.cc:72:44: warning: 'mem_fun' is deprecated [-Wdeprecated-declarations] return std::find_if(begin(), end(), std::mem_fun(&Tracker::is_busy)) != end(); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:122:1: note: 'mem_fun' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ tracker_list.cc:77:44: warning: 'mem_fun' is deprecated [-Wdeprecated-declarations] return std::find_if(begin(), end(), std::mem_fun(&Tracker::is_busy_not_scrape)) != end(); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:122:1: note: 'mem_fun' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ tracker_list.cc:82:66: warning: 'mem_fun' is deprecated [-Wdeprecated-declarations] return std::find_if(begin_group(group), end_group(group), std::mem_fun(&Tracker::is_busy)) != end_group(group); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:122:1: note: 'mem_fun' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ tracker_list.cc:87:66: warning: 'mem_fun' is deprecated [-Wdeprecated-declarations] return std::find_if(begin_group(group), end_group(group), std::mem_fun(&Tracker::is_busy_not_scrape)) != end_group(group); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:122:1: note: 'mem_fun' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ tracker_list.cc:91:39: warning: 'unary_function' is deprecated [-Wdeprecated-declarations] struct tracker_usable_t : public std::unary_function { ^ /usr/include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ tracker_list.cc:102:45: warning: 'mem_fun' is deprecated [-Wdeprecated-declarations] return std::count_if(begin(), end(), std::mem_fun(&Tracker::is_busy)); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:122:1: note: 'mem_fun' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from tracker_list.cc:40: ../../rak/functional.h:395:34: warning: 'unary_function' is deprecated [-Wdeprecated-declarations] struct call_delete : public std::unary_function { ^ tracker_list.cc:130:33: note: in instantiation of template class 'rak::call_delete' requested here std::for_each(begin(), end(), rak::call_delete()); ^ /usr/include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ tracker_list.cc:136:38: warning: 'mem_fun' is deprecated [-Wdeprecated-declarations] std::for_each(begin(), end(), std::mem_fun(&Tracker::clear_stats)); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:50:1: note: 'mem_fun' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ tracker_list.cc:245:73: warning: 'mem_fun' is deprecated [-Wdeprecated-declarations] TrackerList::iterator preferred = itr = std::find_if(itr, end(), std::mem_fun(&Tracker::can_request_state)); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:122:1: note: 'mem_fun' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ tracker_list.cc:271:67: warning: 'mem_fun' is deprecated [-Wdeprecated-declarations] return std::find_if(begin(), end(), rak::less_equal(group, std::mem_fun(&Tracker::group))); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:122:1: note: 'mem_fun' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ tracker_list.cc:276:67: warning: 'mem_fun' is deprecated [-Wdeprecated-declarations] return std::find_if(begin(), end(), rak::less_equal(group, std::mem_fun(&Tracker::group))); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:122:1: note: 'mem_fun' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from tracker_list.cc:48: In file included from ./../tracker/tracker_udp.h:47: In file included from ./../globals.h:41: In file included from ../../rak/priority_queue_default.h:42: ../../rak/priority_queue.h:84:46: warning: 'bind2nd, rak::priority_item *>' is deprecated [-Wdeprecated-declarations] return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); ^ ../../rak/priority_queue_default.h:113:14: note: in instantiation of function template specialization 'rak::priority_queue, rak::cacheline_allocator>::find' requested here if (queue->find(item) != queue->end()) ^ /usr/include/c++/v1/__functional/binder2nd.h:44:1: note: 'bind2nd, rak::priority_item *>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ 14 warnings generated. mv -f .deps/tracker_list.Tpo .deps/tracker_list.Plo /usr/bin/libtool --tag=CXX --mode=link c++ -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -L/usr/lib -L/usr/lib -o libsub_torrent.la bitfield.lo chunk_manager.lo connection_manager.lo dht_manager.lo download.lo error.lo exceptions.lo hash_string.lo http.lo object.lo object_static_map.lo object_stream.lo path.lo poll_epoll.lo poll_kqueue.lo poll_select.lo rate.lo throttle.lo torrent.lo tracker.lo tracker_controller.lo tracker_list.lo -lz -lcrypto libtool: link: ar cru .libs/libsub_torrent.a .libs/bitfield.o .libs/chunk_manager.o .libs/connection_manager.o .libs/dht_manager.o .libs/download.o .libs/error.o .libs/exceptions.o .libs/hash_string.o .libs/http.o .libs/object.o .libs/object_static_map.o .libs/object_stream.o .libs/path.o .libs/poll_epoll.o .libs/poll_kqueue.o .libs/poll_select.o .libs/rate.o .libs/throttle.o .libs/torrent.o .libs/tracker.o .libs/tracker_controller.o .libs/tracker_list.o libtool: link: ranlib .libs/libsub_torrent.a Making all in data /usr/bin/libtool --tag=CXX --mode=compile c++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT chunk.lo -MD -MP -MF .deps/chunk.Tpo -c -o chunk.lo chunk.cc c++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT chunk.lo -MD -MP -MF .deps/chunk.Tpo -c chunk.cc -fPIC -DPIC -o .libs/chunk.o In file included from chunk.cc:46: ./chunk.h:124:57: warning: 'mem_fun_ref' is deprecated [-Wdeprecated-declarations] return std::find_if(begin(), end(), std::bind2nd(std::mem_fun_ref(&ChunkPart::has_address), ptr)); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:164:1: note: 'mem_fun_ref' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from chunk.cc:46: ./chunk.h:124:44: warning: 'bind2nd, void *>' is deprecated [-Wdeprecated-declarations] return std::find_if(begin(), end(), std::bind2nd(std::mem_fun_ref(&ChunkPart::has_address), ptr)); ^ /usr/include/c++/v1/__functional/binder2nd.h:44:1: note: 'bind2nd, void *>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ chunk.cc:53:66: warning: 'mem_fun_ref' is deprecated [-Wdeprecated-declarations] return !empty() && std::find_if(begin(), end(), std::not1(std::mem_fun_ref(&ChunkPart::is_valid))) == end(); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:158:1: note: 'mem_fun_ref' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ chunk.cc:58:38: warning: 'mem_fun_ref' is deprecated [-Wdeprecated-declarations] std::for_each(begin(), end(), std::mem_fun_ref(&ChunkPart::clear)); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:86:1: note: 'mem_fun_ref' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ chunk.cc:88:65: warning: 'mem_fun_ref' is deprecated [-Wdeprecated-declarations] iterator itr = std::find_if(begin(), end(), std::bind2nd(std::mem_fun_ref(&ChunkPart::is_contained), pos)); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:164:1: note: 'mem_fun_ref' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ chunk.cc:88:52: warning: 'bind2nd, unsigned int>' is deprecated [-Wdeprecated-declarations] iterator itr = std::find_if(begin(), end(), std::bind2nd(std::mem_fun_ref(&ChunkPart::is_contained), pos)); ^ /usr/include/c++/v1/__functional/binder2nd.h:44:1: note: 'bind2nd, unsigned int>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ 6 warnings generated. c++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT chunk.lo -MD -MP -MF .deps/chunk.Tpo -c chunk.cc -o chunk.o In file included from chunk.cc:46: ./chunk.h:124:57: warning: 'mem_fun_ref' is deprecated [-Wdeprecated-declarations] return std::find_if(begin(), end(), std::bind2nd(std::mem_fun_ref(&ChunkPart::has_address), ptr)); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:164:1: note: 'mem_fun_ref' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from chunk.cc:46: ./chunk.h:124:44: warning: 'bind2nd, void *>' is deprecated [-Wdeprecated-declarations] return std::find_if(begin(), end(), std::bind2nd(std::mem_fun_ref(&ChunkPart::has_address), ptr)); ^ /usr/include/c++/v1/__functional/binder2nd.h:44:1: note: 'bind2nd, void *>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ chunk.cc:53:66: warning: 'mem_fun_ref' is deprecated [-Wdeprecated-declarations] return !empty() && std::find_if(begin(), end(), std::not1(std::mem_fun_ref(&ChunkPart::is_valid))) == end(); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:158:1: note: 'mem_fun_ref' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ chunk.cc:58:38: warning: 'mem_fun_ref' is deprecated [-Wdeprecated-declarations] std::for_each(begin(), end(), std::mem_fun_ref(&ChunkPart::clear)); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:86:1: note: 'mem_fun_ref' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ chunk.cc:88:65: warning: 'mem_fun_ref' is deprecated [-Wdeprecated-declarations] iterator itr = std::find_if(begin(), end(), std::bind2nd(std::mem_fun_ref(&ChunkPart::is_contained), pos)); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:164:1: note: 'mem_fun_ref' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ chunk.cc:88:52: warning: 'bind2nd, unsigned int>' is deprecated [-Wdeprecated-declarations] iterator itr = std::find_if(begin(), end(), std::bind2nd(std::mem_fun_ref(&ChunkPart::is_contained), pos)); ^ /usr/include/c++/v1/__functional/binder2nd.h:44:1: note: 'bind2nd, unsigned int>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ 6 warnings generated. mv -f .deps/chunk.Tpo .deps/chunk.Plo /usr/bin/libtool --tag=CXX --mode=compile c++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT chunk_list.lo -MD -MP -MF .deps/chunk_list.Tpo -c -o chunk_list.lo chunk_list.cc c++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT chunk_list.lo -MD -MP -MF .deps/chunk_list.Tpo -c chunk_list.cc -fPIC -DPIC -o .libs/chunk_list.o In file included from chunk_list.cc:50: In file included from ./chunk_list.h:44: ./chunk.h:124:57: warning: 'mem_fun_ref' is deprecated [-Wdeprecated-declarations] return std::find_if(begin(), end(), std::bind2nd(std::mem_fun_ref(&ChunkPart::has_address), ptr)); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:164:1: note: 'mem_fun_ref' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from chunk_list.cc:50: In file included from ./chunk_list.h:44: ./chunk.h:124:44: warning: 'bind2nd, void *>' is deprecated [-Wdeprecated-declarations] return std::find_if(begin(), end(), std::bind2nd(std::mem_fun_ref(&ChunkPart::has_address), ptr)); ^ /usr/include/c++/v1/__functional/binder2nd.h:44:1: note: 'bind2nd, void *>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from chunk_list.cc:52: In file included from ./../globals.h:41: ../../rak/priority_queue_default.h:56:7: warning: '~priority_item' has a non-throwing exception specification but can still throw [-Wexceptions] throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); ^ ../../rak/priority_queue_default.h:54:3: note: destructor has a implicit non-throwing exception specification ~priority_item() { ^ chunk_list.cc:117:41: warning: 'mem_fun_ref' is deprecated [-Wdeprecated-declarations] if (std::find_if(begin(), end(), std::mem_fun_ref(&ChunkListNode::chunk)) != end()) ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:158:1: note: 'mem_fun_ref' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ chunk_list.cc:120:41: warning: 'mem_fun_ref' is deprecated [-Wdeprecated-declarations] if (std::find_if(begin(), end(), std::mem_fun_ref(&ChunkListNode::references)) != end()) ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:158:1: note: 'mem_fun_ref' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ chunk_list.cc:123:41: warning: 'mem_fun_ref' is deprecated [-Wdeprecated-declarations] if (std::find_if(begin(), end(), std::mem_fun_ref(&ChunkListNode::writable)) != end()) ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:158:1: note: 'mem_fun_ref' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ chunk_list.cc:126:41: warning: 'mem_fun_ref' is deprecated [-Wdeprecated-declarations] if (std::find_if(begin(), end(), std::mem_fun_ref(&ChunkListNode::blocking)) != end()) ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:158:1: note: 'mem_fun_ref' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ chunk_list.cc:296:90: warning: 'mem_fun' is deprecated [-Wdeprecated-declarations] split = std::stable_partition(m_queue.begin(), m_queue.end(), rak::not_equal(1, std::mem_fun(&ChunkListNode::writable))); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:122:1: note: 'mem_fun' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ chunk_list.cc:349:115: warning: 'mem_fun' is deprecated [-Wdeprecated-declarations] instrumentation_update(INSTRUMENTATION_MINCORE_SYNC_NOT_DEALLOCATED, std::count_if(split, m_queue.end(), std::mem_fun(&ChunkListNode::is_valid))); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:122:1: note: 'mem_fun' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ chunk_list.cc:420:64: warning: 'mem_fun' is deprecated [-Wdeprecated-declarations] bool required = std::find_if(itr, range, std::bind1st(std::mem_fun(&ChunkList::check_node), this)) != range; ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:56:1: note: 'mem_fun' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ chunk_list.cc:420:51: warning: 'bind1st, torrent::ChunkList *>' is deprecated [-Wdeprecated-declarations] bool required = std::find_if(itr, range, std::bind1st(std::mem_fun(&ChunkList::check_node), this)) != range; ^ /usr/include/c++/v1/__functional/binder1st.h:44:1: note: 'bind1st, torrent::ChunkList *>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from chunk_list.cc:52: In file included from ./../globals.h:41: In file included from ../../rak/priority_queue_default.h:42: ../../rak/priority_queue.h:84:46: warning: 'bind2nd, rak::priority_item *>' is deprecated [-Wdeprecated-declarations] return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); ^ ../../rak/priority_queue_default.h:113:14: note: in instantiation of function template specialization 'rak::priority_queue, rak::cacheline_allocator>::find' requested here if (queue->find(item) != queue->end()) ^ /usr/include/c++/v1/__functional/binder2nd.h:44:1: note: 'bind2nd, rak::priority_item *>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ 12 warnings generated. c++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT chunk_list.lo -MD -MP -MF .deps/chunk_list.Tpo -c chunk_list.cc -o chunk_list.o In file included from chunk_list.cc:50: In file included from ./chunk_list.h:44: ./chunk.h:124:57: warning: 'mem_fun_ref' is deprecated [-Wdeprecated-declarations] return std::find_if(begin(), end(), std::bind2nd(std::mem_fun_ref(&ChunkPart::has_address), ptr)); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:164:1: note: 'mem_fun_ref' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from chunk_list.cc:50: In file included from ./chunk_list.h:44: ./chunk.h:124:44: warning: 'bind2nd, void *>' is deprecated [-Wdeprecated-declarations] return std::find_if(begin(), end(), std::bind2nd(std::mem_fun_ref(&ChunkPart::has_address), ptr)); ^ /usr/include/c++/v1/__functional/binder2nd.h:44:1: note: 'bind2nd, void *>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from chunk_list.cc:52: In file included from ./../globals.h:41: ../../rak/priority_queue_default.h:56:7: warning: '~priority_item' has a non-throwing exception specification but can still throw [-Wexceptions] throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); ^ ../../rak/priority_queue_default.h:54:3: note: destructor has a implicit non-throwing exception specification ~priority_item() { ^ chunk_list.cc:117:41: warning: 'mem_fun_ref' is deprecated [-Wdeprecated-declarations] if (std::find_if(begin(), end(), std::mem_fun_ref(&ChunkListNode::chunk)) != end()) ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:158:1: note: 'mem_fun_ref' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ chunk_list.cc:120:41: warning: 'mem_fun_ref' is deprecated [-Wdeprecated-declarations] if (std::find_if(begin(), end(), std::mem_fun_ref(&ChunkListNode::references)) != end()) ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:158:1: note: 'mem_fun_ref' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ chunk_list.cc:123:41: warning: 'mem_fun_ref' is deprecated [-Wdeprecated-declarations] if (std::find_if(begin(), end(), std::mem_fun_ref(&ChunkListNode::writable)) != end()) ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:158:1: note: 'mem_fun_ref' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ chunk_list.cc:126:41: warning: 'mem_fun_ref' is deprecated [-Wdeprecated-declarations] if (std::find_if(begin(), end(), std::mem_fun_ref(&ChunkListNode::blocking)) != end()) ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:158:1: note: 'mem_fun_ref' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ chunk_list.cc:296:90: warning: 'mem_fun' is deprecated [-Wdeprecated-declarations] split = std::stable_partition(m_queue.begin(), m_queue.end(), rak::not_equal(1, std::mem_fun(&ChunkListNode::writable))); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:122:1: note: 'mem_fun' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ chunk_list.cc:349:115: warning: 'mem_fun' is deprecated [-Wdeprecated-declarations] instrumentation_update(INSTRUMENTATION_MINCORE_SYNC_NOT_DEALLOCATED, std::count_if(split, m_queue.end(), std::mem_fun(&ChunkListNode::is_valid))); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:122:1: note: 'mem_fun' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ chunk_list.cc:420:64: warning: 'mem_fun' is deprecated [-Wdeprecated-declarations] bool required = std::find_if(itr, range, std::bind1st(std::mem_fun(&ChunkList::check_node), this)) != range; ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:56:1: note: 'mem_fun' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ chunk_list.cc:420:51: warning: 'bind1st, torrent::ChunkList *>' is deprecated [-Wdeprecated-declarations] bool required = std::find_if(itr, range, std::bind1st(std::mem_fun(&ChunkList::check_node), this)) != range; ^ /usr/include/c++/v1/__functional/binder1st.h:44:1: note: 'bind1st, torrent::ChunkList *>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from chunk_list.cc:52: In file included from ./../globals.h:41: In file included from ../../rak/priority_queue_default.h:42: ../../rak/priority_queue.h:84:46: warning: 'bind2nd, rak::priority_item *>' is deprecated [-Wdeprecated-declarations] return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); ^ ../../rak/priority_queue_default.h:113:14: note: in instantiation of function template specialization 'rak::priority_queue, rak::cacheline_allocator>::find' requested here if (queue->find(item) != queue->end()) ^ /usr/include/c++/v1/__functional/binder2nd.h:44:1: note: 'bind2nd, rak::priority_item *>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ 12 warnings generated. mv -f .deps/chunk_list.Tpo .deps/chunk_list.Plo /usr/bin/libtool --tag=CXX --mode=compile c++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT chunk_part.lo -MD -MP -MF .deps/chunk_part.Tpo -c -o chunk_part.lo chunk_part.cc c++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT chunk_part.lo -MD -MP -MF .deps/chunk_part.Tpo -c chunk_part.cc -fPIC -DPIC -o .libs/chunk_part.o c++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT chunk_part.lo -MD -MP -MF .deps/chunk_part.Tpo -c chunk_part.cc -o chunk_part.o mv -f .deps/chunk_part.Tpo .deps/chunk_part.Plo /usr/bin/libtool --tag=CXX --mode=compile c++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT hash_check_queue.lo -MD -MP -MF .deps/hash_check_queue.Tpo -c -o hash_check_queue.lo hash_check_queue.cc c++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT hash_check_queue.lo -MD -MP -MF .deps/hash_check_queue.Tpo -c hash_check_queue.cc -fPIC -DPIC -o .libs/hash_check_queue.o In file included from hash_check_queue.cc:41: In file included from ./../data/hash_chunk.h:43: ./chunk.h:124:57: warning: 'mem_fun_ref' is deprecated [-Wdeprecated-declarations] return std::find_if(begin(), end(), std::bind2nd(std::mem_fun_ref(&ChunkPart::has_address), ptr)); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:164:1: note: 'mem_fun_ref' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from hash_check_queue.cc:41: In file included from ./../data/hash_chunk.h:43: ./chunk.h:124:44: warning: 'bind2nd, void *>' is deprecated [-Wdeprecated-declarations] return std::find_if(begin(), end(), std::bind2nd(std::mem_fun_ref(&ChunkPart::has_address), ptr)); ^ /usr/include/c++/v1/__functional/binder2nd.h:44:1: note: 'bind2nd, void *>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ 2 warnings generated. c++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT hash_check_queue.lo -MD -MP -MF .deps/hash_check_queue.Tpo -c hash_check_queue.cc -o hash_check_queue.o In file included from hash_check_queue.cc:41: In file included from ./../data/hash_chunk.h:43: ./chunk.h:124:57: warning: 'mem_fun_ref' is deprecated [-Wdeprecated-declarations] return std::find_if(begin(), end(), std::bind2nd(std::mem_fun_ref(&ChunkPart::has_address), ptr)); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:164:1: note: 'mem_fun_ref' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from hash_check_queue.cc:41: In file included from ./../data/hash_chunk.h:43: ./chunk.h:124:44: warning: 'bind2nd, void *>' is deprecated [-Wdeprecated-declarations] return std::find_if(begin(), end(), std::bind2nd(std::mem_fun_ref(&ChunkPart::has_address), ptr)); ^ /usr/include/c++/v1/__functional/binder2nd.h:44:1: note: 'bind2nd, void *>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ 2 warnings generated. mv -f .deps/hash_check_queue.Tpo .deps/hash_check_queue.Plo /usr/bin/libtool --tag=CXX --mode=compile c++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT hash_chunk.lo -MD -MP -MF .deps/hash_chunk.Tpo -c -o hash_chunk.lo hash_chunk.cc c++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT hash_chunk.lo -MD -MP -MF .deps/hash_chunk.Tpo -c hash_chunk.cc -fPIC -DPIC -o .libs/hash_chunk.o In file included from hash_chunk.cc:39: In file included from ./hash_chunk.h:43: ./chunk.h:124:57: warning: 'mem_fun_ref' is deprecated [-Wdeprecated-declarations] return std::find_if(begin(), end(), std::bind2nd(std::mem_fun_ref(&ChunkPart::has_address), ptr)); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:164:1: note: 'mem_fun_ref' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from hash_chunk.cc:39: In file included from ./hash_chunk.h:43: ./chunk.h:124:44: warning: 'bind2nd, void *>' is deprecated [-Wdeprecated-declarations] return std::find_if(begin(), end(), std::bind2nd(std::mem_fun_ref(&ChunkPart::has_address), ptr)); ^ /usr/include/c++/v1/__functional/binder2nd.h:44:1: note: 'bind2nd, void *>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ 2 warnings generated. c++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT hash_chunk.lo -MD -MP -MF .deps/hash_chunk.Tpo -c hash_chunk.cc -o hash_chunk.o In file included from hash_chunk.cc:39: In file included from ./hash_chunk.h:43: ./chunk.h:124:57: warning: 'mem_fun_ref' is deprecated [-Wdeprecated-declarations] return std::find_if(begin(), end(), std::bind2nd(std::mem_fun_ref(&ChunkPart::has_address), ptr)); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:164:1: note: 'mem_fun_ref' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from hash_chunk.cc:39: In file included from ./hash_chunk.h:43: ./chunk.h:124:44: warning: 'bind2nd, void *>' is deprecated [-Wdeprecated-declarations] return std::find_if(begin(), end(), std::bind2nd(std::mem_fun_ref(&ChunkPart::has_address), ptr)); ^ /usr/include/c++/v1/__functional/binder2nd.h:44:1: note: 'bind2nd, void *>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ 2 warnings generated. mv -f .deps/hash_chunk.Tpo .deps/hash_chunk.Plo /usr/bin/libtool --tag=CXX --mode=compile c++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT hash_queue.lo -MD -MP -MF .deps/hash_queue.Tpo -c -o hash_queue.lo hash_queue.cc c++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT hash_queue.lo -MD -MP -MF .deps/hash_queue.Tpo -c hash_queue.cc -fPIC -DPIC -o .libs/hash_queue.o In file included from hash_queue.cc:50: In file included from ./hash_queue.h:46: In file included from ./hash_queue_node.h:45: In file included from ./hash_chunk.h:43: ./chunk.h:124:57: warning: 'mem_fun_ref' is deprecated [-Wdeprecated-declarations] return std::find_if(begin(), end(), std::bind2nd(std::mem_fun_ref(&ChunkPart::has_address), ptr)); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:164:1: note: 'mem_fun_ref' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from hash_queue.cc:50: In file included from ./hash_queue.h:46: In file included from ./hash_queue_node.h:45: In file included from ./hash_chunk.h:43: ./chunk.h:124:44: warning: 'bind2nd, void *>' is deprecated [-Wdeprecated-declarations] return std::find_if(begin(), end(), std::bind2nd(std::mem_fun_ref(&ChunkPart::has_address), ptr)); ^ /usr/include/c++/v1/__functional/binder2nd.h:44:1: note: 'bind2nd, void *>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from hash_queue.cc:54: In file included from ./../globals.h:41: ../../rak/priority_queue_default.h:56:7: warning: '~priority_item' has a non-throwing exception specification but can still throw [-Wexceptions] throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); ^ ../../rak/priority_queue_default.h:54:3: note: destructor has a implicit non-throwing exception specification ~priority_item() { ^ hash_queue.cc:113:59: warning: 'mem_fun_ref' is deprecated [-Wdeprecated-declarations] return std::find_if(begin(), end(), rak::equal(id, std::mem_fun_ref(&HashQueueNode::id))) != end(); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:158:1: note: 'mem_fun_ref' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ hash_queue.cc:125:62: warning: 'mem_fun_ref' is deprecated [-Wdeprecated-declarations] while ((itr = std::find_if(itr, end(), rak::equal(id, std::mem_fun_ref(&HashQueueNode::id)))) != end()) { ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:158:1: note: 'mem_fun_ref' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from hash_queue.cc:54: In file included from ./../globals.h:41: In file included from ../../rak/priority_queue_default.h:42: ../../rak/priority_queue.h:84:46: warning: 'bind2nd, rak::priority_item *>' is deprecated [-Wdeprecated-declarations] return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); ^ ../../rak/priority_queue_default.h:113:14: note: in instantiation of function template specialization 'rak::priority_queue, rak::cacheline_allocator>::find' requested here if (queue->find(item) != queue->end()) ^ /usr/include/c++/v1/__functional/binder2nd.h:44:1: note: 'bind2nd, rak::priority_item *>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ 6 warnings generated. c++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT hash_queue.lo -MD -MP -MF .deps/hash_queue.Tpo -c hash_queue.cc -o hash_queue.o In file included from hash_queue.cc:50: In file included from ./hash_queue.h:46: In file included from ./hash_queue_node.h:45: In file included from ./hash_chunk.h:43: ./chunk.h:124:57: warning: 'mem_fun_ref' is deprecated [-Wdeprecated-declarations] return std::find_if(begin(), end(), std::bind2nd(std::mem_fun_ref(&ChunkPart::has_address), ptr)); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:164:1: note: 'mem_fun_ref' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from hash_queue.cc:50: In file included from ./hash_queue.h:46: In file included from ./hash_queue_node.h:45: In file included from ./hash_chunk.h:43: ./chunk.h:124:44: warning: 'bind2nd, void *>' is deprecated [-Wdeprecated-declarations] return std::find_if(begin(), end(), std::bind2nd(std::mem_fun_ref(&ChunkPart::has_address), ptr)); ^ /usr/include/c++/v1/__functional/binder2nd.h:44:1: note: 'bind2nd, void *>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from hash_queue.cc:54: In file included from ./../globals.h:41: ../../rak/priority_queue_default.h:56:7: warning: '~priority_item' has a non-throwing exception specification but can still throw [-Wexceptions] throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); ^ ../../rak/priority_queue_default.h:54:3: note: destructor has a implicit non-throwing exception specification ~priority_item() { ^ hash_queue.cc:113:59: warning: 'mem_fun_ref' is deprecated [-Wdeprecated-declarations] return std::find_if(begin(), end(), rak::equal(id, std::mem_fun_ref(&HashQueueNode::id))) != end(); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:158:1: note: 'mem_fun_ref' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ hash_queue.cc:125:62: warning: 'mem_fun_ref' is deprecated [-Wdeprecated-declarations] while ((itr = std::find_if(itr, end(), rak::equal(id, std::mem_fun_ref(&HashQueueNode::id)))) != end()) { ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:158:1: note: 'mem_fun_ref' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from hash_queue.cc:54: In file included from ./../globals.h:41: In file included from ../../rak/priority_queue_default.h:42: ../../rak/priority_queue.h:84:46: warning: 'bind2nd, rak::priority_item *>' is deprecated [-Wdeprecated-declarations] return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); ^ ../../rak/priority_queue_default.h:113:14: note: in instantiation of function template specialization 'rak::priority_queue, rak::cacheline_allocator>::find' requested here if (queue->find(item) != queue->end()) ^ /usr/include/c++/v1/__functional/binder2nd.h:44:1: note: 'bind2nd, rak::priority_item *>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ 6 warnings generated. mv -f .deps/hash_queue.Tpo .deps/hash_queue.Plo /usr/bin/libtool --tag=CXX --mode=compile c++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT hash_queue_node.lo -MD -MP -MF .deps/hash_queue_node.Tpo -c -o hash_queue_node.lo hash_queue_node.cc c++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT hash_queue_node.lo -MD -MP -MF .deps/hash_queue_node.Tpo -c hash_queue_node.cc -fPIC -DPIC -o .libs/hash_queue_node.o In file included from hash_queue_node.cc:39: In file included from ./hash_chunk.h:43: ./chunk.h:124:57: warning: 'mem_fun_ref' is deprecated [-Wdeprecated-declarations] return std::find_if(begin(), end(), std::bind2nd(std::mem_fun_ref(&ChunkPart::has_address), ptr)); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:164:1: note: 'mem_fun_ref' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from hash_queue_node.cc:39: In file included from ./hash_chunk.h:43: ./chunk.h:124:44: warning: 'bind2nd, void *>' is deprecated [-Wdeprecated-declarations] return std::find_if(begin(), end(), std::bind2nd(std::mem_fun_ref(&ChunkPart::has_address), ptr)); ^ /usr/include/c++/v1/__functional/binder2nd.h:44:1: note: 'bind2nd, void *>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ 2 warnings generated. c++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT hash_queue_node.lo -MD -MP -MF .deps/hash_queue_node.Tpo -c hash_queue_node.cc -o hash_queue_node.o In file included from hash_queue_node.cc:39: In file included from ./hash_chunk.h:43: ./chunk.h:124:57: warning: 'mem_fun_ref' is deprecated [-Wdeprecated-declarations] return std::find_if(begin(), end(), std::bind2nd(std::mem_fun_ref(&ChunkPart::has_address), ptr)); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:164:1: note: 'mem_fun_ref' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from hash_queue_node.cc:39: In file included from ./hash_chunk.h:43: ./chunk.h:124:44: warning: 'bind2nd, void *>' is deprecated [-Wdeprecated-declarations] return std::find_if(begin(), end(), std::bind2nd(std::mem_fun_ref(&ChunkPart::has_address), ptr)); ^ /usr/include/c++/v1/__functional/binder2nd.h:44:1: note: 'bind2nd, void *>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ 2 warnings generated. mv -f .deps/hash_queue_node.Tpo .deps/hash_queue_node.Plo /usr/bin/libtool --tag=CXX --mode=compile c++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT hash_torrent.lo -MD -MP -MF .deps/hash_torrent.Tpo -c -o hash_torrent.lo hash_torrent.cc c++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT hash_torrent.lo -MD -MP -MF .deps/hash_torrent.Tpo -c hash_torrent.cc -fPIC -DPIC -o .libs/hash_torrent.o In file included from hash_torrent.cc:41: In file included from ./../data/chunk_list.h:44: ./chunk.h:124:57: warning: 'mem_fun_ref' is deprecated [-Wdeprecated-declarations] return std::find_if(begin(), end(), std::bind2nd(std::mem_fun_ref(&ChunkPart::has_address), ptr)); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:164:1: note: 'mem_fun_ref' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from hash_torrent.cc:41: In file included from ./../data/chunk_list.h:44: ./chunk.h:124:44: warning: 'bind2nd, void *>' is deprecated [-Wdeprecated-declarations] return std::find_if(begin(), end(), std::bind2nd(std::mem_fun_ref(&ChunkPart::has_address), ptr)); ^ /usr/include/c++/v1/__functional/binder2nd.h:44:1: note: 'bind2nd, void *>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from hash_torrent.cc:46: In file included from ./hash_torrent.h:43: ../../rak/priority_queue_default.h:56:7: warning: '~priority_item' has a non-throwing exception specification but can still throw [-Wexceptions] throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); ^ ../../rak/priority_queue_default.h:54:3: note: destructor has a implicit non-throwing exception specification ~priority_item() { ^ In file included from hash_torrent.cc:46: In file included from ./hash_torrent.h:43: In file included from ../../rak/priority_queue_default.h:42: ../../rak/priority_queue.h:84:46: warning: 'bind2nd, rak::priority_item *>' is deprecated [-Wdeprecated-declarations] return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); ^ ../../rak/priority_queue_default.h:113:14: note: in instantiation of function template specialization 'rak::priority_queue, rak::cacheline_allocator>::find' requested here if (queue->find(item) != queue->end()) ^ /usr/include/c++/v1/__functional/binder2nd.h:44:1: note: 'bind2nd, rak::priority_item *>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from hash_torrent.cc:43: In file included from ./../torrent/data/download_data.h:45: In file included from ./../torrent/utils/ranges.h:44: ../../rak/functional.h:352:38: warning: 'unary_function &, const unsigned int &>' is deprecated [-Wdeprecated-declarations] struct const_mem_ref_t : public std::unary_function { ^ ./../torrent/utils/ranges.h:161:56: note: in instantiation of template class 'rak::const_mem_ref_t, unsigned int>' requested here return std::find_if(begin(), end(), rak::less(index, rak::const_mem_ref(&value_type::second))); ^ ./../torrent/utils/ranges.h:168:24: note: in instantiation of member function 'torrent::ranges::find' requested here const_iterator itr = find(index); ^ hash_torrent.cc:140:16: note: in instantiation of member function 'torrent::ranges::has' requested here if (m_ranges.has(index)) ^ /usr/include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function &, const unsigned int &>' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ 5 warnings generated. c++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT hash_torrent.lo -MD -MP -MF .deps/hash_torrent.Tpo -c hash_torrent.cc -o hash_torrent.o In file included from hash_torrent.cc:41: In file included from ./../data/chunk_list.h:44: ./chunk.h:124:57: warning: 'mem_fun_ref' is deprecated [-Wdeprecated-declarations] return std::find_if(begin(), end(), std::bind2nd(std::mem_fun_ref(&ChunkPart::has_address), ptr)); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:164:1: note: 'mem_fun_ref' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from hash_torrent.cc:41: In file included from ./../data/chunk_list.h:44: ./chunk.h:124:44: warning: 'bind2nd, void *>' is deprecated [-Wdeprecated-declarations] return std::find_if(begin(), end(), std::bind2nd(std::mem_fun_ref(&ChunkPart::has_address), ptr)); ^ /usr/include/c++/v1/__functional/binder2nd.h:44:1: note: 'bind2nd, void *>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from hash_torrent.cc:46: In file included from ./hash_torrent.h:43: ../../rak/priority_queue_default.h:56:7: warning: '~priority_item' has a non-throwing exception specification but can still throw [-Wexceptions] throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); ^ ../../rak/priority_queue_default.h:54:3: note: destructor has a implicit non-throwing exception specification ~priority_item() { ^ In file included from hash_torrent.cc:46: In file included from ./hash_torrent.h:43: In file included from ../../rak/priority_queue_default.h:42: ../../rak/priority_queue.h:84:46: warning: 'bind2nd, rak::priority_item *>' is deprecated [-Wdeprecated-declarations] return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); ^ ../../rak/priority_queue_default.h:113:14: note: in instantiation of function template specialization 'rak::priority_queue, rak::cacheline_allocator>::find' requested here if (queue->find(item) != queue->end()) ^ /usr/include/c++/v1/__functional/binder2nd.h:44:1: note: 'bind2nd, rak::priority_item *>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from hash_torrent.cc:43: In file included from ./../torrent/data/download_data.h:45: In file included from ./../torrent/utils/ranges.h:44: ../../rak/functional.h:352:38: warning: 'unary_function &, const unsigned int &>' is deprecated [-Wdeprecated-declarations] struct const_mem_ref_t : public std::unary_function { ^ ./../torrent/utils/ranges.h:161:56: note: in instantiation of template class 'rak::const_mem_ref_t, unsigned int>' requested here return std::find_if(begin(), end(), rak::less(index, rak::const_mem_ref(&value_type::second))); ^ ./../torrent/utils/ranges.h:168:24: note: in instantiation of member function 'torrent::ranges::find' requested here const_iterator itr = find(index); ^ hash_torrent.cc:140:16: note: in instantiation of member function 'torrent::ranges::has' requested here if (m_ranges.has(index)) ^ /usr/include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function &, const unsigned int &>' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ 5 warnings generated. mv -f .deps/hash_torrent.Tpo .deps/hash_torrent.Plo /usr/bin/libtool --tag=CXX --mode=compile c++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT memory_chunk.lo -MD -MP -MF .deps/memory_chunk.Tpo -c -o memory_chunk.lo memory_chunk.cc c++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT memory_chunk.lo -MD -MP -MF .deps/memory_chunk.Tpo -c memory_chunk.cc -fPIC -DPIC -o .libs/memory_chunk.o c++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT memory_chunk.lo -MD -MP -MF .deps/memory_chunk.Tpo -c memory_chunk.cc -o memory_chunk.o mv -f .deps/memory_chunk.Tpo .deps/memory_chunk.Plo /usr/bin/libtool --tag=CXX --mode=compile c++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT socket_file.lo -MD -MP -MF .deps/socket_file.Tpo -c -o socket_file.lo socket_file.cc c++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT socket_file.lo -MD -MP -MF .deps/socket_file.Tpo -c socket_file.cc -fPIC -DPIC -o .libs/socket_file.o c++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT socket_file.lo -MD -MP -MF .deps/socket_file.Tpo -c socket_file.cc -o socket_file.o mv -f .deps/socket_file.Tpo .deps/socket_file.Plo /usr/bin/libtool --tag=CXX --mode=link c++ -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -L/usr/lib -L/usr/lib -o libsub_data.la chunk.lo chunk_list.lo chunk_part.lo hash_check_queue.lo hash_chunk.lo hash_queue.lo hash_queue_node.lo hash_torrent.lo memory_chunk.lo socket_file.lo -lz -lcrypto libtool: link: ar cru .libs/libsub_data.a .libs/chunk.o .libs/chunk_list.o .libs/chunk_part.o .libs/hash_check_queue.o .libs/hash_chunk.o .libs/hash_queue.o .libs/hash_queue_node.o .libs/hash_torrent.o .libs/memory_chunk.o .libs/socket_file.o libtool: link: ranlib .libs/libsub_data.a Making all in dht /usr/bin/libtool --tag=CXX --mode=compile c++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT dht_bucket.lo -MD -MP -MF .deps/dht_bucket.Tpo -c -o dht_bucket.lo dht_bucket.cc c++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT dht_bucket.lo -MD -MP -MF .deps/dht_bucket.Tpo -c dht_bucket.cc -fPIC -DPIC -o .libs/dht_bucket.o In file included from dht_bucket.cc:41: In file included from ./dht_bucket.h:42: In file included from ./../globals.h:41: ../../rak/priority_queue_default.h:56:7: warning: '~priority_item' has a non-throwing exception specification but can still throw [-Wexceptions] throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); ^ ../../rak/priority_queue_default.h:54:3: note: destructor has a implicit non-throwing exception specification ~priority_item() { ^ dht_bucket.cc:78:52: warning: 'bind2nd, torrent::DhtNode *>' is deprecated [-Wdeprecated-declarations] iterator itr = std::find_if(begin(), end(), std::bind2nd(std::equal_to(), n)); ^ /usr/include/c++/v1/__functional/binder2nd.h:44:1: note: 'bind2nd, torrent::DhtNode *>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ dht_bucket.cc:94:47: warning: 'mem_fun' is deprecated [-Wdeprecated-declarations] m_good = std::count_if(begin(), end(), std::mem_fun(&DhtNode::is_good)); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:122:1: note: 'mem_fun' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ dht_bucket.cc:95:46: warning: 'mem_fun' is deprecated [-Wdeprecated-declarations] m_bad = std::count_if(begin(), end(), std::mem_fun(&DhtNode::is_bad)); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:122:1: note: 'mem_fun' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ dht_bucket.cc:168:69: warning: 'mem_fun' is deprecated [-Wdeprecated-declarations] iterator split = std::partition(begin(), end(), std::bind2nd(std::mem_fun(&DhtNode::is_in_range), this)); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:56:1: note: 'mem_fun' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ dht_bucket.cc:168:56: warning: 'bind2nd, torrent::DhtBucket *>' is deprecated [-Wdeprecated-declarations] iterator split = std::partition(begin(), end(), std::bind2nd(std::mem_fun(&DhtNode::is_in_range), this)); ^ /usr/include/c++/v1/__functional/binder2nd.h:44:1: note: 'bind2nd, torrent::DhtBucket *>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ dht_bucket.cc:170:65: warning: 'mem_fun' is deprecated [-Wdeprecated-declarations] std::for_each(other->begin(), other->end(), std::bind2nd(std::mem_fun(&DhtNode::set_bucket), other)); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:56:1: note: 'mem_fun' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ dht_bucket.cc:170:52: warning: 'bind2nd, torrent::DhtBucket *>' is deprecated [-Wdeprecated-declarations] std::for_each(other->begin(), other->end(), std::bind2nd(std::mem_fun(&DhtNode::set_bucket), other)); ^ /usr/include/c++/v1/__functional/binder2nd.h:44:1: note: 'bind2nd, torrent::DhtBucket *>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from dht_bucket.cc:41: In file included from ./dht_bucket.h:42: In file included from ./../globals.h:41: In file included from ../../rak/priority_queue_default.h:42: ../../rak/priority_queue.h:84:46: warning: 'bind2nd, rak::priority_item *>' is deprecated [-Wdeprecated-declarations] return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); ^ ../../rak/priority_queue_default.h:113:14: note: in instantiation of function template specialization 'rak::priority_queue, rak::cacheline_allocator>::find' requested here if (queue->find(item) != queue->end()) ^ /usr/include/c++/v1/__functional/binder2nd.h:44:1: note: 'bind2nd, rak::priority_item *>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ 9 warnings generated. c++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT dht_bucket.lo -MD -MP -MF .deps/dht_bucket.Tpo -c dht_bucket.cc -o dht_bucket.o In file included from dht_bucket.cc:41: In file included from ./dht_bucket.h:42: In file included from ./../globals.h:41: ../../rak/priority_queue_default.h:56:7: warning: '~priority_item' has a non-throwing exception specification but can still throw [-Wexceptions] throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); ^ ../../rak/priority_queue_default.h:54:3: note: destructor has a implicit non-throwing exception specification ~priority_item() { ^ dht_bucket.cc:78:52: warning: 'bind2nd, torrent::DhtNode *>' is deprecated [-Wdeprecated-declarations] iterator itr = std::find_if(begin(), end(), std::bind2nd(std::equal_to(), n)); ^ /usr/include/c++/v1/__functional/binder2nd.h:44:1: note: 'bind2nd, torrent::DhtNode *>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ dht_bucket.cc:94:47: warning: 'mem_fun' is deprecated [-Wdeprecated-declarations] m_good = std::count_if(begin(), end(), std::mem_fun(&DhtNode::is_good)); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:122:1: note: 'mem_fun' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ dht_bucket.cc:95:46: warning: 'mem_fun' is deprecated [-Wdeprecated-declarations] m_bad = std::count_if(begin(), end(), std::mem_fun(&DhtNode::is_bad)); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:122:1: note: 'mem_fun' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ dht_bucket.cc:168:69: warning: 'mem_fun' is deprecated [-Wdeprecated-declarations] iterator split = std::partition(begin(), end(), std::bind2nd(std::mem_fun(&DhtNode::is_in_range), this)); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:56:1: note: 'mem_fun' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ dht_bucket.cc:168:56: warning: 'bind2nd, torrent::DhtBucket *>' is deprecated [-Wdeprecated-declarations] iterator split = std::partition(begin(), end(), std::bind2nd(std::mem_fun(&DhtNode::is_in_range), this)); ^ /usr/include/c++/v1/__functional/binder2nd.h:44:1: note: 'bind2nd, torrent::DhtBucket *>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ dht_bucket.cc:170:65: warning: 'mem_fun' is deprecated [-Wdeprecated-declarations] std::for_each(other->begin(), other->end(), std::bind2nd(std::mem_fun(&DhtNode::set_bucket), other)); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:56:1: note: 'mem_fun' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ dht_bucket.cc:170:52: warning: 'bind2nd, torrent::DhtBucket *>' is deprecated [-Wdeprecated-declarations] std::for_each(other->begin(), other->end(), std::bind2nd(std::mem_fun(&DhtNode::set_bucket), other)); ^ /usr/include/c++/v1/__functional/binder2nd.h:44:1: note: 'bind2nd, torrent::DhtBucket *>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from dht_bucket.cc:41: In file included from ./dht_bucket.h:42: In file included from ./../globals.h:41: In file included from ../../rak/priority_queue_default.h:42: ../../rak/priority_queue.h:84:46: warning: 'bind2nd, rak::priority_item *>' is deprecated [-Wdeprecated-declarations] return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); ^ ../../rak/priority_queue_default.h:113:14: note: in instantiation of function template specialization 'rak::priority_queue, rak::cacheline_allocator>::find' requested here if (queue->find(item) != queue->end()) ^ /usr/include/c++/v1/__functional/binder2nd.h:44:1: note: 'bind2nd, rak::priority_item *>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ 9 warnings generated. mv -f .deps/dht_bucket.Tpo .deps/dht_bucket.Plo /usr/bin/libtool --tag=CXX --mode=compile c++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT dht_node.lo -MD -MP -MF .deps/dht_node.Tpo -c -o dht_node.lo dht_node.cc c++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT dht_node.lo -MD -MP -MF .deps/dht_node.Tpo -c dht_node.cc -fPIC -DPIC -o .libs/dht_node.o In file included from dht_node.cc:38: In file included from ./../globals.h:41: ../../rak/priority_queue_default.h:56:7: warning: '~priority_item' has a non-throwing exception specification but can still throw [-Wexceptions] throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); ^ ../../rak/priority_queue_default.h:54:3: note: destructor has a implicit non-throwing exception specification ~priority_item() { ^ In file included from dht_node.cc:43: ./../net/address_list.h:61:36: warning: 'unary_function' is deprecated [-Wdeprecated-declarations] struct add_address : public std::unary_function { ^ /usr/include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from dht_node.cc:38: In file included from ./../globals.h:41: In file included from ../../rak/priority_queue_default.h:42: ../../rak/priority_queue.h:84:46: warning: 'bind2nd, rak::priority_item *>' is deprecated [-Wdeprecated-declarations] return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); ^ ../../rak/priority_queue_default.h:113:14: note: in instantiation of function template specialization 'rak::priority_queue, rak::cacheline_allocator>::find' requested here if (queue->find(item) != queue->end()) ^ /usr/include/c++/v1/__functional/binder2nd.h:44:1: note: 'bind2nd, rak::priority_item *>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ 3 warnings generated. c++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT dht_node.lo -MD -MP -MF .deps/dht_node.Tpo -c dht_node.cc -o dht_node.o In file included from dht_node.cc:38: In file included from ./../globals.h:41: ../../rak/priority_queue_default.h:56:7: warning: '~priority_item' has a non-throwing exception specification but can still throw [-Wexceptions] throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); ^ ../../rak/priority_queue_default.h:54:3: note: destructor has a implicit non-throwing exception specification ~priority_item() { ^ In file included from dht_node.cc:43: ./../net/address_list.h:61:36: warning: 'unary_function' is deprecated [-Wdeprecated-declarations] struct add_address : public std::unary_function { ^ /usr/include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from dht_node.cc:38: In file included from ./../globals.h:41: In file included from ../../rak/priority_queue_default.h:42: ../../rak/priority_queue.h:84:46: warning: 'bind2nd, rak::priority_item *>' is deprecated [-Wdeprecated-declarations] return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); ^ ../../rak/priority_queue_default.h:113:14: note: in instantiation of function template specialization 'rak::priority_queue, rak::cacheline_allocator>::find' requested here if (queue->find(item) != queue->end()) ^ /usr/include/c++/v1/__functional/binder2nd.h:44:1: note: 'bind2nd, rak::priority_item *>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ 3 warnings generated. mv -f .deps/dht_node.Tpo .deps/dht_node.Plo /usr/bin/libtool --tag=CXX --mode=compile c++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT dht_router.lo -MD -MP -MF .deps/dht_router.Tpo -c -o dht_router.lo dht_router.cc c++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT dht_router.lo -MD -MP -MF .deps/dht_router.Tpo -c dht_router.cc -fPIC -DPIC -o .libs/dht_router.o In file included from dht_router.cc:38: In file included from ./../globals.h:41: ../../rak/priority_queue_default.h:56:7: warning: '~priority_item' has a non-throwing exception specification but can still throw [-Wexceptions] throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); ^ ../../rak/priority_queue_default.h:54:3: note: destructor has a implicit non-throwing exception specification ~priority_item() { ^ In file included from dht_router.cc:50: In file included from ./dht_router.h:48: In file included from ./dht_hash_map.h:51: In file included from ./dht_tracker.h:45: ./../net/address_list.h:61:36: warning: 'unary_function' is deprecated [-Wdeprecated-declarations] struct add_address : public std::unary_function { ^ /usr/include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from dht_router.cc:50: In file included from ./dht_router.h:48: ./dht_hash_map.h:67:42: warning: 'unary_function' is deprecated [-Wdeprecated-declarations] struct hashstring_ptr_hash : public std::unary_function { ^ /usr/include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from dht_router.cc:50: In file included from ./dht_router.h:48: ./dht_hash_map.h:84:38: warning: 'unary_function' is deprecated [-Wdeprecated-declarations] struct hashstring_hash : public std::unary_function { ^ /usr/include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from dht_router.cc:50: In file included from ./dht_router.h:48: ./dht_hash_map.h:102:43: warning: 'binary_function' is deprecated [-Wdeprecated-declarations] struct hashstring_ptr_equal : public std::binary_function { ^ /usr/include/c++/v1/__functional/binary_function.h:24:29: note: 'binary_function' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 binary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from dht_router.cc:50: In file included from ./dht_router.h:49: In file included from ./dht_server.h:50: ./dht_transaction.h:73:41: warning: 'binary_function' is deprecated [-Wdeprecated-declarations] struct dht_compare_closer : public std::binary_function { ^ /usr/include/c++/v1/__functional/binary_function.h:24:29: note: 'binary_function' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 binary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from dht_router.cc:38: In file included from ./../globals.h:41: In file included from ../../rak/priority_queue_default.h:42: ../../rak/priority_queue.h:84:46: warning: 'bind2nd, rak::priority_item *>' is deprecated [-Wdeprecated-declarations] return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); ^ ../../rak/priority_queue_default.h:113:14: note: in instantiation of function template specialization 'rak::priority_queue, rak::cacheline_allocator>::find' requested here if (queue->find(item) != queue->end()) ^ /usr/include/c++/v1/__functional/binder2nd.h:44:1: note: 'bind2nd, rak::priority_item *>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ 7 warnings generated. c++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT dht_router.lo -MD -MP -MF .deps/dht_router.Tpo -c dht_router.cc -o dht_router.o In file included from dht_router.cc:38: In file included from ./../globals.h:41: ../../rak/priority_queue_default.h:56:7: warning: '~priority_item' has a non-throwing exception specification but can still throw [-Wexceptions] throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); ^ ../../rak/priority_queue_default.h:54:3: note: destructor has a implicit non-throwing exception specification ~priority_item() { ^ In file included from dht_router.cc:50: In file included from ./dht_router.h:48: In file included from ./dht_hash_map.h:51: In file included from ./dht_tracker.h:45: ./../net/address_list.h:61:36: warning: 'unary_function' is deprecated [-Wdeprecated-declarations] struct add_address : public std::unary_function { ^ /usr/include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from dht_router.cc:50: In file included from ./dht_router.h:48: ./dht_hash_map.h:67:42: warning: 'unary_function' is deprecated [-Wdeprecated-declarations] struct hashstring_ptr_hash : public std::unary_function { ^ /usr/include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from dht_router.cc:50: In file included from ./dht_router.h:48: ./dht_hash_map.h:84:38: warning: 'unary_function' is deprecated [-Wdeprecated-declarations] struct hashstring_hash : public std::unary_function { ^ /usr/include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from dht_router.cc:50: In file included from ./dht_router.h:48: ./dht_hash_map.h:102:43: warning: 'binary_function' is deprecated [-Wdeprecated-declarations] struct hashstring_ptr_equal : public std::binary_function { ^ /usr/include/c++/v1/__functional/binary_function.h:24:29: note: 'binary_function' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 binary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from dht_router.cc:50: In file included from ./dht_router.h:49: In file included from ./dht_server.h:50: ./dht_transaction.h:73:41: warning: 'binary_function' is deprecated [-Wdeprecated-declarations] struct dht_compare_closer : public std::binary_function { ^ /usr/include/c++/v1/__functional/binary_function.h:24:29: note: 'binary_function' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 binary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from dht_router.cc:38: In file included from ./../globals.h:41: In file included from ../../rak/priority_queue_default.h:42: ../../rak/priority_queue.h:84:46: warning: 'bind2nd, rak::priority_item *>' is deprecated [-Wdeprecated-declarations] return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); ^ ../../rak/priority_queue_default.h:113:14: note: in instantiation of function template specialization 'rak::priority_queue, rak::cacheline_allocator>::find' requested here if (queue->find(item) != queue->end()) ^ /usr/include/c++/v1/__functional/binder2nd.h:44:1: note: 'bind2nd, rak::priority_item *>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ 7 warnings generated. mv -f .deps/dht_router.Tpo .deps/dht_router.Plo /usr/bin/libtool --tag=CXX --mode=compile c++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT dht_server.lo -MD -MP -MF .deps/dht_server.Tpo -c -o dht_server.lo dht_server.cc c++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT dht_server.lo -MD -MP -MF .deps/dht_server.Tpo -c dht_server.cc -fPIC -DPIC -o .libs/dht_server.o In file included from dht_server.cc:38: In file included from ./../globals.h:41: ../../rak/priority_queue_default.h:56:7: warning: '~priority_item' has a non-throwing exception specification but can still throw [-Wexceptions] throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); ^ ../../rak/priority_queue_default.h:54:3: note: destructor has a implicit non-throwing exception specification ~priority_item() { ^ In file included from dht_server.cc:52: In file included from ./../tracker/tracker_dht.h:40: ./../net/address_list.h:61:36: warning: 'unary_function' is deprecated [-Wdeprecated-declarations] struct add_address : public std::unary_function { ^ /usr/include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from dht_server.cc:55: In file included from ./dht_router.h:48: ./dht_hash_map.h:67:42: warning: 'unary_function' is deprecated [-Wdeprecated-declarations] struct hashstring_ptr_hash : public std::unary_function { ^ /usr/include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from dht_server.cc:55: In file included from ./dht_router.h:48: ./dht_hash_map.h:84:38: warning: 'unary_function' is deprecated [-Wdeprecated-declarations] struct hashstring_hash : public std::unary_function { ^ /usr/include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from dht_server.cc:55: In file included from ./dht_router.h:48: ./dht_hash_map.h:102:43: warning: 'binary_function' is deprecated [-Wdeprecated-declarations] struct hashstring_ptr_equal : public std::binary_function { ^ /usr/include/c++/v1/__functional/binary_function.h:24:29: note: 'binary_function' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 binary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from dht_server.cc:55: In file included from ./dht_router.h:49: In file included from ./dht_server.h:50: ./dht_transaction.h:73:41: warning: 'binary_function' is deprecated [-Wdeprecated-declarations] struct dht_compare_closer : public std::binary_function { ^ /usr/include/c++/v1/__functional/binary_function.h:24:29: note: 'binary_function' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 binary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from dht_server.cc:42: ../../rak/functional.h:395:34: warning: 'unary_function' is deprecated [-Wdeprecated-declarations] struct call_delete : public std::unary_function { ^ dht_server.cc:131:57: note: in instantiation of template class 'rak::call_delete' requested here std::for_each(m_highQueue.begin(), m_highQueue.end(), rak::call_delete()); ^ /usr/include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from dht_server.cc:38: In file included from ./../globals.h:41: In file included from ../../rak/priority_queue_default.h:42: ../../rak/priority_queue.h:84:46: warning: 'bind2nd, rak::priority_item *>' is deprecated [-Wdeprecated-declarations] return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); ^ ../../rak/priority_queue_default.h:113:14: note: in instantiation of function template specialization 'rak::priority_queue, rak::cacheline_allocator>::find' requested here if (queue->find(item) != queue->end()) ^ /usr/include/c++/v1/__functional/binder2nd.h:44:1: note: 'bind2nd, rak::priority_item *>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ 8 warnings generated. c++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT dht_server.lo -MD -MP -MF .deps/dht_server.Tpo -c dht_server.cc -o dht_server.o In file included from dht_server.cc:38: In file included from ./../globals.h:41: ../../rak/priority_queue_default.h:56:7: warning: '~priority_item' has a non-throwing exception specification but can still throw [-Wexceptions] throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); ^ ../../rak/priority_queue_default.h:54:3: note: destructor has a implicit non-throwing exception specification ~priority_item() { ^ In file included from dht_server.cc:52: In file included from ./../tracker/tracker_dht.h:40: ./../net/address_list.h:61:36: warning: 'unary_function' is deprecated [-Wdeprecated-declarations] struct add_address : public std::unary_function { ^ /usr/include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from dht_server.cc:55: In file included from ./dht_router.h:48: ./dht_hash_map.h:67:42: warning: 'unary_function' is deprecated [-Wdeprecated-declarations] struct hashstring_ptr_hash : public std::unary_function { ^ /usr/include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from dht_server.cc:55: In file included from ./dht_router.h:48: ./dht_hash_map.h:84:38: warning: 'unary_function' is deprecated [-Wdeprecated-declarations] struct hashstring_hash : public std::unary_function { ^ /usr/include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from dht_server.cc:55: In file included from ./dht_router.h:48: ./dht_hash_map.h:102:43: warning: 'binary_function' is deprecated [-Wdeprecated-declarations] struct hashstring_ptr_equal : public std::binary_function { ^ /usr/include/c++/v1/__functional/binary_function.h:24:29: note: 'binary_function' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 binary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from dht_server.cc:55: In file included from ./dht_router.h:49: In file included from ./dht_server.h:50: ./dht_transaction.h:73:41: warning: 'binary_function' is deprecated [-Wdeprecated-declarations] struct dht_compare_closer : public std::binary_function { ^ /usr/include/c++/v1/__functional/binary_function.h:24:29: note: 'binary_function' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 binary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from dht_server.cc:42: ../../rak/functional.h:395:34: warning: 'unary_function' is deprecated [-Wdeprecated-declarations] struct call_delete : public std::unary_function { ^ dht_server.cc:131:57: note: in instantiation of template class 'rak::call_delete' requested here std::for_each(m_highQueue.begin(), m_highQueue.end(), rak::call_delete()); ^ /usr/include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from dht_server.cc:38: In file included from ./../globals.h:41: In file included from ../../rak/priority_queue_default.h:42: ../../rak/priority_queue.h:84:46: warning: 'bind2nd, rak::priority_item *>' is deprecated [-Wdeprecated-declarations] return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); ^ ../../rak/priority_queue_default.h:113:14: note: in instantiation of function template specialization 'rak::priority_queue, rak::cacheline_allocator>::find' requested here if (queue->find(item) != queue->end()) ^ /usr/include/c++/v1/__functional/binder2nd.h:44:1: note: 'bind2nd, rak::priority_item *>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ 8 warnings generated. mv -f .deps/dht_server.Tpo .deps/dht_server.Plo /usr/bin/libtool --tag=CXX --mode=compile c++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT dht_tracker.lo -MD -MP -MF .deps/dht_tracker.Tpo -c -o dht_tracker.lo dht_tracker.cc c++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT dht_tracker.lo -MD -MP -MF .deps/dht_tracker.Tpo -c dht_tracker.cc -fPIC -DPIC -o .libs/dht_tracker.o In file included from dht_tracker.cc:41: In file included from ./dht_tracker.h:40: In file included from ./../globals.h:41: ../../rak/priority_queue_default.h:56:7: warning: '~priority_item' has a non-throwing exception specification but can still throw [-Wexceptions] throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); ^ ../../rak/priority_queue_default.h:54:3: note: destructor has a implicit non-throwing exception specification ~priority_item() { ^ In file included from dht_tracker.cc:41: In file included from ./dht_tracker.h:45: ./../net/address_list.h:61:36: warning: 'unary_function' is deprecated [-Wdeprecated-declarations] struct add_address : public std::unary_function { ^ /usr/include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ dht_tracker.cc:111:69: warning: 'mem_fun_ref' is deprecated [-Wdeprecated-declarations] m_peers.erase(std::remove_if(m_peers.begin(), m_peers.end(), std::mem_fun_ref(&BencodeAddress::empty)), m_peers.end()); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:158:1: note: 'mem_fun_ref' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ dht_tracker.cc:112:78: warning: 'bind2nd, unsigned int>' is deprecated [-Wdeprecated-declarations] m_lastSeen.erase(std::remove_if(m_lastSeen.begin(), m_lastSeen.end(), std::bind2nd(std::less(), minSeen)), m_lastSeen.end()); ^ /usr/include/c++/v1/__functional/binder2nd.h:44:1: note: 'bind2nd, unsigned int>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from dht_tracker.cc:41: In file included from ./dht_tracker.h:40: In file included from ./../globals.h:41: In file included from ../../rak/priority_queue_default.h:42: ../../rak/priority_queue.h:84:46: warning: 'bind2nd, rak::priority_item *>' is deprecated [-Wdeprecated-declarations] return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); ^ ../../rak/priority_queue_default.h:113:14: note: in instantiation of function template specialization 'rak::priority_queue, rak::cacheline_allocator>::find' requested here if (queue->find(item) != queue->end()) ^ /usr/include/c++/v1/__functional/binder2nd.h:44:1: note: 'bind2nd, rak::priority_item *>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ 5 warnings generated. c++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT dht_tracker.lo -MD -MP -MF .deps/dht_tracker.Tpo -c dht_tracker.cc -o dht_tracker.o In file included from dht_tracker.cc:41: In file included from ./dht_tracker.h:40: In file included from ./../globals.h:41: ../../rak/priority_queue_default.h:56:7: warning: '~priority_item' has a non-throwing exception specification but can still throw [-Wexceptions] throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); ^ ../../rak/priority_queue_default.h:54:3: note: destructor has a implicit non-throwing exception specification ~priority_item() { ^ In file included from dht_tracker.cc:41: In file included from ./dht_tracker.h:45: ./../net/address_list.h:61:36: warning: 'unary_function' is deprecated [-Wdeprecated-declarations] struct add_address : public std::unary_function { ^ /usr/include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ dht_tracker.cc:111:69: warning: 'mem_fun_ref' is deprecated [-Wdeprecated-declarations] m_peers.erase(std::remove_if(m_peers.begin(), m_peers.end(), std::mem_fun_ref(&BencodeAddress::empty)), m_peers.end()); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:158:1: note: 'mem_fun_ref' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ dht_tracker.cc:112:78: warning: 'bind2nd, unsigned int>' is deprecated [-Wdeprecated-declarations] m_lastSeen.erase(std::remove_if(m_lastSeen.begin(), m_lastSeen.end(), std::bind2nd(std::less(), minSeen)), m_lastSeen.end()); ^ /usr/include/c++/v1/__functional/binder2nd.h:44:1: note: 'bind2nd, unsigned int>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from dht_tracker.cc:41: In file included from ./dht_tracker.h:40: In file included from ./../globals.h:41: In file included from ../../rak/priority_queue_default.h:42: ../../rak/priority_queue.h:84:46: warning: 'bind2nd, rak::priority_item *>' is deprecated [-Wdeprecated-declarations] return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); ^ ../../rak/priority_queue_default.h:113:14: note: in instantiation of function template specialization 'rak::priority_queue, rak::cacheline_allocator>::find' requested here if (queue->find(item) != queue->end()) ^ /usr/include/c++/v1/__functional/binder2nd.h:44:1: note: 'bind2nd, rak::priority_item *>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ 5 warnings generated. mv -f .deps/dht_tracker.Tpo .deps/dht_tracker.Plo /usr/bin/libtool --tag=CXX --mode=compile c++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT dht_transaction.lo -MD -MP -MF .deps/dht_transaction.Tpo -c -o dht_transaction.lo dht_transaction.cc c++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT dht_transaction.lo -MD -MP -MF .deps/dht_transaction.Tpo -c dht_transaction.cc -fPIC -DPIC -o .libs/dht_transaction.o In file included from dht_transaction.cc:41: In file included from ./../tracker/tracker_dht.h:40: ./../net/address_list.h:61:36: warning: 'unary_function' is deprecated [-Wdeprecated-declarations] struct add_address : public std::unary_function { ^ /usr/include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from dht_transaction.cc:43: In file included from ./dht_bucket.h:42: In file included from ./../globals.h:41: ../../rak/priority_queue_default.h:56:7: warning: '~priority_item' has a non-throwing exception specification but can still throw [-Wexceptions] throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); ^ ../../rak/priority_queue_default.h:54:3: note: destructor has a implicit non-throwing exception specification ~priority_item() { ^ In file included from dht_transaction.cc:44: ./dht_transaction.h:73:41: warning: 'binary_function' is deprecated [-Wdeprecated-declarations] struct dht_compare_closer : public std::binary_function { ^ /usr/include/c++/v1/__functional/binary_function.h:24:29: note: 'binary_function' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 binary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ dht_transaction.cc:49:34: warning: field 'm_target' is uninitialized when used here [-Wuninitialized] : base_type(dht_compare_closer(m_target = target)), ^ dht_transaction.cc:69:5: warning: '~DhtSearch' has a non-throwing exception specification but can still throw [-Wexceptions] throw internal_error("DhtSearch::~DhtSearch with invalid concurrency limit."); ^ dht_transaction.cc:61:12: note: destructor has a implicit non-throwing exception specification DhtSearch::~DhtSearch() { ^ dht_transaction.cc:66:5: warning: '~DhtSearch' has a non-throwing exception specification but can still throw [-Wexceptions] throw internal_error("DhtSearch::~DhtSearch called with pending transactions."); ^ dht_transaction.cc:61:12: note: destructor has a implicit non-throwing exception specification DhtSearch::~DhtSearch() { ^ dht_transaction.cc:211:5: warning: '~DhtAnnounce' has a non-throwing exception specification but can still throw [-Wexceptions] throw internal_error("DhtAnnounce::~DhtAnnounce called while announce not complete."); ^ dht_transaction.cc:209:14: note: destructor has a implicit non-throwing exception specification DhtAnnounce::~DhtAnnounce() { ^ In file included from dht_transaction.cc:43: In file included from ./dht_bucket.h:42: In file included from ./../globals.h:41: In file included from ../../rak/priority_queue_default.h:42: ../../rak/priority_queue.h:84:46: warning: 'bind2nd, rak::priority_item *>' is deprecated [-Wdeprecated-declarations] return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); ^ ../../rak/priority_queue_default.h:113:14: note: in instantiation of function template specialization 'rak::priority_queue, rak::cacheline_allocator>::find' requested here if (queue->find(item) != queue->end()) ^ /usr/include/c++/v1/__functional/binder2nd.h:44:1: note: 'bind2nd, rak::priority_item *>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from dht_transaction.cc:40: ./../torrent/object_stream.h:104:91: warning: instantiation of variable 'torrent::static_map_type::keys' required here, but no definition is available [-Wundefined-var-template] return static_map_write_bencode_c_wrap(writeFunc, data, buffer, object.values(), object.keys, object.keys + object.size); ^ dht_transaction.cc:257:28: note: in instantiation of function template specialization 'torrent::static_map_write_bencode_c' requested here object_buffer_t result = static_map_write_bencode_c(object_write_to_buffer, NULL, std::make_pair(buffer, buffer + sizeof(buffer)), msg); ^ ./../torrent/object_static_map.h:74:30: note: forward declaration of template entity is here static const key_list_type keys; ^ ./../torrent/object_stream.h:104:91: note: add an explicit instantiation declaration to suppress this warning if 'torrent::static_map_type::keys' is explicitly instantiated in another translation unit return static_map_write_bencode_c_wrap(writeFunc, data, buffer, object.values(), object.keys, object.keys + object.size); ^ 9 warnings generated. c++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT dht_transaction.lo -MD -MP -MF .deps/dht_transaction.Tpo -c dht_transaction.cc -o dht_transaction.o In file included from dht_transaction.cc:41: In file included from ./../tracker/tracker_dht.h:40: ./../net/address_list.h:61:36: warning: 'unary_function' is deprecated [-Wdeprecated-declarations] struct add_address : public std::unary_function { ^ /usr/include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from dht_transaction.cc:43: In file included from ./dht_bucket.h:42: In file included from ./../globals.h:41: ../../rak/priority_queue_default.h:56:7: warning: '~priority_item' has a non-throwing exception specification but can still throw [-Wexceptions] throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); ^ ../../rak/priority_queue_default.h:54:3: note: destructor has a implicit non-throwing exception specification ~priority_item() { ^ In file included from dht_transaction.cc:44: ./dht_transaction.h:73:41: warning: 'binary_function' is deprecated [-Wdeprecated-declarations] struct dht_compare_closer : public std::binary_function { ^ /usr/include/c++/v1/__functional/binary_function.h:24:29: note: 'binary_function' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 binary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ dht_transaction.cc:49:34: warning: field 'm_target' is uninitialized when used here [-Wuninitialized] : base_type(dht_compare_closer(m_target = target)), ^ dht_transaction.cc:69:5: warning: '~DhtSearch' has a non-throwing exception specification but can still throw [-Wexceptions] throw internal_error("DhtSearch::~DhtSearch with invalid concurrency limit."); ^ dht_transaction.cc:61:12: note: destructor has a implicit non-throwing exception specification DhtSearch::~DhtSearch() { ^ dht_transaction.cc:66:5: warning: '~DhtSearch' has a non-throwing exception specification but can still throw [-Wexceptions] throw internal_error("DhtSearch::~DhtSearch called with pending transactions."); ^ dht_transaction.cc:61:12: note: destructor has a implicit non-throwing exception specification DhtSearch::~DhtSearch() { ^ dht_transaction.cc:211:5: warning: '~DhtAnnounce' has a non-throwing exception specification but can still throw [-Wexceptions] throw internal_error("DhtAnnounce::~DhtAnnounce called while announce not complete."); ^ dht_transaction.cc:209:14: note: destructor has a implicit non-throwing exception specification DhtAnnounce::~DhtAnnounce() { ^ In file included from dht_transaction.cc:43: In file included from ./dht_bucket.h:42: In file included from ./../globals.h:41: In file included from ../../rak/priority_queue_default.h:42: ../../rak/priority_queue.h:84:46: warning: 'bind2nd, rak::priority_item *>' is deprecated [-Wdeprecated-declarations] return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); ^ ../../rak/priority_queue_default.h:113:14: note: in instantiation of function template specialization 'rak::priority_queue, rak::cacheline_allocator>::find' requested here if (queue->find(item) != queue->end()) ^ /usr/include/c++/v1/__functional/binder2nd.h:44:1: note: 'bind2nd, rak::priority_item *>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from dht_transaction.cc:40: ./../torrent/object_stream.h:104:91: warning: instantiation of variable 'torrent::static_map_type::keys' required here, but no definition is available [-Wundefined-var-template] return static_map_write_bencode_c_wrap(writeFunc, data, buffer, object.values(), object.keys, object.keys + object.size); ^ dht_transaction.cc:257:28: note: in instantiation of function template specialization 'torrent::static_map_write_bencode_c' requested here object_buffer_t result = static_map_write_bencode_c(object_write_to_buffer, NULL, std::make_pair(buffer, buffer + sizeof(buffer)), msg); ^ ./../torrent/object_static_map.h:74:30: note: forward declaration of template entity is here static const key_list_type keys; ^ ./../torrent/object_stream.h:104:91: note: add an explicit instantiation declaration to suppress this warning if 'torrent::static_map_type::keys' is explicitly instantiated in another translation unit return static_map_write_bencode_c_wrap(writeFunc, data, buffer, object.values(), object.keys, object.keys + object.size); ^ 9 warnings generated. mv -f .deps/dht_transaction.Tpo .deps/dht_transaction.Plo /usr/bin/libtool --tag=CXX --mode=link c++ -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -L/usr/lib -L/usr/lib -o libsub_dht.la dht_bucket.lo dht_node.lo dht_router.lo dht_server.lo dht_tracker.lo dht_transaction.lo -lz -lcrypto libtool: link: ar cru .libs/libsub_dht.a .libs/dht_bucket.o .libs/dht_node.o .libs/dht_router.o .libs/dht_server.o .libs/dht_tracker.o .libs/dht_transaction.o libtool: link: ranlib .libs/libsub_dht.a Making all in download /usr/bin/libtool --tag=CXX --mode=compile c++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT available_list.lo -MD -MP -MF .deps/available_list.Tpo -c -o available_list.lo available_list.cc c++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT available_list.lo -MD -MP -MF .deps/available_list.Tpo -c available_list.cc -fPIC -DPIC -o .libs/available_list.o In file included from available_list.cc:44: In file included from ./available_list.h:45: ./../net/address_list.h:61:36: warning: 'unary_function' is deprecated [-Wdeprecated-declarations] struct add_address : public std::unary_function { ^ /usr/include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ 1 warning generated. c++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT available_list.lo -MD -MP -MF .deps/available_list.Tpo -c available_list.cc -o available_list.o In file included from available_list.cc:44: In file included from ./available_list.h:45: ./../net/address_list.h:61:36: warning: 'unary_function' is deprecated [-Wdeprecated-declarations] struct add_address : public std::unary_function { ^ /usr/include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ 1 warning generated. mv -f .deps/available_list.Tpo .deps/available_list.Plo /usr/bin/libtool --tag=CXX --mode=compile c++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT chunk_selector.lo -MD -MP -MF .deps/chunk_selector.Tpo -c -o chunk_selector.lo chunk_selector.cc c++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT chunk_selector.lo -MD -MP -MF .deps/chunk_selector.Tpo -c chunk_selector.cc -fPIC -DPIC -o .libs/chunk_selector.o In file included from chunk_selector.cc:41: ../../rak/functional.h:273:29: warning: 'unary_function' is deprecated [-Wdeprecated-declarations] struct invert : public std::unary_function { ^ chunk_selector.cc:62:76: note: in instantiation of template class 'rak::invert' requested here std::transform(completed->begin(), completed->end(), untouched->begin(), rak::invert()); ^ /usr/include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from chunk_selector.cc:41: ../../rak/functional.h:352:38: warning: 'unary_function &, const unsigned int &>' is deprecated [-Wdeprecated-declarations] struct const_mem_ref_t : public std::unary_function { ^ ./../torrent/utils/ranges.h:161:56: note: in instantiation of template class 'rak::const_mem_ref_t, unsigned int>' requested here return std::find_if(begin(), end(), rak::less(index, rak::const_mem_ref(&value_type::second))); ^ chunk_selector.cc:219:64: note: in instantiation of member function 'torrent::ranges::find' requested here download_data::priority_ranges::const_iterator itr = ranges->find(first); ^ /usr/include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function &, const unsigned int &>' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ 2 warnings generated. c++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT chunk_selector.lo -MD -MP -MF .deps/chunk_selector.Tpo -c chunk_selector.cc -o chunk_selector.o In file included from chunk_selector.cc:41: ../../rak/functional.h:273:29: warning: 'unary_function' is deprecated [-Wdeprecated-declarations] struct invert : public std::unary_function { ^ chunk_selector.cc:62:76: note: in instantiation of template class 'rak::invert' requested here std::transform(completed->begin(), completed->end(), untouched->begin(), rak::invert()); ^ /usr/include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from chunk_selector.cc:41: ../../rak/functional.h:352:38: warning: 'unary_function &, const unsigned int &>' is deprecated [-Wdeprecated-declarations] struct const_mem_ref_t : public std::unary_function { ^ ./../torrent/utils/ranges.h:161:56: note: in instantiation of template class 'rak::const_mem_ref_t, unsigned int>' requested here return std::find_if(begin(), end(), rak::less(index, rak::const_mem_ref(&value_type::second))); ^ chunk_selector.cc:219:64: note: in instantiation of member function 'torrent::ranges::find' requested here download_data::priority_ranges::const_iterator itr = ranges->find(first); ^ /usr/include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function &, const unsigned int &>' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ 2 warnings generated. mv -f .deps/chunk_selector.Tpo .deps/chunk_selector.Plo /usr/bin/libtool --tag=CXX --mode=compile c++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT chunk_statistics.lo -MD -MP -MF .deps/chunk_statistics.Tpo -c -o chunk_statistics.lo chunk_statistics.cc c++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT chunk_statistics.lo -MD -MP -MF .deps/chunk_statistics.Tpo -c chunk_statistics.cc -fPIC -DPIC -o .libs/chunk_statistics.o c++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT chunk_statistics.lo -MD -MP -MF .deps/chunk_statistics.Tpo -c chunk_statistics.cc -o chunk_statistics.o mv -f .deps/chunk_statistics.Tpo .deps/chunk_statistics.Plo /usr/bin/libtool --tag=CXX --mode=compile c++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT delegator.lo -MD -MP -MF .deps/delegator.Tpo -c -o delegator.lo delegator.cc c++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT delegator.lo -MD -MP -MF .deps/delegator.Tpo -c delegator.cc -fPIC -DPIC -o .libs/delegator.o In file included from delegator.cc:46: In file included from ./../torrent/data/block.h:42: ./../torrent/data/block_transfer.h:132:5: warning: '~BlockTransfer' has a non-throwing exception specification but can still throw [-Wexceptions] throw internal_error("BlockTransfer::~BlockTransfer() peer_info not NULL"); ^ ./../torrent/data/block_transfer.h:127:16: note: destructor has a implicit non-throwing exception specification BlockTransfer::~BlockTransfer() { ^ ./../torrent/data/block_transfer.h:129:5: warning: '~BlockTransfer' has a non-throwing exception specification but can still throw [-Wexceptions] throw internal_error("BlockTransfer::~BlockTransfer() block not NULL"); ^ ./../torrent/data/block_transfer.h:127:16: note: destructor has a implicit non-throwing exception specification BlockTransfer::~BlockTransfer() { ^ delegator.cc:167:3: warning: ignoring return value of function declared with 'nodiscard' attribute [-Wunused-result] std::find_if(m_transfers.begin(), m_transfers.end(), DelegatorCheckAggressive(this, &target, &overlapped, peerChunks)); ^~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3 warnings generated. c++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT delegator.lo -MD -MP -MF .deps/delegator.Tpo -c delegator.cc -o delegator.o In file included from delegator.cc:46: In file included from ./../torrent/data/block.h:42: ./../torrent/data/block_transfer.h:132:5: warning: '~BlockTransfer' has a non-throwing exception specification but can still throw [-Wexceptions] throw internal_error("BlockTransfer::~BlockTransfer() peer_info not NULL"); ^ ./../torrent/data/block_transfer.h:127:16: note: destructor has a implicit non-throwing exception specification BlockTransfer::~BlockTransfer() { ^ ./../torrent/data/block_transfer.h:129:5: warning: '~BlockTransfer' has a non-throwing exception specification but can still throw [-Wexceptions] throw internal_error("BlockTransfer::~BlockTransfer() block not NULL"); ^ ./../torrent/data/block_transfer.h:127:16: note: destructor has a implicit non-throwing exception specification BlockTransfer::~BlockTransfer() { ^ delegator.cc:167:3: warning: ignoring return value of function declared with 'nodiscard' attribute [-Wunused-result] std::find_if(m_transfers.begin(), m_transfers.end(), DelegatorCheckAggressive(this, &target, &overlapped, peerChunks)); ^~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3 warnings generated. mv -f .deps/delegator.Tpo .deps/delegator.Plo /usr/bin/libtool --tag=CXX --mode=compile c++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT download_constructor.lo -MD -MP -MF .deps/download_constructor.Tpo -c -o download_constructor.lo download_constructor.cc c++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT download_constructor.lo -MD -MP -MF .deps/download_constructor.Tpo -c download_constructor.cc -fPIC -DPIC -o .libs/download_constructor.o In file included from download_constructor.cc:45: In file included from ./../download/download_wrapper.h:41: In file included from ./download_main.h:43: In file included from ./../globals.h:41: ../../rak/priority_queue_default.h:56:7: warning: '~priority_item' has a non-throwing exception specification but can still throw [-Wexceptions] throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); ^ ../../rak/priority_queue_default.h:54:3: note: destructor has a implicit non-throwing exception specification ~priority_item() { ^ In file included from download_constructor.cc:45: In file included from ./../download/download_wrapper.h:41: In file included from ./download_main.h:48: In file included from ./../download/available_list.h:45: ./../net/address_list.h:61:36: warning: 'unary_function' is deprecated [-Wdeprecated-declarations] struct add_address : public std::unary_function { ^ /usr/include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from download_constructor.cc:45: In file included from ./../download/download_wrapper.h:41: In file included from ./download_main.h:52: ./../torrent/data/file_list.h:202:79: warning: 'mem_fun' is deprecated [-Wdeprecated-declarations] return std::find_if(file_list->begin(), file_list->end(), std::bind2nd(std::mem_fun(&File::is_valid_position), pos)); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:128:1: note: 'mem_fun' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from download_constructor.cc:45: In file included from ./../download/download_wrapper.h:41: In file included from ./download_main.h:52: ./../torrent/data/file_list.h:202:66: warning: 'bind2nd, unsigned long long>' is deprecated [-Wdeprecated-declarations] return std::find_if(file_list->begin(), file_list->end(), std::bind2nd(std::mem_fun(&File::is_valid_position), pos)); ^ /usr/include/c++/v1/__functional/binder2nd.h:44:1: note: 'bind2nd, unsigned long long>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from download_constructor.cc:42: ../../rak/functional.h:551:30: warning: 'binary_function' is deprecated [-Wdeprecated-declarations] class mem_fun2 : public std::binary_function { ^ ./download_main.h:201:29: note: in instantiation of template class 'rak::mem_fun2' requested here slot_start_handshake_type m_slotStartHandshake; ^ /usr/include/c++/v1/__functional/binary_function.h:24:29: note: 'binary_function' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 binary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ download_constructor.cc:77:17: warning: 'binary_function' is deprecated [-Wdeprecated-declarations] public std::binary_function { ^ /usr/include/c++/v1/__functional/binary_function.h:24:29: note: 'binary_function' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 binary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ download_constructor.cc:195:71: warning: 'mem_fun_ref' is deprecated [-Wdeprecated-declarations] std::find_if(announce_list->begin(), announce_list->end(), std::mem_fun_ref(&Object::is_list)) != announce_list->end()) ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:158:1: note: 'mem_fun_ref' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from download_constructor.cc:42: ../../rak/functional.h:551:30: warning: 'binary_function' is deprecated [-Wdeprecated-declarations] class mem_fun2 : public std::binary_function { ^ download_constructor.cc:221:16: note: in instantiation of template class 'rak::mem_fun2' requested here rak::bind2nd(rak::make_mem_fun(this, &DownloadConstructor::add_tracker_single), ^ /usr/include/c++/v1/__functional/binary_function.h:24:29: note: 'binary_function' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 binary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from download_constructor.cc:42: ../../rak/functional.h:433:31: warning: 'unary_function' is deprecated [-Wdeprecated-declarations] class bind2nd_t : public std::unary_function { ^ download_constructor.cc:221:3: note: in instantiation of template class 'rak::bind2nd_t>' requested here rak::bind2nd(rak::make_mem_fun(this, &DownloadConstructor::add_tracker_single), ^ /usr/include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ download_constructor.cc:343:53: warning: 'ptr_fun' is deprecated [-Wdeprecated-declarations] if (std::find_if(plist.begin(), plist.end(), std::ptr_fun(&DownloadConstructor::is_invalid_path_element)) != plist.end()) ^ /usr/include/c++/v1/__functional/pointer_to_unary_function.h:37:1: note: 'ptr_fun' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ download_constructor.cc:349:74: warning: 'mem_fun_ref' is deprecated [-Wdeprecated-declarations] std::transform(plist.begin(), plist.end(), std::back_inserter(p), std::mem_fun_ref(&Object::as_string)); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:158:1: note: 'mem_fun_ref' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from download_constructor.cc:42: ../../rak/functional.h:433:31: warning: 'unary_function' is deprecated [-Wdeprecated-declarations] class bind2nd_t : public std::unary_function { ^ download_constructor.cc:362:71: note: in instantiation of template class 'rak::bind2nd_t' requested here std::list::iterator itr = std::find_if(pathFirst, pathLast, rak::bind2nd(download_constructor_encoding_match(), encodingFirst->c_str())); ^ /usr/include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from download_constructor.cc:45: In file included from ./../download/download_wrapper.h:41: In file included from ./download_main.h:43: In file included from ./../globals.h:41: In file included from ../../rak/priority_queue_default.h:42: ../../rak/priority_queue.h:84:46: warning: 'bind2nd, rak::priority_item *>' is deprecated [-Wdeprecated-declarations] return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); ^ ../../rak/priority_queue_default.h:113:14: note: in instantiation of function template specialization 'rak::priority_queue, rak::cacheline_allocator>::find' requested here if (queue->find(item) != queue->end()) ^ /usr/include/c++/v1/__functional/binder2nd.h:44:1: note: 'bind2nd, rak::priority_item *>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ 13 warnings generated. c++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT download_constructor.lo -MD -MP -MF .deps/download_constructor.Tpo -c download_constructor.cc -o download_constructor.o In file included from download_constructor.cc:45: In file included from ./../download/download_wrapper.h:41: In file included from ./download_main.h:43: In file included from ./../globals.h:41: ../../rak/priority_queue_default.h:56:7: warning: '~priority_item' has a non-throwing exception specification but can still throw [-Wexceptions] throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); ^ ../../rak/priority_queue_default.h:54:3: note: destructor has a implicit non-throwing exception specification ~priority_item() { ^ In file included from download_constructor.cc:45: In file included from ./../download/download_wrapper.h:41: In file included from ./download_main.h:48: In file included from ./../download/available_list.h:45: ./../net/address_list.h:61:36: warning: 'unary_function' is deprecated [-Wdeprecated-declarations] struct add_address : public std::unary_function { ^ /usr/include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from download_constructor.cc:45: In file included from ./../download/download_wrapper.h:41: In file included from ./download_main.h:52: ./../torrent/data/file_list.h:202:79: warning: 'mem_fun' is deprecated [-Wdeprecated-declarations] return std::find_if(file_list->begin(), file_list->end(), std::bind2nd(std::mem_fun(&File::is_valid_position), pos)); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:128:1: note: 'mem_fun' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from download_constructor.cc:45: In file included from ./../download/download_wrapper.h:41: In file included from ./download_main.h:52: ./../torrent/data/file_list.h:202:66: warning: 'bind2nd, unsigned long long>' is deprecated [-Wdeprecated-declarations] return std::find_if(file_list->begin(), file_list->end(), std::bind2nd(std::mem_fun(&File::is_valid_position), pos)); ^ /usr/include/c++/v1/__functional/binder2nd.h:44:1: note: 'bind2nd, unsigned long long>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from download_constructor.cc:42: ../../rak/functional.h:551:30: warning: 'binary_function' is deprecated [-Wdeprecated-declarations] class mem_fun2 : public std::binary_function { ^ ./download_main.h:201:29: note: in instantiation of template class 'rak::mem_fun2' requested here slot_start_handshake_type m_slotStartHandshake; ^ /usr/include/c++/v1/__functional/binary_function.h:24:29: note: 'binary_function' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 binary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ download_constructor.cc:77:17: warning: 'binary_function' is deprecated [-Wdeprecated-declarations] public std::binary_function { ^ /usr/include/c++/v1/__functional/binary_function.h:24:29: note: 'binary_function' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 binary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ download_constructor.cc:195:71: warning: 'mem_fun_ref' is deprecated [-Wdeprecated-declarations] std::find_if(announce_list->begin(), announce_list->end(), std::mem_fun_ref(&Object::is_list)) != announce_list->end()) ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:158:1: note: 'mem_fun_ref' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from download_constructor.cc:42: ../../rak/functional.h:551:30: warning: 'binary_function' is deprecated [-Wdeprecated-declarations] class mem_fun2 : public std::binary_function { ^ download_constructor.cc:221:16: note: in instantiation of template class 'rak::mem_fun2' requested here rak::bind2nd(rak::make_mem_fun(this, &DownloadConstructor::add_tracker_single), ^ /usr/include/c++/v1/__functional/binary_function.h:24:29: note: 'binary_function' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 binary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from download_constructor.cc:42: ../../rak/functional.h:433:31: warning: 'unary_function' is deprecated [-Wdeprecated-declarations] class bind2nd_t : public std::unary_function { ^ download_constructor.cc:221:3: note: in instantiation of template class 'rak::bind2nd_t>' requested here rak::bind2nd(rak::make_mem_fun(this, &DownloadConstructor::add_tracker_single), ^ /usr/include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ download_constructor.cc:343:53: warning: 'ptr_fun' is deprecated [-Wdeprecated-declarations] if (std::find_if(plist.begin(), plist.end(), std::ptr_fun(&DownloadConstructor::is_invalid_path_element)) != plist.end()) ^ /usr/include/c++/v1/__functional/pointer_to_unary_function.h:37:1: note: 'ptr_fun' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ download_constructor.cc:349:74: warning: 'mem_fun_ref' is deprecated [-Wdeprecated-declarations] std::transform(plist.begin(), plist.end(), std::back_inserter(p), std::mem_fun_ref(&Object::as_string)); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:158:1: note: 'mem_fun_ref' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from download_constructor.cc:42: ../../rak/functional.h:433:31: warning: 'unary_function' is deprecated [-Wdeprecated-declarations] class bind2nd_t : public std::unary_function { ^ download_constructor.cc:362:71: note: in instantiation of template class 'rak::bind2nd_t' requested here std::list::iterator itr = std::find_if(pathFirst, pathLast, rak::bind2nd(download_constructor_encoding_match(), encodingFirst->c_str())); ^ /usr/include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from download_constructor.cc:45: In file included from ./../download/download_wrapper.h:41: In file included from ./download_main.h:43: In file included from ./../globals.h:41: In file included from ../../rak/priority_queue_default.h:42: ../../rak/priority_queue.h:84:46: warning: 'bind2nd, rak::priority_item *>' is deprecated [-Wdeprecated-declarations] return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); ^ ../../rak/priority_queue_default.h:113:14: note: in instantiation of function template specialization 'rak::priority_queue, rak::cacheline_allocator>::find' requested here if (queue->find(item) != queue->end()) ^ /usr/include/c++/v1/__functional/binder2nd.h:44:1: note: 'bind2nd, rak::priority_item *>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ 13 warnings generated. mv -f .deps/download_constructor.Tpo .deps/download_constructor.Plo /usr/bin/libtool --tag=CXX --mode=compile c++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT download_main.lo -MD -MP -MF .deps/download_main.Tpo -c -o download_main.lo download_main.cc c++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT download_main.lo -MD -MP -MF .deps/download_main.Tpo -c download_main.cc -fPIC -DPIC -o .libs/download_main.o In file included from download_main.cc:42: In file included from ./../data/chunk_list.h:44: ./../data/chunk.h:124:57: warning: 'mem_fun_ref' is deprecated [-Wdeprecated-declarations] return std::find_if(begin(), end(), std::bind2nd(std::mem_fun_ref(&ChunkPart::has_address), ptr)); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:164:1: note: 'mem_fun_ref' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from download_main.cc:42: In file included from ./../data/chunk_list.h:44: ./../data/chunk.h:124:44: warning: 'bind2nd, void *>' is deprecated [-Wdeprecated-declarations] return std::find_if(begin(), end(), std::bind2nd(std::mem_fun_ref(&ChunkPart::has_address), ptr)); ^ /usr/include/c++/v1/__functional/binder2nd.h:44:1: note: 'bind2nd, void *>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from download_main.cc:43: In file included from ./../protocol/extensions.h:48: ./../net/address_list.h:61:36: warning: 'unary_function' is deprecated [-Wdeprecated-declarations] struct add_address : public std::unary_function { ^ /usr/include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from download_main.cc:45: In file included from ./../protocol/initial_seed.h:40: In file included from ./../download/download_main.h:43: In file included from ./../globals.h:41: ../../rak/priority_queue_default.h:56:7: warning: '~priority_item' has a non-throwing exception specification but can still throw [-Wexceptions] throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); ^ ../../rak/priority_queue_default.h:54:3: note: destructor has a implicit non-throwing exception specification ~priority_item() { ^ In file included from download_main.cc:45: In file included from ./../protocol/initial_seed.h:40: In file included from ./../download/download_main.h:52: ./../torrent/data/file_list.h:202:79: warning: 'mem_fun' is deprecated [-Wdeprecated-declarations] return std::find_if(file_list->begin(), file_list->end(), std::bind2nd(std::mem_fun(&File::is_valid_position), pos)); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:128:1: note: 'mem_fun' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from download_main.cc:45: In file included from ./../protocol/initial_seed.h:40: In file included from ./../download/download_main.h:52: ./../torrent/data/file_list.h:202:66: warning: 'bind2nd, unsigned long long>' is deprecated [-Wdeprecated-declarations] return std::find_if(file_list->begin(), file_list->end(), std::bind2nd(std::mem_fun(&File::is_valid_position), pos)); ^ /usr/include/c++/v1/__functional/binder2nd.h:44:1: note: 'bind2nd, unsigned long long>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from download_main.cc:44: In file included from ./../protocol/handshake_manager.h:43: ../../rak/functional.h:551:30: warning: 'binary_function' is deprecated [-Wdeprecated-declarations] class mem_fun2 : public std::binary_function { ^ ./../download/download_main.h:201:29: note: in instantiation of template class 'rak::mem_fun2' requested here slot_start_handshake_type m_slotStartHandshake; ^ /usr/include/c++/v1/__functional/binary_function.h:24:29: note: 'binary_function' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 binary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from download_main.cc:46: In file included from ./../protocol/peer_connection_base.h:50: In file included from ./../protocol/request_list.h:42: ./../torrent/data/block_transfer.h:132:5: warning: '~BlockTransfer' has a non-throwing exception specification but can still throw [-Wexceptions] throw internal_error("BlockTransfer::~BlockTransfer() peer_info not NULL"); ^ ./../torrent/data/block_transfer.h:127:16: note: destructor has a implicit non-throwing exception specification BlockTransfer::~BlockTransfer() { ^ ./../torrent/data/block_transfer.h:129:5: warning: '~BlockTransfer' has a non-throwing exception specification but can still throw [-Wexceptions] throw internal_error("BlockTransfer::~BlockTransfer() block not NULL"); ^ ./../torrent/data/block_transfer.h:127:16: note: destructor has a implicit non-throwing exception specification BlockTransfer::~BlockTransfer() { ^ download_main.cc:143:5: warning: '~DownloadMain' has a non-throwing exception specification but can still throw [-Wexceptions] throw internal_error("DownloadMain::~DownloadMain(): m_info->size_pex() != 0."); ^ download_main.cc:134:15: note: destructor has a implicit non-throwing exception specification DownloadMain::~DownloadMain() { ^ download_main.cc:136:5: warning: '~DownloadMain' has a non-throwing exception specification but can still throw [-Wexceptions] throw internal_error("DownloadMain::~DownloadMain(): m_taskTrackerRequest is queued."); ^ download_main.cc:134:15: note: destructor has a implicit non-throwing exception specification DownloadMain::~DownloadMain() { ^ In file included from download_main.cc:45: In file included from ./../protocol/initial_seed.h:40: In file included from ./../download/download_main.h:43: In file included from ./../globals.h:41: In file included from ../../rak/priority_queue_default.h:42: ../../rak/priority_queue.h:84:46: warning: 'bind2nd, rak::priority_item *>' is deprecated [-Wdeprecated-declarations] return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); ^ ../../rak/priority_queue_default.h:113:14: note: in instantiation of function template specialization 'rak::priority_queue, rak::cacheline_allocator>::find' requested here if (queue->find(item) != queue->end()) ^ /usr/include/c++/v1/__functional/binder2nd.h:44:1: note: 'bind2nd, rak::priority_item *>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ 12 warnings generated. c++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT download_main.lo -MD -MP -MF .deps/download_main.Tpo -c download_main.cc -o download_main.o In file included from download_main.cc:42: In file included from ./../data/chunk_list.h:44: ./../data/chunk.h:124:57: warning: 'mem_fun_ref' is deprecated [-Wdeprecated-declarations] return std::find_if(begin(), end(), std::bind2nd(std::mem_fun_ref(&ChunkPart::has_address), ptr)); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:164:1: note: 'mem_fun_ref' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from download_main.cc:42: In file included from ./../data/chunk_list.h:44: ./../data/chunk.h:124:44: warning: 'bind2nd, void *>' is deprecated [-Wdeprecated-declarations] return std::find_if(begin(), end(), std::bind2nd(std::mem_fun_ref(&ChunkPart::has_address), ptr)); ^ /usr/include/c++/v1/__functional/binder2nd.h:44:1: note: 'bind2nd, void *>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from download_main.cc:43: In file included from ./../protocol/extensions.h:48: ./../net/address_list.h:61:36: warning: 'unary_function' is deprecated [-Wdeprecated-declarations] struct add_address : public std::unary_function { ^ /usr/include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from download_main.cc:45: In file included from ./../protocol/initial_seed.h:40: In file included from ./../download/download_main.h:43: In file included from ./../globals.h:41: ../../rak/priority_queue_default.h:56:7: warning: '~priority_item' has a non-throwing exception specification but can still throw [-Wexceptions] throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); ^ ../../rak/priority_queue_default.h:54:3: note: destructor has a implicit non-throwing exception specification ~priority_item() { ^ In file included from download_main.cc:45: In file included from ./../protocol/initial_seed.h:40: In file included from ./../download/download_main.h:52: ./../torrent/data/file_list.h:202:79: warning: 'mem_fun' is deprecated [-Wdeprecated-declarations] return std::find_if(file_list->begin(), file_list->end(), std::bind2nd(std::mem_fun(&File::is_valid_position), pos)); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:128:1: note: 'mem_fun' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from download_main.cc:45: In file included from ./../protocol/initial_seed.h:40: In file included from ./../download/download_main.h:52: ./../torrent/data/file_list.h:202:66: warning: 'bind2nd, unsigned long long>' is deprecated [-Wdeprecated-declarations] return std::find_if(file_list->begin(), file_list->end(), std::bind2nd(std::mem_fun(&File::is_valid_position), pos)); ^ /usr/include/c++/v1/__functional/binder2nd.h:44:1: note: 'bind2nd, unsigned long long>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from download_main.cc:44: In file included from ./../protocol/handshake_manager.h:43: ../../rak/functional.h:551:30: warning: 'binary_function' is deprecated [-Wdeprecated-declarations] class mem_fun2 : public std::binary_function { ^ ./../download/download_main.h:201:29: note: in instantiation of template class 'rak::mem_fun2' requested here slot_start_handshake_type m_slotStartHandshake; ^ /usr/include/c++/v1/__functional/binary_function.h:24:29: note: 'binary_function' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 binary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from download_main.cc:46: In file included from ./../protocol/peer_connection_base.h:50: In file included from ./../protocol/request_list.h:42: ./../torrent/data/block_transfer.h:132:5: warning: '~BlockTransfer' has a non-throwing exception specification but can still throw [-Wexceptions] throw internal_error("BlockTransfer::~BlockTransfer() peer_info not NULL"); ^ ./../torrent/data/block_transfer.h:127:16: note: destructor has a implicit non-throwing exception specification BlockTransfer::~BlockTransfer() { ^ ./../torrent/data/block_transfer.h:129:5: warning: '~BlockTransfer' has a non-throwing exception specification but can still throw [-Wexceptions] throw internal_error("BlockTransfer::~BlockTransfer() block not NULL"); ^ ./../torrent/data/block_transfer.h:127:16: note: destructor has a implicit non-throwing exception specification BlockTransfer::~BlockTransfer() { ^ download_main.cc:143:5: warning: '~DownloadMain' has a non-throwing exception specification but can still throw [-Wexceptions] throw internal_error("DownloadMain::~DownloadMain(): m_info->size_pex() != 0."); ^ download_main.cc:134:15: note: destructor has a implicit non-throwing exception specification DownloadMain::~DownloadMain() { ^ download_main.cc:136:5: warning: '~DownloadMain' has a non-throwing exception specification but can still throw [-Wexceptions] throw internal_error("DownloadMain::~DownloadMain(): m_taskTrackerRequest is queued."); ^ download_main.cc:134:15: note: destructor has a implicit non-throwing exception specification DownloadMain::~DownloadMain() { ^ In file included from download_main.cc:45: In file included from ./../protocol/initial_seed.h:40: In file included from ./../download/download_main.h:43: In file included from ./../globals.h:41: In file included from ../../rak/priority_queue_default.h:42: ../../rak/priority_queue.h:84:46: warning: 'bind2nd, rak::priority_item *>' is deprecated [-Wdeprecated-declarations] return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); ^ ../../rak/priority_queue_default.h:113:14: note: in instantiation of function template specialization 'rak::priority_queue, rak::cacheline_allocator>::find' requested here if (queue->find(item) != queue->end()) ^ /usr/include/c++/v1/__functional/binder2nd.h:44:1: note: 'bind2nd, rak::priority_item *>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ 12 warnings generated. mv -f .deps/download_main.Tpo .deps/download_main.Plo /usr/bin/libtool --tag=CXX --mode=compile c++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT download_wrapper.lo -MD -MP -MF .deps/download_wrapper.Tpo -c -o download_wrapper.lo download_wrapper.cc c++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT download_wrapper.lo -MD -MP -MF .deps/download_wrapper.Tpo -c download_wrapper.cc -fPIC -DPIC -o .libs/download_wrapper.o In file included from download_wrapper.cc:43: In file included from ./../data/chunk_list.h:44: ./../data/chunk.h:124:57: warning: 'mem_fun_ref' is deprecated [-Wdeprecated-declarations] return std::find_if(begin(), end(), std::bind2nd(std::mem_fun_ref(&ChunkPart::has_address), ptr)); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:164:1: note: 'mem_fun_ref' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from download_wrapper.cc:43: In file included from ./../data/chunk_list.h:44: ./../data/chunk.h:124:44: warning: 'bind2nd, void *>' is deprecated [-Wdeprecated-declarations] return std::find_if(begin(), end(), std::bind2nd(std::mem_fun_ref(&ChunkPart::has_address), ptr)); ^ /usr/include/c++/v1/__functional/binder2nd.h:44:1: note: 'bind2nd, void *>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from download_wrapper.cc:45: In file included from ./../data/hash_torrent.h:43: ../../rak/priority_queue_default.h:56:7: warning: '~priority_item' has a non-throwing exception specification but can still throw [-Wexceptions] throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); ^ ../../rak/priority_queue_default.h:54:3: note: destructor has a implicit non-throwing exception specification ~priority_item() { ^ In file included from download_wrapper.cc:47: In file included from ./../protocol/peer_connection_base.h:47: In file included from ./../protocol/extensions.h:48: ./../net/address_list.h:61:36: warning: 'unary_function' is deprecated [-Wdeprecated-declarations] struct add_address : public std::unary_function { ^ /usr/include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from download_wrapper.cc:47: In file included from ./../protocol/peer_connection_base.h:50: In file included from ./../protocol/request_list.h:42: ./../torrent/data/block_transfer.h:132:5: warning: '~BlockTransfer' has a non-throwing exception specification but can still throw [-Wexceptions] throw internal_error("BlockTransfer::~BlockTransfer() peer_info not NULL"); ^ ./../torrent/data/block_transfer.h:127:16: note: destructor has a implicit non-throwing exception specification BlockTransfer::~BlockTransfer() { ^ ./../torrent/data/block_transfer.h:129:5: warning: '~BlockTransfer' has a non-throwing exception specification but can still throw [-Wexceptions] throw internal_error("BlockTransfer::~BlockTransfer() block not NULL"); ^ ./../torrent/data/block_transfer.h:127:16: note: destructor has a implicit non-throwing exception specification BlockTransfer::~BlockTransfer() { ^ In file included from download_wrapper.cc:52: ./../torrent/data/file_list.h:202:79: warning: 'mem_fun' is deprecated [-Wdeprecated-declarations] return std::find_if(file_list->begin(), file_list->end(), std::bind2nd(std::mem_fun(&File::is_valid_position), pos)); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:128:1: note: 'mem_fun' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from download_wrapper.cc:52: ./../torrent/data/file_list.h:202:66: warning: 'bind2nd, unsigned long long>' is deprecated [-Wdeprecated-declarations] return std::find_if(file_list->begin(), file_list->end(), std::bind2nd(std::mem_fun(&File::is_valid_position), pos)); ^ /usr/include/c++/v1/__functional/binder2nd.h:44:1: note: 'bind2nd, unsigned long long>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from download_wrapper.cc:45: In file included from ./../data/hash_torrent.h:46: In file included from ./../torrent/utils/ranges.h:44: ../../rak/functional.h:551:30: warning: 'binary_function' is deprecated [-Wdeprecated-declarations] class mem_fun2 : public std::binary_function { ^ ./download_main.h:201:29: note: in instantiation of template class 'rak::mem_fun2' requested here slot_start_handshake_type m_slotStartHandshake; ^ /usr/include/c++/v1/__functional/binary_function.h:24:29: note: 'binary_function' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 binary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from download_wrapper.cc:45: In file included from ./../data/hash_torrent.h:46: In file included from ./../torrent/utils/ranges.h:44: ../../rak/functional.h:341:32: warning: 'unary_function &, rak::timer &>' is deprecated [-Wdeprecated-declarations] struct mem_ref_t : public std::unary_function { ^ download_wrapper.cc:309:46: note: in instantiation of template class 'rak::mem_ref_t, rak::timer>' requested here rak::mem_ref(&DownloadMain::have_queue_type::value_type::first))).base(), ^ /usr/include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function &, rak::timer &>' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ download_wrapper.cc:355:30: warning: 'mem_fun' is deprecated [-Wdeprecated-declarations] rak::on(std::mem_fun(&Peer::m_ptr), std::mem_fun(&PeerConnectionBase::update_interested))); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:50:1: note: 'mem_fun' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ download_wrapper.cc:355:58: warning: 'mem_fun' is deprecated [-Wdeprecated-declarations] rak::on(std::mem_fun(&Peer::m_ptr), std::mem_fun(&PeerConnectionBase::update_interested))); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:50:1: note: 'mem_fun' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from download_wrapper.cc:45: In file included from ./../data/hash_torrent.h:46: In file included from ./../torrent/utils/ranges.h:44: ../../rak/functional.h:279:27: warning: 'unary_function' is deprecated [-Wdeprecated-declarations] struct on_t : public std::unary_function { ^ download_wrapper.cc:355:17: note: in instantiation of template class 'rak::on_t, std::mem_fun_t>' requested here rak::on(std::mem_fun(&Peer::m_ptr), std::mem_fun(&PeerConnectionBase::update_interested))); ^ /usr/include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from download_wrapper.cc:45: In file included from ./../data/hash_torrent.h:43: In file included from ../../rak/priority_queue_default.h:42: ../../rak/priority_queue.h:84:46: warning: 'bind2nd, rak::priority_item *>' is deprecated [-Wdeprecated-declarations] return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); ^ ../../rak/priority_queue_default.h:113:14: note: in instantiation of function template specialization 'rak::priority_queue, rak::cacheline_allocator>::find' requested here if (queue->find(item) != queue->end()) ^ /usr/include/c++/v1/__functional/binder2nd.h:44:1: note: 'bind2nd, rak::priority_item *>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from download_wrapper.cc:45: In file included from ./../data/hash_torrent.h:46: In file included from ./../torrent/utils/ranges.h:44: ../../rak/functional.h:352:38: warning: 'unary_function &, const unsigned int &>' is deprecated [-Wdeprecated-declarations] struct const_mem_ref_t : public std::unary_function { ^ ./../torrent/utils/ranges.h:97:74: note: in instantiation of template class 'rak::const_mem_ref_t, unsigned int>' requested here iterator first = std::find_if(begin(), end(), rak::less_equal(r.first, rak::const_mem_ref(&value_type::second))); ^ download_wrapper.cc:339:42: note: in instantiation of member function 'torrent::ranges::insert' requested here data()->mutable_normal_priority()->insert(range); ^ /usr/include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function &, const unsigned int &>' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ 15 warnings generated. c++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT download_wrapper.lo -MD -MP -MF .deps/download_wrapper.Tpo -c download_wrapper.cc -o download_wrapper.o In file included from download_wrapper.cc:43: In file included from ./../data/chunk_list.h:44: ./../data/chunk.h:124:57: warning: 'mem_fun_ref' is deprecated [-Wdeprecated-declarations] return std::find_if(begin(), end(), std::bind2nd(std::mem_fun_ref(&ChunkPart::has_address), ptr)); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:164:1: note: 'mem_fun_ref' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from download_wrapper.cc:43: In file included from ./../data/chunk_list.h:44: ./../data/chunk.h:124:44: warning: 'bind2nd, void *>' is deprecated [-Wdeprecated-declarations] return std::find_if(begin(), end(), std::bind2nd(std::mem_fun_ref(&ChunkPart::has_address), ptr)); ^ /usr/include/c++/v1/__functional/binder2nd.h:44:1: note: 'bind2nd, void *>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from download_wrapper.cc:45: In file included from ./../data/hash_torrent.h:43: ../../rak/priority_queue_default.h:56:7: warning: '~priority_item' has a non-throwing exception specification but can still throw [-Wexceptions] throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); ^ ../../rak/priority_queue_default.h:54:3: note: destructor has a implicit non-throwing exception specification ~priority_item() { ^ In file included from download_wrapper.cc:47: In file included from ./../protocol/peer_connection_base.h:47: In file included from ./../protocol/extensions.h:48: ./../net/address_list.h:61:36: warning: 'unary_function' is deprecated [-Wdeprecated-declarations] struct add_address : public std::unary_function { ^ /usr/include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from download_wrapper.cc:47: In file included from ./../protocol/peer_connection_base.h:50: In file included from ./../protocol/request_list.h:42: ./../torrent/data/block_transfer.h:132:5: warning: '~BlockTransfer' has a non-throwing exception specification but can still throw [-Wexceptions] throw internal_error("BlockTransfer::~BlockTransfer() peer_info not NULL"); ^ ./../torrent/data/block_transfer.h:127:16: note: destructor has a implicit non-throwing exception specification BlockTransfer::~BlockTransfer() { ^ ./../torrent/data/block_transfer.h:129:5: warning: '~BlockTransfer' has a non-throwing exception specification but can still throw [-Wexceptions] throw internal_error("BlockTransfer::~BlockTransfer() block not NULL"); ^ ./../torrent/data/block_transfer.h:127:16: note: destructor has a implicit non-throwing exception specification BlockTransfer::~BlockTransfer() { ^ In file included from download_wrapper.cc:52: ./../torrent/data/file_list.h:202:79: warning: 'mem_fun' is deprecated [-Wdeprecated-declarations] return std::find_if(file_list->begin(), file_list->end(), std::bind2nd(std::mem_fun(&File::is_valid_position), pos)); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:128:1: note: 'mem_fun' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from download_wrapper.cc:52: ./../torrent/data/file_list.h:202:66: warning: 'bind2nd, unsigned long long>' is deprecated [-Wdeprecated-declarations] return std::find_if(file_list->begin(), file_list->end(), std::bind2nd(std::mem_fun(&File::is_valid_position), pos)); ^ /usr/include/c++/v1/__functional/binder2nd.h:44:1: note: 'bind2nd, unsigned long long>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from download_wrapper.cc:45: In file included from ./../data/hash_torrent.h:46: In file included from ./../torrent/utils/ranges.h:44: ../../rak/functional.h:551:30: warning: 'binary_function' is deprecated [-Wdeprecated-declarations] class mem_fun2 : public std::binary_function { ^ ./download_main.h:201:29: note: in instantiation of template class 'rak::mem_fun2' requested here slot_start_handshake_type m_slotStartHandshake; ^ /usr/include/c++/v1/__functional/binary_function.h:24:29: note: 'binary_function' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 binary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from download_wrapper.cc:45: In file included from ./../data/hash_torrent.h:46: In file included from ./../torrent/utils/ranges.h:44: ../../rak/functional.h:341:32: warning: 'unary_function &, rak::timer &>' is deprecated [-Wdeprecated-declarations] struct mem_ref_t : public std::unary_function { ^ download_wrapper.cc:309:46: note: in instantiation of template class 'rak::mem_ref_t, rak::timer>' requested here rak::mem_ref(&DownloadMain::have_queue_type::value_type::first))).base(), ^ /usr/include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function &, rak::timer &>' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ download_wrapper.cc:355:30: warning: 'mem_fun' is deprecated [-Wdeprecated-declarations] rak::on(std::mem_fun(&Peer::m_ptr), std::mem_fun(&PeerConnectionBase::update_interested))); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:50:1: note: 'mem_fun' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ download_wrapper.cc:355:58: warning: 'mem_fun' is deprecated [-Wdeprecated-declarations] rak::on(std::mem_fun(&Peer::m_ptr), std::mem_fun(&PeerConnectionBase::update_interested))); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:50:1: note: 'mem_fun' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from download_wrapper.cc:45: In file included from ./../data/hash_torrent.h:46: In file included from ./../torrent/utils/ranges.h:44: ../../rak/functional.h:279:27: warning: 'unary_function' is deprecated [-Wdeprecated-declarations] struct on_t : public std::unary_function { ^ download_wrapper.cc:355:17: note: in instantiation of template class 'rak::on_t, std::mem_fun_t>' requested here rak::on(std::mem_fun(&Peer::m_ptr), std::mem_fun(&PeerConnectionBase::update_interested))); ^ /usr/include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from download_wrapper.cc:45: In file included from ./../data/hash_torrent.h:43: In file included from ../../rak/priority_queue_default.h:42: ../../rak/priority_queue.h:84:46: warning: 'bind2nd, rak::priority_item *>' is deprecated [-Wdeprecated-declarations] return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); ^ ../../rak/priority_queue_default.h:113:14: note: in instantiation of function template specialization 'rak::priority_queue, rak::cacheline_allocator>::find' requested here if (queue->find(item) != queue->end()) ^ /usr/include/c++/v1/__functional/binder2nd.h:44:1: note: 'bind2nd, rak::priority_item *>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from download_wrapper.cc:45: In file included from ./../data/hash_torrent.h:46: In file included from ./../torrent/utils/ranges.h:44: ../../rak/functional.h:352:38: warning: 'unary_function &, const unsigned int &>' is deprecated [-Wdeprecated-declarations] struct const_mem_ref_t : public std::unary_function { ^ ./../torrent/utils/ranges.h:97:74: note: in instantiation of template class 'rak::const_mem_ref_t, unsigned int>' requested here iterator first = std::find_if(begin(), end(), rak::less_equal(r.first, rak::const_mem_ref(&value_type::second))); ^ download_wrapper.cc:339:42: note: in instantiation of member function 'torrent::ranges::insert' requested here data()->mutable_normal_priority()->insert(range); ^ /usr/include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function &, const unsigned int &>' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ 15 warnings generated. mv -f .deps/download_wrapper.Tpo .deps/download_wrapper.Plo /usr/bin/libtool --tag=CXX --mode=link c++ -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -L/usr/lib -L/usr/lib -o libsub_download.la available_list.lo chunk_selector.lo chunk_statistics.lo delegator.lo download_constructor.lo download_main.lo download_wrapper.lo -lz -lcrypto libtool: link: ar cru .libs/libsub_download.a .libs/available_list.o .libs/chunk_selector.o .libs/chunk_statistics.o .libs/delegator.o .libs/download_constructor.o .libs/download_main.o .libs/download_wrapper.o libtool: link: ranlib .libs/libsub_download.a Making all in net /usr/bin/libtool --tag=CXX --mode=compile c++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT address_list.lo -MD -MP -MF .deps/address_list.Tpo -c -o address_list.lo address_list.cc c++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT address_list.lo -MD -MP -MF .deps/address_list.Tpo -c address_list.cc -fPIC -DPIC -o .libs/address_list.o In file included from address_list.cc:42: ./address_list.h:61:36: warning: 'unary_function' is deprecated [-Wdeprecated-declarations] struct add_address : public std::unary_function { ^ /usr/include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ address_list.cc:67:50: warning: 'ptr_fun' is deprecated [-Wdeprecated-declarations] std::for_each(b.begin(), b.end(), rak::on(std::ptr_fun(&AddressList::parse_address), AddressList::add_address(this))); ^ /usr/include/c++/v1/__functional/pointer_to_unary_function.h:37:1: note: 'ptr_fun' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from address_list.cc:40: ../../rak/functional.h:279:27: warning: 'unary_function' is deprecated [-Wdeprecated-declarations] struct on_t : public std::unary_function { ^ address_list.cc:67:37: note: in instantiation of template class 'rak::on_t, torrent::AddressList::add_address>' requested here std::for_each(b.begin(), b.end(), rak::on(std::ptr_fun(&AddressList::parse_address), AddressList::add_address(this))); ^ /usr/include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ 3 warnings generated. c++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT address_list.lo -MD -MP -MF .deps/address_list.Tpo -c address_list.cc -o address_list.o In file included from address_list.cc:42: ./address_list.h:61:36: warning: 'unary_function' is deprecated [-Wdeprecated-declarations] struct add_address : public std::unary_function { ^ /usr/include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ address_list.cc:67:50: warning: 'ptr_fun' is deprecated [-Wdeprecated-declarations] std::for_each(b.begin(), b.end(), rak::on(std::ptr_fun(&AddressList::parse_address), AddressList::add_address(this))); ^ /usr/include/c++/v1/__functional/pointer_to_unary_function.h:37:1: note: 'ptr_fun' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from address_list.cc:40: ../../rak/functional.h:279:27: warning: 'unary_function' is deprecated [-Wdeprecated-declarations] struct on_t : public std::unary_function { ^ address_list.cc:67:37: note: in instantiation of template class 'rak::on_t, torrent::AddressList::add_address>' requested here std::for_each(b.begin(), b.end(), rak::on(std::ptr_fun(&AddressList::parse_address), AddressList::add_address(this))); ^ /usr/include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ 3 warnings generated. mv -f .deps/address_list.Tpo .deps/address_list.Plo /usr/bin/libtool --tag=CXX --mode=compile c++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT listen.lo -MD -MP -MF .deps/listen.Tpo -c -o listen.lo listen.cc c++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT listen.lo -MD -MP -MF .deps/listen.Tpo -c listen.cc -fPIC -DPIC -o .libs/listen.o In file included from listen.cc:53: In file included from ./../manager.h:42: ../../rak/priority_queue_default.h:56:7: warning: '~priority_item' has a non-throwing exception specification but can still throw [-Wexceptions] throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); ^ ../../rak/priority_queue_default.h:54:3: note: destructor has a implicit non-throwing exception specification ~priority_item() { ^ In file included from listen.cc:53: In file included from ./../manager.h:42: In file included from ../../rak/priority_queue_default.h:42: ../../rak/priority_queue.h:84:46: warning: 'bind2nd, rak::priority_item *>' is deprecated [-Wdeprecated-declarations] return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); ^ ../../rak/priority_queue_default.h:113:14: note: in instantiation of function template specialization 'rak::priority_queue, rak::cacheline_allocator>::find' requested here if (queue->find(item) != queue->end()) ^ /usr/include/c++/v1/__functional/binder2nd.h:44:1: note: 'bind2nd, rak::priority_item *>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ 2 warnings generated. c++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT listen.lo -MD -MP -MF .deps/listen.Tpo -c listen.cc -o listen.o In file included from listen.cc:53: In file included from ./../manager.h:42: ../../rak/priority_queue_default.h:56:7: warning: '~priority_item' has a non-throwing exception specification but can still throw [-Wexceptions] throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); ^ ../../rak/priority_queue_default.h:54:3: note: destructor has a implicit non-throwing exception specification ~priority_item() { ^ In file included from listen.cc:53: In file included from ./../manager.h:42: In file included from ../../rak/priority_queue_default.h:42: ../../rak/priority_queue.h:84:46: warning: 'bind2nd, rak::priority_item *>' is deprecated [-Wdeprecated-declarations] return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); ^ ../../rak/priority_queue_default.h:113:14: note: in instantiation of function template specialization 'rak::priority_queue, rak::cacheline_allocator>::find' requested here if (queue->find(item) != queue->end()) ^ /usr/include/c++/v1/__functional/binder2nd.h:44:1: note: 'bind2nd, rak::priority_item *>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ 2 warnings generated. mv -f .deps/listen.Tpo .deps/listen.Plo /usr/bin/libtool --tag=CXX --mode=compile c++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT socket_base.lo -MD -MP -MF .deps/socket_base.Tpo -c -o socket_base.lo socket_base.cc c++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT socket_base.lo -MD -MP -MF .deps/socket_base.Tpo -c socket_base.cc -fPIC -DPIC -o .libs/socket_base.o In file included from socket_base.cc:45: In file included from ./../manager.h:42: ../../rak/priority_queue_default.h:56:7: warning: '~priority_item' has a non-throwing exception specification but can still throw [-Wexceptions] throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); ^ ../../rak/priority_queue_default.h:54:3: note: destructor has a implicit non-throwing exception specification ~priority_item() { ^ socket_base.cc:54:5: warning: '~SocketBase' has a non-throwing exception specification but can still throw [-Wexceptions] throw internal_error("SocketBase::~SocketBase() called but m_fd is still valid"); ^ socket_base.cc:52:13: note: destructor has a implicit non-throwing exception specification SocketBase::~SocketBase() { ^ In file included from socket_base.cc:45: In file included from ./../manager.h:42: In file included from ../../rak/priority_queue_default.h:42: ../../rak/priority_queue.h:84:46: warning: 'bind2nd, rak::priority_item *>' is deprecated [-Wdeprecated-declarations] return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); ^ ../../rak/priority_queue_default.h:113:14: note: in instantiation of function template specialization 'rak::priority_queue, rak::cacheline_allocator>::find' requested here if (queue->find(item) != queue->end()) ^ /usr/include/c++/v1/__functional/binder2nd.h:44:1: note: 'bind2nd, rak::priority_item *>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ 3 warnings generated. c++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT socket_base.lo -MD -MP -MF .deps/socket_base.Tpo -c socket_base.cc -o socket_base.o In file included from socket_base.cc:45: In file included from ./../manager.h:42: ../../rak/priority_queue_default.h:56:7: warning: '~priority_item' has a non-throwing exception specification but can still throw [-Wexceptions] throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); ^ ../../rak/priority_queue_default.h:54:3: note: destructor has a implicit non-throwing exception specification ~priority_item() { ^ socket_base.cc:54:5: warning: '~SocketBase' has a non-throwing exception specification but can still throw [-Wexceptions] throw internal_error("SocketBase::~SocketBase() called but m_fd is still valid"); ^ socket_base.cc:52:13: note: destructor has a implicit non-throwing exception specification SocketBase::~SocketBase() { ^ In file included from socket_base.cc:45: In file included from ./../manager.h:42: In file included from ../../rak/priority_queue_default.h:42: ../../rak/priority_queue.h:84:46: warning: 'bind2nd, rak::priority_item *>' is deprecated [-Wdeprecated-declarations] return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); ^ ../../rak/priority_queue_default.h:113:14: note: in instantiation of function template specialization 'rak::priority_queue, rak::cacheline_allocator>::find' requested here if (queue->find(item) != queue->end()) ^ /usr/include/c++/v1/__functional/binder2nd.h:44:1: note: 'bind2nd, rak::priority_item *>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ 3 warnings generated. mv -f .deps/socket_base.Tpo .deps/socket_base.Plo /usr/bin/libtool --tag=CXX --mode=compile c++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT socket_datagram.lo -MD -MP -MF .deps/socket_datagram.Tpo -c -o socket_datagram.lo socket_datagram.cc c++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT socket_datagram.lo -MD -MP -MF .deps/socket_datagram.Tpo -c socket_datagram.cc -fPIC -DPIC -o .libs/socket_datagram.o c++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT socket_datagram.lo -MD -MP -MF .deps/socket_datagram.Tpo -c socket_datagram.cc -o socket_datagram.o mv -f .deps/socket_datagram.Tpo .deps/socket_datagram.Plo /usr/bin/libtool --tag=CXX --mode=compile c++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT socket_fd.lo -MD -MP -MF .deps/socket_fd.Tpo -c -o socket_fd.lo socket_fd.cc c++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT socket_fd.lo -MD -MP -MF .deps/socket_fd.Tpo -c socket_fd.cc -fPIC -DPIC -o .libs/socket_fd.o c++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT socket_fd.lo -MD -MP -MF .deps/socket_fd.Tpo -c socket_fd.cc -o socket_fd.o mv -f .deps/socket_fd.Tpo .deps/socket_fd.Plo /usr/bin/libtool --tag=CXX --mode=compile c++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT socket_set.lo -MD -MP -MF .deps/socket_set.Tpo -c -o socket_set.lo socket_set.cc c++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT socket_set.lo -MD -MP -MF .deps/socket_set.Tpo -c socket_set.cc -fPIC -DPIC -o .libs/socket_set.o socket_set.cc:70:21: warning: 'mem_fun' is deprecated [-Wdeprecated-declarations] std::bind1st(std::mem_fun(&SocketSet::_replace_with_last), this)); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:56:1: note: 'mem_fun' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ socket_set.cc:70:8: warning: 'bind1st, torrent::SocketSet *>' is deprecated [-Wdeprecated-declarations] std::bind1st(std::mem_fun(&SocketSet::_replace_with_last), this)); ^ /usr/include/c++/v1/__functional/binder1st.h:44:1: note: 'bind1st, torrent::SocketSet *>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ 2 warnings generated. c++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT socket_set.lo -MD -MP -MF .deps/socket_set.Tpo -c socket_set.cc -o socket_set.o socket_set.cc:70:21: warning: 'mem_fun' is deprecated [-Wdeprecated-declarations] std::bind1st(std::mem_fun(&SocketSet::_replace_with_last), this)); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:56:1: note: 'mem_fun' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ socket_set.cc:70:8: warning: 'bind1st, torrent::SocketSet *>' is deprecated [-Wdeprecated-declarations] std::bind1st(std::mem_fun(&SocketSet::_replace_with_last), this)); ^ /usr/include/c++/v1/__functional/binder1st.h:44:1: note: 'bind1st, torrent::SocketSet *>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ 2 warnings generated. mv -f .deps/socket_set.Tpo .deps/socket_set.Plo /usr/bin/libtool --tag=CXX --mode=compile c++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT socket_stream.lo -MD -MP -MF .deps/socket_stream.Tpo -c -o socket_stream.lo socket_stream.cc c++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT socket_stream.lo -MD -MP -MF .deps/socket_stream.Tpo -c socket_stream.cc -fPIC -DPIC -o .libs/socket_stream.o c++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT socket_stream.lo -MD -MP -MF .deps/socket_stream.Tpo -c socket_stream.cc -o socket_stream.o mv -f .deps/socket_stream.Tpo .deps/socket_stream.Plo /usr/bin/libtool --tag=CXX --mode=compile c++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT throttle_internal.lo -MD -MP -MF .deps/throttle_internal.Tpo -c -o throttle_internal.lo throttle_internal.cc c++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT throttle_internal.lo -MD -MP -MF .deps/throttle_internal.Tpo -c throttle_internal.cc -fPIC -DPIC -o .libs/throttle_internal.o In file included from throttle_internal.cc:41: ../../rak/priority_queue_default.h:56:7: warning: '~priority_item' has a non-throwing exception specification but can still throw [-Wexceptions] throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); ^ ../../rak/priority_queue_default.h:54:3: note: destructor has a implicit non-throwing exception specification ~priority_item() { ^ In file included from throttle_internal.cc:39: ../../rak/functional.h:395:34: warning: 'unary_function' is deprecated [-Wdeprecated-declarations] struct call_delete : public std::unary_function { ^ throttle_internal.cc:72:57: note: in instantiation of template class 'rak::call_delete' requested here std::for_each(m_slaveList.begin(), m_slaveList.end(), rak::call_delete()); ^ /usr/include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ throttle_internal.cc:78:62: warning: 'mem_fun' is deprecated [-Wdeprecated-declarations] std::for_each(m_slaveList.begin(), m_slaveList.end(), std::mem_fun(&ThrottleInternal::enable)); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:50:1: note: 'mem_fun' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ throttle_internal.cc:91:62: warning: 'mem_fun' is deprecated [-Wdeprecated-declarations] std::for_each(m_slaveList.begin(), m_slaveList.end(), std::mem_fun(&ThrottleInternal::disable)); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:50:1: note: 'mem_fun' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from throttle_internal.cc:41: In file included from ../../rak/priority_queue_default.h:42: ../../rak/priority_queue.h:84:46: warning: 'bind2nd, rak::priority_item *>' is deprecated [-Wdeprecated-declarations] return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); ^ ../../rak/priority_queue_default.h:113:14: note: in instantiation of function template specialization 'rak::priority_queue, rak::cacheline_allocator>::find' requested here if (queue->find(item) != queue->end()) ^ /usr/include/c++/v1/__functional/binder2nd.h:44:1: note: 'bind2nd, rak::priority_item *>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ 5 warnings generated. c++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT throttle_internal.lo -MD -MP -MF .deps/throttle_internal.Tpo -c throttle_internal.cc -o throttle_internal.o In file included from throttle_internal.cc:41: ../../rak/priority_queue_default.h:56:7: warning: '~priority_item' has a non-throwing exception specification but can still throw [-Wexceptions] throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); ^ ../../rak/priority_queue_default.h:54:3: note: destructor has a implicit non-throwing exception specification ~priority_item() { ^ In file included from throttle_internal.cc:39: ../../rak/functional.h:395:34: warning: 'unary_function' is deprecated [-Wdeprecated-declarations] struct call_delete : public std::unary_function { ^ throttle_internal.cc:72:57: note: in instantiation of template class 'rak::call_delete' requested here std::for_each(m_slaveList.begin(), m_slaveList.end(), rak::call_delete()); ^ /usr/include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ throttle_internal.cc:78:62: warning: 'mem_fun' is deprecated [-Wdeprecated-declarations] std::for_each(m_slaveList.begin(), m_slaveList.end(), std::mem_fun(&ThrottleInternal::enable)); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:50:1: note: 'mem_fun' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ throttle_internal.cc:91:62: warning: 'mem_fun' is deprecated [-Wdeprecated-declarations] std::for_each(m_slaveList.begin(), m_slaveList.end(), std::mem_fun(&ThrottleInternal::disable)); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:50:1: note: 'mem_fun' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from throttle_internal.cc:41: In file included from ../../rak/priority_queue_default.h:42: ../../rak/priority_queue.h:84:46: warning: 'bind2nd, rak::priority_item *>' is deprecated [-Wdeprecated-declarations] return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); ^ ../../rak/priority_queue_default.h:113:14: note: in instantiation of function template specialization 'rak::priority_queue, rak::cacheline_allocator>::find' requested here if (queue->find(item) != queue->end()) ^ /usr/include/c++/v1/__functional/binder2nd.h:44:1: note: 'bind2nd, rak::priority_item *>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ 5 warnings generated. mv -f .deps/throttle_internal.Tpo .deps/throttle_internal.Plo /usr/bin/libtool --tag=CXX --mode=compile c++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT throttle_list.lo -MD -MP -MF .deps/throttle_list.Tpo -c -o throttle_list.lo throttle_list.cc c++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT throttle_list.lo -MD -MP -MF .deps/throttle_list.Tpo -c throttle_list.cc -fPIC -DPIC -o .libs/throttle_list.o throttle_list.cc:115:38: warning: 'mem_fun' is deprecated [-Wdeprecated-declarations] std::for_each(begin(), end(), std::mem_fun(&ThrottleNode::clear_quota)); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:50:1: note: 'mem_fun' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ throttle_list.cc:116:44: warning: 'mem_fun' is deprecated [-Wdeprecated-declarations] std::for_each(m_splitActive, end(), std::mem_fun(&ThrottleNode::activate)); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:50:1: note: 'mem_fun' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ 2 warnings generated. c++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT throttle_list.lo -MD -MP -MF .deps/throttle_list.Tpo -c throttle_list.cc -o throttle_list.o throttle_list.cc:115:38: warning: 'mem_fun' is deprecated [-Wdeprecated-declarations] std::for_each(begin(), end(), std::mem_fun(&ThrottleNode::clear_quota)); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:50:1: note: 'mem_fun' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ throttle_list.cc:116:44: warning: 'mem_fun' is deprecated [-Wdeprecated-declarations] std::for_each(m_splitActive, end(), std::mem_fun(&ThrottleNode::activate)); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:50:1: note: 'mem_fun' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ 2 warnings generated. mv -f .deps/throttle_list.Tpo .deps/throttle_list.Plo /usr/bin/libtool --tag=CXX --mode=link c++ -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -L/usr/lib -L/usr/lib -o libsub_net.la address_list.lo listen.lo socket_base.lo socket_datagram.lo socket_fd.lo socket_set.lo socket_stream.lo throttle_internal.lo throttle_list.lo -lz -lcrypto libtool: link: ar cru .libs/libsub_net.a .libs/address_list.o .libs/listen.o .libs/socket_base.o .libs/socket_datagram.o .libs/socket_fd.o .libs/socket_set.o .libs/socket_stream.o .libs/throttle_internal.o .libs/throttle_list.o libtool: link: ranlib .libs/libsub_net.a Making all in protocol /usr/bin/libtool --tag=CXX --mode=compile c++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT extensions.lo -MD -MP -MF .deps/extensions.Tpo -c -o extensions.lo extensions.cc c++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT extensions.lo -MD -MP -MF .deps/extensions.Tpo -c extensions.cc -fPIC -DPIC -o .libs/extensions.o In file included from extensions.cc:44: In file included from ./../download/available_list.h:45: ./../net/address_list.h:61:36: warning: 'unary_function' is deprecated [-Wdeprecated-declarations] struct add_address : public std::unary_function { ^ /usr/include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from extensions.cc:45: In file included from ./../download/download_main.h:43: In file included from ./../globals.h:41: ../../rak/priority_queue_default.h:56:7: warning: '~priority_item' has a non-throwing exception specification but can still throw [-Wexceptions] throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); ^ ../../rak/priority_queue_default.h:54:3: note: destructor has a implicit non-throwing exception specification ~priority_item() { ^ In file included from extensions.cc:45: In file included from ./../download/download_main.h:52: ./../torrent/data/file_list.h:202:79: warning: 'mem_fun' is deprecated [-Wdeprecated-declarations] return std::find_if(file_list->begin(), file_list->end(), std::bind2nd(std::mem_fun(&File::is_valid_position), pos)); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:128:1: note: 'mem_fun' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from extensions.cc:45: In file included from ./../download/download_main.h:52: ./../torrent/data/file_list.h:202:66: warning: 'bind2nd, unsigned long long>' is deprecated [-Wdeprecated-declarations] return std::find_if(file_list->begin(), file_list->end(), std::bind2nd(std::mem_fun(&File::is_valid_position), pos)); ^ /usr/include/c++/v1/__functional/binder2nd.h:44:1: note: 'bind2nd, unsigned long long>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from extensions.cc:45: In file included from ./../download/download_main.h:41: ../../rak/functional.h:551:30: warning: 'binary_function' is deprecated [-Wdeprecated-declarations] class mem_fun2 : public std::binary_function { ^ ./../download/download_main.h:201:29: note: in instantiation of template class 'rak::mem_fun2' requested here slot_start_handshake_type m_slotStartHandshake; ^ /usr/include/c++/v1/__functional/binary_function.h:24:29: note: 'binary_function' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 binary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from extensions.cc:47: In file included from ./../protocol/peer_connection_base.h:50: In file included from ./request_list.h:42: ./../torrent/data/block_transfer.h:132:5: warning: '~BlockTransfer' has a non-throwing exception specification but can still throw [-Wexceptions] throw internal_error("BlockTransfer::~BlockTransfer() peer_info not NULL"); ^ ./../torrent/data/block_transfer.h:127:16: note: destructor has a implicit non-throwing exception specification BlockTransfer::~BlockTransfer() { ^ ./../torrent/data/block_transfer.h:129:5: warning: '~BlockTransfer' has a non-throwing exception specification but can still throw [-Wexceptions] throw internal_error("BlockTransfer::~BlockTransfer() block not NULL"); ^ ./../torrent/data/block_transfer.h:127:16: note: destructor has a implicit non-throwing exception specification BlockTransfer::~BlockTransfer() { ^ In file included from extensions.cc:45: In file included from ./../download/download_main.h:43: In file included from ./../globals.h:41: In file included from ../../rak/priority_queue_default.h:42: ../../rak/priority_queue.h:84:46: warning: 'bind2nd, rak::priority_item *>' is deprecated [-Wdeprecated-declarations] return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); ^ ../../rak/priority_queue_default.h:113:14: note: in instantiation of function template specialization 'rak::priority_queue, rak::cacheline_allocator>::find' requested here if (queue->find(item) != queue->end()) ^ /usr/include/c++/v1/__functional/binder2nd.h:44:1: note: 'bind2nd, rak::priority_item *>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ 8 warnings generated. c++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT extensions.lo -MD -MP -MF .deps/extensions.Tpo -c extensions.cc -o extensions.o In file included from extensions.cc:44: In file included from ./../download/available_list.h:45: ./../net/address_list.h:61:36: warning: 'unary_function' is deprecated [-Wdeprecated-declarations] struct add_address : public std::unary_function { ^ /usr/include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from extensions.cc:45: In file included from ./../download/download_main.h:43: In file included from ./../globals.h:41: ../../rak/priority_queue_default.h:56:7: warning: '~priority_item' has a non-throwing exception specification but can still throw [-Wexceptions] throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); ^ ../../rak/priority_queue_default.h:54:3: note: destructor has a implicit non-throwing exception specification ~priority_item() { ^ In file included from extensions.cc:45: In file included from ./../download/download_main.h:52: ./../torrent/data/file_list.h:202:79: warning: 'mem_fun' is deprecated [-Wdeprecated-declarations] return std::find_if(file_list->begin(), file_list->end(), std::bind2nd(std::mem_fun(&File::is_valid_position), pos)); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:128:1: note: 'mem_fun' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from extensions.cc:45: In file included from ./../download/download_main.h:52: ./../torrent/data/file_list.h:202:66: warning: 'bind2nd, unsigned long long>' is deprecated [-Wdeprecated-declarations] return std::find_if(file_list->begin(), file_list->end(), std::bind2nd(std::mem_fun(&File::is_valid_position), pos)); ^ /usr/include/c++/v1/__functional/binder2nd.h:44:1: note: 'bind2nd, unsigned long long>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from extensions.cc:45: In file included from ./../download/download_main.h:41: ../../rak/functional.h:551:30: warning: 'binary_function' is deprecated [-Wdeprecated-declarations] class mem_fun2 : public std::binary_function { ^ ./../download/download_main.h:201:29: note: in instantiation of template class 'rak::mem_fun2' requested here slot_start_handshake_type m_slotStartHandshake; ^ /usr/include/c++/v1/__functional/binary_function.h:24:29: note: 'binary_function' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 binary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from extensions.cc:47: In file included from ./../protocol/peer_connection_base.h:50: In file included from ./request_list.h:42: ./../torrent/data/block_transfer.h:132:5: warning: '~BlockTransfer' has a non-throwing exception specification but can still throw [-Wexceptions] throw internal_error("BlockTransfer::~BlockTransfer() peer_info not NULL"); ^ ./../torrent/data/block_transfer.h:127:16: note: destructor has a implicit non-throwing exception specification BlockTransfer::~BlockTransfer() { ^ ./../torrent/data/block_transfer.h:129:5: warning: '~BlockTransfer' has a non-throwing exception specification but can still throw [-Wexceptions] throw internal_error("BlockTransfer::~BlockTransfer() block not NULL"); ^ ./../torrent/data/block_transfer.h:127:16: note: destructor has a implicit non-throwing exception specification BlockTransfer::~BlockTransfer() { ^ In file included from extensions.cc:45: In file included from ./../download/download_main.h:43: In file included from ./../globals.h:41: In file included from ../../rak/priority_queue_default.h:42: ../../rak/priority_queue.h:84:46: warning: 'bind2nd, rak::priority_item *>' is deprecated [-Wdeprecated-declarations] return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); ^ ../../rak/priority_queue_default.h:113:14: note: in instantiation of function template specialization 'rak::priority_queue, rak::cacheline_allocator>::find' requested here if (queue->find(item) != queue->end()) ^ /usr/include/c++/v1/__functional/binder2nd.h:44:1: note: 'bind2nd, rak::priority_item *>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ 8 warnings generated. mv -f .deps/extensions.Tpo .deps/extensions.Plo /usr/bin/libtool --tag=CXX --mode=compile c++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT handshake.lo -MD -MP -MF .deps/handshake.Tpo -c -o handshake.lo handshake.cc c++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT handshake.lo -MD -MP -MF .deps/handshake.Tpo -c handshake.cc -fPIC -DPIC -o .libs/handshake.o In file included from handshake.cc:41: In file included from ./../download/download_main.h:43: In file included from ./../globals.h:41: ../../rak/priority_queue_default.h:56:7: warning: '~priority_item' has a non-throwing exception specification but can still throw [-Wexceptions] throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); ^ ../../rak/priority_queue_default.h:54:3: note: destructor has a implicit non-throwing exception specification ~priority_item() { ^ In file included from handshake.cc:41: In file included from ./../download/download_main.h:48: In file included from ./../download/available_list.h:45: ./../net/address_list.h:61:36: warning: 'unary_function' is deprecated [-Wdeprecated-declarations] struct add_address : public std::unary_function { ^ /usr/include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from handshake.cc:41: In file included from ./../download/download_main.h:52: ./../torrent/data/file_list.h:202:79: warning: 'mem_fun' is deprecated [-Wdeprecated-declarations] return std::find_if(file_list->begin(), file_list->end(), std::bind2nd(std::mem_fun(&File::is_valid_position), pos)); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:128:1: note: 'mem_fun' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from handshake.cc:41: In file included from ./../download/download_main.h:52: ./../torrent/data/file_list.h:202:66: warning: 'bind2nd, unsigned long long>' is deprecated [-Wdeprecated-declarations] return std::find_if(file_list->begin(), file_list->end(), std::bind2nd(std::mem_fun(&File::is_valid_position), pos)); ^ /usr/include/c++/v1/__functional/binder2nd.h:44:1: note: 'bind2nd, unsigned long long>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from handshake.cc:41: In file included from ./../download/download_main.h:41: ../../rak/functional.h:551:30: warning: 'binary_function' is deprecated [-Wdeprecated-declarations] class mem_fun2 : public std::binary_function { ^ ./../download/download_main.h:201:29: note: in instantiation of template class 'rak::mem_fun2' requested here slot_start_handshake_type m_slotStartHandshake; ^ /usr/include/c++/v1/__functional/binary_function.h:24:29: note: 'binary_function' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 binary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ handshake.cc:111:5: warning: '~Handshake' has a non-throwing exception specification but can still throw [-Wexceptions] throw internal_error("Handshake dtor called but m_fd is still open."); ^ handshake.cc:106:12: note: destructor has a implicit non-throwing exception specification Handshake::~Handshake() { ^ handshake.cc:108:5: warning: '~Handshake' has a non-throwing exception specification but can still throw [-Wexceptions] throw internal_error("Handshake m_taskTimeout bork bork bork."); ^ handshake.cc:106:12: note: destructor has a implicit non-throwing exception specification Handshake::~Handshake() { ^ In file included from handshake.cc:41: In file included from ./../download/download_main.h:43: In file included from ./../globals.h:41: In file included from ../../rak/priority_queue_default.h:42: ../../rak/priority_queue.h:84:46: warning: 'bind2nd, rak::priority_item *>' is deprecated [-Wdeprecated-declarations] return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); ^ ../../rak/priority_queue_default.h:113:14: note: in instantiation of function template specialization 'rak::priority_queue, rak::cacheline_allocator>::find' requested here if (queue->find(item) != queue->end()) ^ /usr/include/c++/v1/__functional/binder2nd.h:44:1: note: 'bind2nd, rak::priority_item *>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ 8 warnings generated. c++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT handshake.lo -MD -MP -MF .deps/handshake.Tpo -c handshake.cc -o handshake.o In file included from handshake.cc:41: In file included from ./../download/download_main.h:43: In file included from ./../globals.h:41: ../../rak/priority_queue_default.h:56:7: warning: '~priority_item' has a non-throwing exception specification but can still throw [-Wexceptions] throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); ^ ../../rak/priority_queue_default.h:54:3: note: destructor has a implicit non-throwing exception specification ~priority_item() { ^ In file included from handshake.cc:41: In file included from ./../download/download_main.h:48: In file included from ./../download/available_list.h:45: ./../net/address_list.h:61:36: warning: 'unary_function' is deprecated [-Wdeprecated-declarations] struct add_address : public std::unary_function { ^ /usr/include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from handshake.cc:41: In file included from ./../download/download_main.h:52: ./../torrent/data/file_list.h:202:79: warning: 'mem_fun' is deprecated [-Wdeprecated-declarations] return std::find_if(file_list->begin(), file_list->end(), std::bind2nd(std::mem_fun(&File::is_valid_position), pos)); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:128:1: note: 'mem_fun' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from handshake.cc:41: In file included from ./../download/download_main.h:52: ./../torrent/data/file_list.h:202:66: warning: 'bind2nd, unsigned long long>' is deprecated [-Wdeprecated-declarations] return std::find_if(file_list->begin(), file_list->end(), std::bind2nd(std::mem_fun(&File::is_valid_position), pos)); ^ /usr/include/c++/v1/__functional/binder2nd.h:44:1: note: 'bind2nd, unsigned long long>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from handshake.cc:41: In file included from ./../download/download_main.h:41: ../../rak/functional.h:551:30: warning: 'binary_function' is deprecated [-Wdeprecated-declarations] class mem_fun2 : public std::binary_function { ^ ./../download/download_main.h:201:29: note: in instantiation of template class 'rak::mem_fun2' requested here slot_start_handshake_type m_slotStartHandshake; ^ /usr/include/c++/v1/__functional/binary_function.h:24:29: note: 'binary_function' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 binary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ handshake.cc:111:5: warning: '~Handshake' has a non-throwing exception specification but can still throw [-Wexceptions] throw internal_error("Handshake dtor called but m_fd is still open."); ^ handshake.cc:106:12: note: destructor has a implicit non-throwing exception specification Handshake::~Handshake() { ^ handshake.cc:108:5: warning: '~Handshake' has a non-throwing exception specification but can still throw [-Wexceptions] throw internal_error("Handshake m_taskTimeout bork bork bork."); ^ handshake.cc:106:12: note: destructor has a implicit non-throwing exception specification Handshake::~Handshake() { ^ In file included from handshake.cc:41: In file included from ./../download/download_main.h:43: In file included from ./../globals.h:41: In file included from ../../rak/priority_queue_default.h:42: ../../rak/priority_queue.h:84:46: warning: 'bind2nd, rak::priority_item *>' is deprecated [-Wdeprecated-declarations] return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); ^ ../../rak/priority_queue_default.h:113:14: note: in instantiation of function template specialization 'rak::priority_queue, rak::cacheline_allocator>::find' requested here if (queue->find(item) != queue->end()) ^ /usr/include/c++/v1/__functional/binder2nd.h:44:1: note: 'bind2nd, rak::priority_item *>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ 8 warnings generated. mv -f .deps/handshake.Tpo .deps/handshake.Plo /usr/bin/libtool --tag=CXX --mode=compile c++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT handshake_encryption.lo -MD -MP -MF .deps/handshake_encryption.Tpo -c -o handshake_encryption.lo handshake_encryption.cc c++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT handshake_encryption.lo -MD -MP -MF .deps/handshake_encryption.Tpo -c handshake_encryption.cc -fPIC -DPIC -o .libs/handshake_encryption.o c++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT handshake_encryption.lo -MD -MP -MF .deps/handshake_encryption.Tpo -c handshake_encryption.cc -o handshake_encryption.o mv -f .deps/handshake_encryption.Tpo .deps/handshake_encryption.Plo /usr/bin/libtool --tag=CXX --mode=compile c++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT handshake_manager.lo -MD -MP -MF .deps/handshake_manager.Tpo -c -o handshake_manager.lo handshake_manager.cc c++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT handshake_manager.lo -MD -MP -MF .deps/handshake_manager.Tpo -c handshake_manager.cc -fPIC -DPIC -o .libs/handshake_manager.o In file included from handshake_manager.cc:43: In file included from ./../download/download_main.h:43: In file included from ./../globals.h:41: ../../rak/priority_queue_default.h:56:7: warning: '~priority_item' has a non-throwing exception specification but can still throw [-Wexceptions] throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); ^ ../../rak/priority_queue_default.h:54:3: note: destructor has a implicit non-throwing exception specification ~priority_item() { ^ In file included from handshake_manager.cc:43: In file included from ./../download/download_main.h:48: In file included from ./../download/available_list.h:45: ./../net/address_list.h:61:36: warning: 'unary_function' is deprecated [-Wdeprecated-declarations] struct add_address : public std::unary_function { ^ /usr/include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from handshake_manager.cc:43: In file included from ./../download/download_main.h:52: ./../torrent/data/file_list.h:202:79: warning: 'mem_fun' is deprecated [-Wdeprecated-declarations] return std::find_if(file_list->begin(), file_list->end(), std::bind2nd(std::mem_fun(&File::is_valid_position), pos)); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:128:1: note: 'mem_fun' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from handshake_manager.cc:43: In file included from ./../download/download_main.h:52: ./../torrent/data/file_list.h:202:66: warning: 'bind2nd, unsigned long long>' is deprecated [-Wdeprecated-declarations] return std::find_if(file_list->begin(), file_list->end(), std::bind2nd(std::mem_fun(&File::is_valid_position), pos)); ^ /usr/include/c++/v1/__functional/binder2nd.h:44:1: note: 'bind2nd, unsigned long long>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from handshake_manager.cc:43: In file included from ./../download/download_main.h:41: ../../rak/functional.h:551:30: warning: 'binary_function' is deprecated [-Wdeprecated-declarations] class mem_fun2 : public std::binary_function { ^ ./../download/download_main.h:201:29: note: in instantiation of template class 'rak::mem_fun2' requested here slot_start_handshake_type m_slotStartHandshake; ^ /usr/include/c++/v1/__functional/binary_function.h:24:29: note: 'binary_function' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 binary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from handshake_manager.cc:51: In file included from ./peer_connection_base.h:50: In file included from ./request_list.h:42: ./../torrent/data/block_transfer.h:132:5: warning: '~BlockTransfer' has a non-throwing exception specification but can still throw [-Wexceptions] throw internal_error("BlockTransfer::~BlockTransfer() peer_info not NULL"); ^ ./../torrent/data/block_transfer.h:127:16: note: destructor has a implicit non-throwing exception specification BlockTransfer::~BlockTransfer() { ^ ./../torrent/data/block_transfer.h:129:5: warning: '~BlockTransfer' has a non-throwing exception specification but can still throw [-Wexceptions] throw internal_error("BlockTransfer::~BlockTransfer() block not NULL"); ^ ./../torrent/data/block_transfer.h:127:16: note: destructor has a implicit non-throwing exception specification BlockTransfer::~BlockTransfer() { ^ handshake_manager.cc:77:84: warning: 'mem_fun' is deprecated [-Wdeprecated-declarations] return std::count_if(base_type::begin(), base_type::end(), rak::equal(info, std::mem_fun(&Handshake::download))); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:50:1: note: 'mem_fun' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ handshake_manager.cc:82:60: warning: 'ptr_fun' is deprecated [-Wdeprecated-declarations] std::for_each(base_type::begin(), base_type::end(), std::ptr_fun(&handshake_manager_delete_handshake)); ^ /usr/include/c++/v1/__functional/pointer_to_unary_function.h:37:1: note: 'ptr_fun' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ handshake_manager.cc:96:39: warning: 'binary_function' is deprecated [-Wdeprecated-declarations] struct handshake_manager_equal : std::binary_function { ^ /usr/include/c++/v1/__functional/binary_function.h:24:29: note: 'binary_function' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 binary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ handshake_manager.cc:104:66: warning: 'bind1st' is deprecated [-Wdeprecated-declarations] return std::find_if(base_type::begin(), base_type::end(), std::bind1st(handshake_manager_equal(), &sa)) != base_type::end(); ^ /usr/include/c++/v1/__functional/binder1st.h:44:1: note: 'bind1st' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ handshake_manager.cc:110:61: warning: 'mem_fun' is deprecated [-Wdeprecated-declarations] rak::not_equal(info, std::mem_fun(&Handshake::download))); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:50:1: note: 'mem_fun' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ handshake_manager.cc:112:47: warning: 'ptr_fun' is deprecated [-Wdeprecated-declarations] std::for_each(split, base_type::end(), std::ptr_fun(&handshake_manager_delete_handshake)); ^ /usr/include/c++/v1/__functional/pointer_to_unary_function.h:37:1: note: 'ptr_fun' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from handshake_manager.cc:43: In file included from ./../download/download_main.h:43: In file included from ./../globals.h:41: In file included from ../../rak/priority_queue_default.h:42: ../../rak/priority_queue.h:84:46: warning: 'bind2nd, rak::priority_item *>' is deprecated [-Wdeprecated-declarations] return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); ^ ../../rak/priority_queue_default.h:113:14: note: in instantiation of function template specialization 'rak::priority_queue, rak::cacheline_allocator>::find' requested here if (queue->find(item) != queue->end()) ^ /usr/include/c++/v1/__functional/binder2nd.h:44:1: note: 'bind2nd, rak::priority_item *>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ 14 warnings generated. c++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT handshake_manager.lo -MD -MP -MF .deps/handshake_manager.Tpo -c handshake_manager.cc -o handshake_manager.o In file included from handshake_manager.cc:43: In file included from ./../download/download_main.h:43: In file included from ./../globals.h:41: ../../rak/priority_queue_default.h:56:7: warning: '~priority_item' has a non-throwing exception specification but can still throw [-Wexceptions] throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); ^ ../../rak/priority_queue_default.h:54:3: note: destructor has a implicit non-throwing exception specification ~priority_item() { ^ In file included from handshake_manager.cc:43: In file included from ./../download/download_main.h:48: In file included from ./../download/available_list.h:45: ./../net/address_list.h:61:36: warning: 'unary_function' is deprecated [-Wdeprecated-declarations] struct add_address : public std::unary_function { ^ /usr/include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from handshake_manager.cc:43: In file included from ./../download/download_main.h:52: ./../torrent/data/file_list.h:202:79: warning: 'mem_fun' is deprecated [-Wdeprecated-declarations] return std::find_if(file_list->begin(), file_list->end(), std::bind2nd(std::mem_fun(&File::is_valid_position), pos)); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:128:1: note: 'mem_fun' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from handshake_manager.cc:43: In file included from ./../download/download_main.h:52: ./../torrent/data/file_list.h:202:66: warning: 'bind2nd, unsigned long long>' is deprecated [-Wdeprecated-declarations] return std::find_if(file_list->begin(), file_list->end(), std::bind2nd(std::mem_fun(&File::is_valid_position), pos)); ^ /usr/include/c++/v1/__functional/binder2nd.h:44:1: note: 'bind2nd, unsigned long long>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from handshake_manager.cc:43: In file included from ./../download/download_main.h:41: ../../rak/functional.h:551:30: warning: 'binary_function' is deprecated [-Wdeprecated-declarations] class mem_fun2 : public std::binary_function { ^ ./../download/download_main.h:201:29: note: in instantiation of template class 'rak::mem_fun2' requested here slot_start_handshake_type m_slotStartHandshake; ^ /usr/include/c++/v1/__functional/binary_function.h:24:29: note: 'binary_function' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 binary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from handshake_manager.cc:51: In file included from ./peer_connection_base.h:50: In file included from ./request_list.h:42: ./../torrent/data/block_transfer.h:132:5: warning: '~BlockTransfer' has a non-throwing exception specification but can still throw [-Wexceptions] throw internal_error("BlockTransfer::~BlockTransfer() peer_info not NULL"); ^ ./../torrent/data/block_transfer.h:127:16: note: destructor has a implicit non-throwing exception specification BlockTransfer::~BlockTransfer() { ^ ./../torrent/data/block_transfer.h:129:5: warning: '~BlockTransfer' has a non-throwing exception specification but can still throw [-Wexceptions] throw internal_error("BlockTransfer::~BlockTransfer() block not NULL"); ^ ./../torrent/data/block_transfer.h:127:16: note: destructor has a implicit non-throwing exception specification BlockTransfer::~BlockTransfer() { ^ handshake_manager.cc:77:84: warning: 'mem_fun' is deprecated [-Wdeprecated-declarations] return std::count_if(base_type::begin(), base_type::end(), rak::equal(info, std::mem_fun(&Handshake::download))); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:50:1: note: 'mem_fun' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ handshake_manager.cc:82:60: warning: 'ptr_fun' is deprecated [-Wdeprecated-declarations] std::for_each(base_type::begin(), base_type::end(), std::ptr_fun(&handshake_manager_delete_handshake)); ^ /usr/include/c++/v1/__functional/pointer_to_unary_function.h:37:1: note: 'ptr_fun' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ handshake_manager.cc:96:39: warning: 'binary_function' is deprecated [-Wdeprecated-declarations] struct handshake_manager_equal : std::binary_function { ^ /usr/include/c++/v1/__functional/binary_function.h:24:29: note: 'binary_function' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 binary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ handshake_manager.cc:104:66: warning: 'bind1st' is deprecated [-Wdeprecated-declarations] return std::find_if(base_type::begin(), base_type::end(), std::bind1st(handshake_manager_equal(), &sa)) != base_type::end(); ^ /usr/include/c++/v1/__functional/binder1st.h:44:1: note: 'bind1st' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ handshake_manager.cc:110:61: warning: 'mem_fun' is deprecated [-Wdeprecated-declarations] rak::not_equal(info, std::mem_fun(&Handshake::download))); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:50:1: note: 'mem_fun' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ handshake_manager.cc:112:47: warning: 'ptr_fun' is deprecated [-Wdeprecated-declarations] std::for_each(split, base_type::end(), std::ptr_fun(&handshake_manager_delete_handshake)); ^ /usr/include/c++/v1/__functional/pointer_to_unary_function.h:37:1: note: 'ptr_fun' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from handshake_manager.cc:43: In file included from ./../download/download_main.h:43: In file included from ./../globals.h:41: In file included from ../../rak/priority_queue_default.h:42: ../../rak/priority_queue.h:84:46: warning: 'bind2nd, rak::priority_item *>' is deprecated [-Wdeprecated-declarations] return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); ^ ../../rak/priority_queue_default.h:113:14: note: in instantiation of function template specialization 'rak::priority_queue, rak::cacheline_allocator>::find' requested here if (queue->find(item) != queue->end()) ^ /usr/include/c++/v1/__functional/binder2nd.h:44:1: note: 'bind2nd, rak::priority_item *>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ 14 warnings generated. mv -f .deps/handshake_manager.Tpo .deps/handshake_manager.Plo /usr/bin/libtool --tag=CXX --mode=compile c++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT initial_seed.lo -MD -MP -MF .deps/initial_seed.Tpo -c -o initial_seed.lo initial_seed.cc c++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT initial_seed.lo -MD -MP -MF .deps/initial_seed.Tpo -c initial_seed.cc -fPIC -DPIC -o .libs/initial_seed.o In file included from initial_seed.cc:45: In file included from ./initial_seed.h:40: In file included from ./../download/download_main.h:43: In file included from ./../globals.h:41: ../../rak/priority_queue_default.h:56:7: warning: '~priority_item' has a non-throwing exception specification but can still throw [-Wexceptions] throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); ^ ../../rak/priority_queue_default.h:54:3: note: destructor has a implicit non-throwing exception specification ~priority_item() { ^ In file included from initial_seed.cc:45: In file included from ./initial_seed.h:40: In file included from ./../download/download_main.h:48: In file included from ./../download/available_list.h:45: ./../net/address_list.h:61:36: warning: 'unary_function' is deprecated [-Wdeprecated-declarations] struct add_address : public std::unary_function { ^ /usr/include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from initial_seed.cc:45: In file included from ./initial_seed.h:40: In file included from ./../download/download_main.h:52: ./../torrent/data/file_list.h:202:79: warning: 'mem_fun' is deprecated [-Wdeprecated-declarations] return std::find_if(file_list->begin(), file_list->end(), std::bind2nd(std::mem_fun(&File::is_valid_position), pos)); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:128:1: note: 'mem_fun' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from initial_seed.cc:45: In file included from ./initial_seed.h:40: In file included from ./../download/download_main.h:52: ./../torrent/data/file_list.h:202:66: warning: 'bind2nd, unsigned long long>' is deprecated [-Wdeprecated-declarations] return std::find_if(file_list->begin(), file_list->end(), std::bind2nd(std::mem_fun(&File::is_valid_position), pos)); ^ /usr/include/c++/v1/__functional/binder2nd.h:44:1: note: 'bind2nd, unsigned long long>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from initial_seed.cc:45: In file included from ./initial_seed.h:40: In file included from ./../download/download_main.h:41: ../../rak/functional.h:551:30: warning: 'binary_function' is deprecated [-Wdeprecated-declarations] class mem_fun2 : public std::binary_function { ^ ./../download/download_main.h:201:29: note: in instantiation of template class 'rak::mem_fun2' requested here slot_start_handshake_type m_slotStartHandshake; ^ /usr/include/c++/v1/__functional/binary_function.h:24:29: note: 'binary_function' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 binary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from initial_seed.cc:46: In file included from ./peer_connection_leech.h:40: In file included from ./peer_connection_base.h:50: In file included from ./request_list.h:42: ./../torrent/data/block_transfer.h:132:5: warning: '~BlockTransfer' has a non-throwing exception specification but can still throw [-Wexceptions] throw internal_error("BlockTransfer::~BlockTransfer() peer_info not NULL"); ^ ./../torrent/data/block_transfer.h:127:16: note: destructor has a implicit non-throwing exception specification BlockTransfer::~BlockTransfer() { ^ ./../torrent/data/block_transfer.h:129:5: warning: '~BlockTransfer' has a non-throwing exception specification but can still throw [-Wexceptions] throw internal_error("BlockTransfer::~BlockTransfer() block not NULL"); ^ ./../torrent/data/block_transfer.h:127:16: note: destructor has a implicit non-throwing exception specification BlockTransfer::~BlockTransfer() { ^ initial_seed.cc:178:40: warning: 'bind2nd, torrent::PeerInfo *>' is deprecated [-Wdeprecated-declarations] std::bind2nd(std::equal_to(), peer)); ^ /usr/include/c++/v1/__functional/binder2nd.h:44:1: note: 'bind2nd, torrent::PeerInfo *>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from initial_seed.cc:45: In file included from ./initial_seed.h:40: In file included from ./../download/download_main.h:43: In file included from ./../globals.h:41: In file included from ../../rak/priority_queue_default.h:42: ../../rak/priority_queue.h:84:46: warning: 'bind2nd, rak::priority_item *>' is deprecated [-Wdeprecated-declarations] return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); ^ ../../rak/priority_queue_default.h:113:14: note: in instantiation of function template specialization 'rak::priority_queue, rak::cacheline_allocator>::find' requested here if (queue->find(item) != queue->end()) ^ /usr/include/c++/v1/__functional/binder2nd.h:44:1: note: 'bind2nd, rak::priority_item *>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ 9 warnings generated. c++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT initial_seed.lo -MD -MP -MF .deps/initial_seed.Tpo -c initial_seed.cc -o initial_seed.o In file included from initial_seed.cc:45: In file included from ./initial_seed.h:40: In file included from ./../download/download_main.h:43: In file included from ./../globals.h:41: ../../rak/priority_queue_default.h:56:7: warning: '~priority_item' has a non-throwing exception specification but can still throw [-Wexceptions] throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); ^ ../../rak/priority_queue_default.h:54:3: note: destructor has a implicit non-throwing exception specification ~priority_item() { ^ In file included from initial_seed.cc:45: In file included from ./initial_seed.h:40: In file included from ./../download/download_main.h:48: In file included from ./../download/available_list.h:45: ./../net/address_list.h:61:36: warning: 'unary_function' is deprecated [-Wdeprecated-declarations] struct add_address : public std::unary_function { ^ /usr/include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from initial_seed.cc:45: In file included from ./initial_seed.h:40: In file included from ./../download/download_main.h:52: ./../torrent/data/file_list.h:202:79: warning: 'mem_fun' is deprecated [-Wdeprecated-declarations] return std::find_if(file_list->begin(), file_list->end(), std::bind2nd(std::mem_fun(&File::is_valid_position), pos)); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:128:1: note: 'mem_fun' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from initial_seed.cc:45: In file included from ./initial_seed.h:40: In file included from ./../download/download_main.h:52: ./../torrent/data/file_list.h:202:66: warning: 'bind2nd, unsigned long long>' is deprecated [-Wdeprecated-declarations] return std::find_if(file_list->begin(), file_list->end(), std::bind2nd(std::mem_fun(&File::is_valid_position), pos)); ^ /usr/include/c++/v1/__functional/binder2nd.h:44:1: note: 'bind2nd, unsigned long long>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from initial_seed.cc:45: In file included from ./initial_seed.h:40: In file included from ./../download/download_main.h:41: ../../rak/functional.h:551:30: warning: 'binary_function' is deprecated [-Wdeprecated-declarations] class mem_fun2 : public std::binary_function { ^ ./../download/download_main.h:201:29: note: in instantiation of template class 'rak::mem_fun2' requested here slot_start_handshake_type m_slotStartHandshake; ^ /usr/include/c++/v1/__functional/binary_function.h:24:29: note: 'binary_function' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 binary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from initial_seed.cc:46: In file included from ./peer_connection_leech.h:40: In file included from ./peer_connection_base.h:50: In file included from ./request_list.h:42: ./../torrent/data/block_transfer.h:132:5: warning: '~BlockTransfer' has a non-throwing exception specification but can still throw [-Wexceptions] throw internal_error("BlockTransfer::~BlockTransfer() peer_info not NULL"); ^ ./../torrent/data/block_transfer.h:127:16: note: destructor has a implicit non-throwing exception specification BlockTransfer::~BlockTransfer() { ^ ./../torrent/data/block_transfer.h:129:5: warning: '~BlockTransfer' has a non-throwing exception specification but can still throw [-Wexceptions] throw internal_error("BlockTransfer::~BlockTransfer() block not NULL"); ^ ./../torrent/data/block_transfer.h:127:16: note: destructor has a implicit non-throwing exception specification BlockTransfer::~BlockTransfer() { ^ initial_seed.cc:178:40: warning: 'bind2nd, torrent::PeerInfo *>' is deprecated [-Wdeprecated-declarations] std::bind2nd(std::equal_to(), peer)); ^ /usr/include/c++/v1/__functional/binder2nd.h:44:1: note: 'bind2nd, torrent::PeerInfo *>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from initial_seed.cc:45: In file included from ./initial_seed.h:40: In file included from ./../download/download_main.h:43: In file included from ./../globals.h:41: In file included from ../../rak/priority_queue_default.h:42: ../../rak/priority_queue.h:84:46: warning: 'bind2nd, rak::priority_item *>' is deprecated [-Wdeprecated-declarations] return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); ^ ../../rak/priority_queue_default.h:113:14: note: in instantiation of function template specialization 'rak::priority_queue, rak::cacheline_allocator>::find' requested here if (queue->find(item) != queue->end()) ^ /usr/include/c++/v1/__functional/binder2nd.h:44:1: note: 'bind2nd, rak::priority_item *>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ 9 warnings generated. mv -f .deps/initial_seed.Tpo .deps/initial_seed.Plo /usr/bin/libtool --tag=CXX --mode=compile c++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT peer_connection_base.lo -MD -MP -MF .deps/peer_connection_base.Tpo -c -o peer_connection_base.lo peer_connection_base.cc c++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT peer_connection_base.lo -MD -MP -MF .deps/peer_connection_base.Tpo -c peer_connection_base.cc -fPIC -DPIC -o .libs/peer_connection_base.o In file included from peer_connection_base.cc:47: In file included from ./../data/chunk_iterator.h:40: ./../data/chunk.h:124:57: warning: 'mem_fun_ref' is deprecated [-Wdeprecated-declarations] return std::find_if(begin(), end(), std::bind2nd(std::mem_fun_ref(&ChunkPart::has_address), ptr)); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:164:1: note: 'mem_fun_ref' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from peer_connection_base.cc:47: In file included from ./../data/chunk_iterator.h:40: ./../data/chunk.h:124:44: warning: 'bind2nd, void *>' is deprecated [-Wdeprecated-declarations] return std::find_if(begin(), end(), std::bind2nd(std::mem_fun_ref(&ChunkPart::has_address), ptr)); ^ /usr/include/c++/v1/__functional/binder2nd.h:44:1: note: 'bind2nd, void *>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from peer_connection_base.cc:51: In file included from ./../download/download_main.h:43: In file included from ./../globals.h:41: ../../rak/priority_queue_default.h:56:7: warning: '~priority_item' has a non-throwing exception specification but can still throw [-Wexceptions] throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); ^ ../../rak/priority_queue_default.h:54:3: note: destructor has a implicit non-throwing exception specification ~priority_item() { ^ In file included from peer_connection_base.cc:51: In file included from ./../download/download_main.h:48: In file included from ./../download/available_list.h:45: ./../net/address_list.h:61:36: warning: 'unary_function' is deprecated [-Wdeprecated-declarations] struct add_address : public std::unary_function { ^ /usr/include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from peer_connection_base.cc:51: In file included from ./../download/download_main.h:52: ./../torrent/data/file_list.h:202:79: warning: 'mem_fun' is deprecated [-Wdeprecated-declarations] return std::find_if(file_list->begin(), file_list->end(), std::bind2nd(std::mem_fun(&File::is_valid_position), pos)); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:128:1: note: 'mem_fun' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from peer_connection_base.cc:51: In file included from ./../download/download_main.h:52: ./../torrent/data/file_list.h:202:66: warning: 'bind2nd, unsigned long long>' is deprecated [-Wdeprecated-declarations] return std::find_if(file_list->begin(), file_list->end(), std::bind2nd(std::mem_fun(&File::is_valid_position), pos)); ^ /usr/include/c++/v1/__functional/binder2nd.h:44:1: note: 'bind2nd, unsigned long long>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from peer_connection_base.cc:44: ../../rak/functional.h:551:30: warning: 'binary_function' is deprecated [-Wdeprecated-declarations] class mem_fun2 : public std::binary_function { ^ ./../download/download_main.h:201:29: note: in instantiation of template class 'rak::mem_fun2' requested here slot_start_handshake_type m_slotStartHandshake; ^ /usr/include/c++/v1/__functional/binary_function.h:24:29: note: 'binary_function' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 binary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from peer_connection_base.cc:54: In file included from ./../torrent/data/block.h:42: ./../torrent/data/block_transfer.h:132:5: warning: '~BlockTransfer' has a non-throwing exception specification but can still throw [-Wexceptions] throw internal_error("BlockTransfer::~BlockTransfer() peer_info not NULL"); ^ ./../torrent/data/block_transfer.h:127:16: note: destructor has a implicit non-throwing exception specification BlockTransfer::~BlockTransfer() { ^ ./../torrent/data/block_transfer.h:129:5: warning: '~BlockTransfer' has a non-throwing exception specification but can still throw [-Wexceptions] throw internal_error("BlockTransfer::~BlockTransfer() block not NULL"); ^ ./../torrent/data/block_transfer.h:127:16: note: destructor has a implicit non-throwing exception specification BlockTransfer::~BlockTransfer() { ^ In file included from peer_connection_base.cc:51: In file included from ./../download/download_main.h:43: In file included from ./../globals.h:41: In file included from ../../rak/priority_queue_default.h:42: ../../rak/priority_queue.h:84:46: warning: 'bind2nd, rak::priority_item *>' is deprecated [-Wdeprecated-declarations] return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); ^ ../../rak/priority_queue_default.h:113:14: note: in instantiation of function template specialization 'rak::priority_queue, rak::cacheline_allocator>::find' requested here if (queue->find(item) != queue->end()) ^ /usr/include/c++/v1/__functional/binder2nd.h:44:1: note: 'bind2nd, rak::priority_item *>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ 10 warnings generated. c++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT peer_connection_base.lo -MD -MP -MF .deps/peer_connection_base.Tpo -c peer_connection_base.cc -o peer_connection_base.o In file included from peer_connection_base.cc:47: In file included from ./../data/chunk_iterator.h:40: ./../data/chunk.h:124:57: warning: 'mem_fun_ref' is deprecated [-Wdeprecated-declarations] return std::find_if(begin(), end(), std::bind2nd(std::mem_fun_ref(&ChunkPart::has_address), ptr)); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:164:1: note: 'mem_fun_ref' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from peer_connection_base.cc:47: In file included from ./../data/chunk_iterator.h:40: ./../data/chunk.h:124:44: warning: 'bind2nd, void *>' is deprecated [-Wdeprecated-declarations] return std::find_if(begin(), end(), std::bind2nd(std::mem_fun_ref(&ChunkPart::has_address), ptr)); ^ /usr/include/c++/v1/__functional/binder2nd.h:44:1: note: 'bind2nd, void *>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from peer_connection_base.cc:51: In file included from ./../download/download_main.h:43: In file included from ./../globals.h:41: ../../rak/priority_queue_default.h:56:7: warning: '~priority_item' has a non-throwing exception specification but can still throw [-Wexceptions] throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); ^ ../../rak/priority_queue_default.h:54:3: note: destructor has a implicit non-throwing exception specification ~priority_item() { ^ In file included from peer_connection_base.cc:51: In file included from ./../download/download_main.h:48: In file included from ./../download/available_list.h:45: ./../net/address_list.h:61:36: warning: 'unary_function' is deprecated [-Wdeprecated-declarations] struct add_address : public std::unary_function { ^ /usr/include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from peer_connection_base.cc:51: In file included from ./../download/download_main.h:52: ./../torrent/data/file_list.h:202:79: warning: 'mem_fun' is deprecated [-Wdeprecated-declarations] return std::find_if(file_list->begin(), file_list->end(), std::bind2nd(std::mem_fun(&File::is_valid_position), pos)); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:128:1: note: 'mem_fun' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from peer_connection_base.cc:51: In file included from ./../download/download_main.h:52: ./../torrent/data/file_list.h:202:66: warning: 'bind2nd, unsigned long long>' is deprecated [-Wdeprecated-declarations] return std::find_if(file_list->begin(), file_list->end(), std::bind2nd(std::mem_fun(&File::is_valid_position), pos)); ^ /usr/include/c++/v1/__functional/binder2nd.h:44:1: note: 'bind2nd, unsigned long long>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from peer_connection_base.cc:44: ../../rak/functional.h:551:30: warning: 'binary_function' is deprecated [-Wdeprecated-declarations] class mem_fun2 : public std::binary_function { ^ ./../download/download_main.h:201:29: note: in instantiation of template class 'rak::mem_fun2' requested here slot_start_handshake_type m_slotStartHandshake; ^ /usr/include/c++/v1/__functional/binary_function.h:24:29: note: 'binary_function' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 binary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from peer_connection_base.cc:54: In file included from ./../torrent/data/block.h:42: ./../torrent/data/block_transfer.h:132:5: warning: '~BlockTransfer' has a non-throwing exception specification but can still throw [-Wexceptions] throw internal_error("BlockTransfer::~BlockTransfer() peer_info not NULL"); ^ ./../torrent/data/block_transfer.h:127:16: note: destructor has a implicit non-throwing exception specification BlockTransfer::~BlockTransfer() { ^ ./../torrent/data/block_transfer.h:129:5: warning: '~BlockTransfer' has a non-throwing exception specification but can still throw [-Wexceptions] throw internal_error("BlockTransfer::~BlockTransfer() block not NULL"); ^ ./../torrent/data/block_transfer.h:127:16: note: destructor has a implicit non-throwing exception specification BlockTransfer::~BlockTransfer() { ^ In file included from peer_connection_base.cc:51: In file included from ./../download/download_main.h:43: In file included from ./../globals.h:41: In file included from ../../rak/priority_queue_default.h:42: ../../rak/priority_queue.h:84:46: warning: 'bind2nd, rak::priority_item *>' is deprecated [-Wdeprecated-declarations] return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); ^ ../../rak/priority_queue_default.h:113:14: note: in instantiation of function template specialization 'rak::priority_queue, rak::cacheline_allocator>::find' requested here if (queue->find(item) != queue->end()) ^ /usr/include/c++/v1/__functional/binder2nd.h:44:1: note: 'bind2nd, rak::priority_item *>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ 10 warnings generated. mv -f .deps/peer_connection_base.Tpo .deps/peer_connection_base.Plo /usr/bin/libtool --tag=CXX --mode=compile c++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT peer_connection_leech.lo -MD -MP -MF .deps/peer_connection_leech.Tpo -c -o peer_connection_leech.lo peer_connection_leech.cc c++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT peer_connection_leech.lo -MD -MP -MF .deps/peer_connection_leech.Tpo -c peer_connection_leech.cc -fPIC -DPIC -o .libs/peer_connection_leech.o In file included from peer_connection_leech.cc:47: In file included from ./../download/download_main.h:43: In file included from ./../globals.h:41: ../../rak/priority_queue_default.h:56:7: warning: '~priority_item' has a non-throwing exception specification but can still throw [-Wexceptions] throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); ^ ../../rak/priority_queue_default.h:54:3: note: destructor has a implicit non-throwing exception specification ~priority_item() { ^ In file included from peer_connection_leech.cc:47: In file included from ./../download/download_main.h:48: In file included from ./../download/available_list.h:45: ./../net/address_list.h:61:36: warning: 'unary_function' is deprecated [-Wdeprecated-declarations] struct add_address : public std::unary_function { ^ /usr/include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from peer_connection_leech.cc:47: In file included from ./../download/download_main.h:52: ./../torrent/data/file_list.h:202:79: warning: 'mem_fun' is deprecated [-Wdeprecated-declarations] return std::find_if(file_list->begin(), file_list->end(), std::bind2nd(std::mem_fun(&File::is_valid_position), pos)); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:128:1: note: 'mem_fun' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from peer_connection_leech.cc:47: In file included from ./../download/download_main.h:52: ./../torrent/data/file_list.h:202:66: warning: 'bind2nd, unsigned long long>' is deprecated [-Wdeprecated-declarations] return std::find_if(file_list->begin(), file_list->end(), std::bind2nd(std::mem_fun(&File::is_valid_position), pos)); ^ /usr/include/c++/v1/__functional/binder2nd.h:44:1: note: 'bind2nd, unsigned long long>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from peer_connection_leech.cc:41: ../../rak/functional.h:551:30: warning: 'binary_function' is deprecated [-Wdeprecated-declarations] class mem_fun2 : public std::binary_function { ^ ./../download/download_main.h:201:29: note: in instantiation of template class 'rak::mem_fun2' requested here slot_start_handshake_type m_slotStartHandshake; ^ /usr/include/c++/v1/__functional/binary_function.h:24:29: note: 'binary_function' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 binary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from peer_connection_leech.cc:58: In file included from ./peer_connection_leech.h:40: In file included from ./peer_connection_base.h:50: In file included from ./request_list.h:42: ./../torrent/data/block_transfer.h:132:5: warning: '~BlockTransfer' has a non-throwing exception specification but can still throw [-Wexceptions] throw internal_error("BlockTransfer::~BlockTransfer() peer_info not NULL"); ^ ./../torrent/data/block_transfer.h:127:16: note: destructor has a implicit non-throwing exception specification BlockTransfer::~BlockTransfer() { ^ ./../torrent/data/block_transfer.h:129:5: warning: '~BlockTransfer' has a non-throwing exception specification but can still throw [-Wexceptions] throw internal_error("BlockTransfer::~BlockTransfer() block not NULL"); ^ ./../torrent/data/block_transfer.h:127:16: note: destructor has a implicit non-throwing exception specification BlockTransfer::~BlockTransfer() { ^ In file included from peer_connection_leech.cc:41: ../../rak/functional.h:341:32: warning: 'unary_function &, rak::timer &>' is deprecated [-Wdeprecated-declarations] struct mem_ref_t : public std::unary_function { ^ peer_connection_leech.cc:547:105: note: in instantiation of template class 'rak::mem_ref_t, rak::timer>' requested here rak::greater(m_peerChunks.have_timer(), rak::mem_ref(&DownloadMain::have_queue_type::value_type::first))); ^ /usr/include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function &, rak::timer &>' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from peer_connection_leech.cc:47: In file included from ./../download/download_main.h:43: In file included from ./../globals.h:41: In file included from ../../rak/priority_queue_default.h:42: ../../rak/priority_queue.h:84:46: warning: 'bind2nd, rak::priority_item *>' is deprecated [-Wdeprecated-declarations] return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); ^ ../../rak/priority_queue_default.h:113:14: note: in instantiation of function template specialization 'rak::priority_queue, rak::cacheline_allocator>::find' requested here if (queue->find(item) != queue->end()) ^ /usr/include/c++/v1/__functional/binder2nd.h:44:1: note: 'bind2nd, rak::priority_item *>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ 9 warnings generated. c++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT peer_connection_leech.lo -MD -MP -MF .deps/peer_connection_leech.Tpo -c peer_connection_leech.cc -o peer_connection_leech.o In file included from peer_connection_leech.cc:47: In file included from ./../download/download_main.h:43: In file included from ./../globals.h:41: ../../rak/priority_queue_default.h:56:7: warning: '~priority_item' has a non-throwing exception specification but can still throw [-Wexceptions] throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); ^ ../../rak/priority_queue_default.h:54:3: note: destructor has a implicit non-throwing exception specification ~priority_item() { ^ In file included from peer_connection_leech.cc:47: In file included from ./../download/download_main.h:48: In file included from ./../download/available_list.h:45: ./../net/address_list.h:61:36: warning: 'unary_function' is deprecated [-Wdeprecated-declarations] struct add_address : public std::unary_function { ^ /usr/include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from peer_connection_leech.cc:47: In file included from ./../download/download_main.h:52: ./../torrent/data/file_list.h:202:79: warning: 'mem_fun' is deprecated [-Wdeprecated-declarations] return std::find_if(file_list->begin(), file_list->end(), std::bind2nd(std::mem_fun(&File::is_valid_position), pos)); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:128:1: note: 'mem_fun' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from peer_connection_leech.cc:47: In file included from ./../download/download_main.h:52: ./../torrent/data/file_list.h:202:66: warning: 'bind2nd, unsigned long long>' is deprecated [-Wdeprecated-declarations] return std::find_if(file_list->begin(), file_list->end(), std::bind2nd(std::mem_fun(&File::is_valid_position), pos)); ^ /usr/include/c++/v1/__functional/binder2nd.h:44:1: note: 'bind2nd, unsigned long long>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from peer_connection_leech.cc:41: ../../rak/functional.h:551:30: warning: 'binary_function' is deprecated [-Wdeprecated-declarations] class mem_fun2 : public std::binary_function { ^ ./../download/download_main.h:201:29: note: in instantiation of template class 'rak::mem_fun2' requested here slot_start_handshake_type m_slotStartHandshake; ^ /usr/include/c++/v1/__functional/binary_function.h:24:29: note: 'binary_function' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 binary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from peer_connection_leech.cc:58: In file included from ./peer_connection_leech.h:40: In file included from ./peer_connection_base.h:50: In file included from ./request_list.h:42: ./../torrent/data/block_transfer.h:132:5: warning: '~BlockTransfer' has a non-throwing exception specification but can still throw [-Wexceptions] throw internal_error("BlockTransfer::~BlockTransfer() peer_info not NULL"); ^ ./../torrent/data/block_transfer.h:127:16: note: destructor has a implicit non-throwing exception specification BlockTransfer::~BlockTransfer() { ^ ./../torrent/data/block_transfer.h:129:5: warning: '~BlockTransfer' has a non-throwing exception specification but can still throw [-Wexceptions] throw internal_error("BlockTransfer::~BlockTransfer() block not NULL"); ^ ./../torrent/data/block_transfer.h:127:16: note: destructor has a implicit non-throwing exception specification BlockTransfer::~BlockTransfer() { ^ In file included from peer_connection_leech.cc:41: ../../rak/functional.h:341:32: warning: 'unary_function &, rak::timer &>' is deprecated [-Wdeprecated-declarations] struct mem_ref_t : public std::unary_function { ^ peer_connection_leech.cc:547:105: note: in instantiation of template class 'rak::mem_ref_t, rak::timer>' requested here rak::greater(m_peerChunks.have_timer(), rak::mem_ref(&DownloadMain::have_queue_type::value_type::first))); ^ /usr/include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function &, rak::timer &>' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from peer_connection_leech.cc:47: In file included from ./../download/download_main.h:43: In file included from ./../globals.h:41: In file included from ../../rak/priority_queue_default.h:42: ../../rak/priority_queue.h:84:46: warning: 'bind2nd, rak::priority_item *>' is deprecated [-Wdeprecated-declarations] return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); ^ ../../rak/priority_queue_default.h:113:14: note: in instantiation of function template specialization 'rak::priority_queue, rak::cacheline_allocator>::find' requested here if (queue->find(item) != queue->end()) ^ /usr/include/c++/v1/__functional/binder2nd.h:44:1: note: 'bind2nd, rak::priority_item *>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ 9 warnings generated. mv -f .deps/peer_connection_leech.Tpo .deps/peer_connection_leech.Plo /usr/bin/libtool --tag=CXX --mode=compile c++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT peer_connection_metadata.lo -MD -MP -MF .deps/peer_connection_metadata.Tpo -c -o peer_connection_metadata.lo peer_connection_metadata.cc c++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT peer_connection_metadata.lo -MD -MP -MF .deps/peer_connection_metadata.Tpo -c peer_connection_metadata.cc -fPIC -DPIC -o .libs/peer_connection_metadata.o In file included from peer_connection_metadata.cc:45: In file included from ./../download/download_main.h:43: In file included from ./../globals.h:41: ../../rak/priority_queue_default.h:56:7: warning: '~priority_item' has a non-throwing exception specification but can still throw [-Wexceptions] throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); ^ ../../rak/priority_queue_default.h:54:3: note: destructor has a implicit non-throwing exception specification ~priority_item() { ^ In file included from peer_connection_metadata.cc:45: In file included from ./../download/download_main.h:48: In file included from ./../download/available_list.h:45: ./../net/address_list.h:61:36: warning: 'unary_function' is deprecated [-Wdeprecated-declarations] struct add_address : public std::unary_function { ^ /usr/include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from peer_connection_metadata.cc:45: In file included from ./../download/download_main.h:52: ./../torrent/data/file_list.h:202:79: warning: 'mem_fun' is deprecated [-Wdeprecated-declarations] return std::find_if(file_list->begin(), file_list->end(), std::bind2nd(std::mem_fun(&File::is_valid_position), pos)); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:128:1: note: 'mem_fun' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from peer_connection_metadata.cc:45: In file included from ./../download/download_main.h:52: ./../torrent/data/file_list.h:202:66: warning: 'bind2nd, unsigned long long>' is deprecated [-Wdeprecated-declarations] return std::find_if(file_list->begin(), file_list->end(), std::bind2nd(std::mem_fun(&File::is_valid_position), pos)); ^ /usr/include/c++/v1/__functional/binder2nd.h:44:1: note: 'bind2nd, unsigned long long>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from peer_connection_metadata.cc:43: In file included from ./../download/chunk_selector.h:44: In file included from ./../torrent/data/download_data.h:45: In file included from ./../torrent/utils/ranges.h:44: ../../rak/functional.h:551:30: warning: 'binary_function' is deprecated [-Wdeprecated-declarations] class mem_fun2 : public std::binary_function { ^ ./../download/download_main.h:201:29: note: in instantiation of template class 'rak::mem_fun2' requested here slot_start_handshake_type m_slotStartHandshake; ^ /usr/include/c++/v1/__functional/binary_function.h:24:29: note: 'binary_function' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 binary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from peer_connection_metadata.cc:55: In file included from ./peer_connection_metadata.h:40: In file included from ./peer_connection_base.h:50: In file included from ./request_list.h:42: ./../torrent/data/block_transfer.h:132:5: warning: '~BlockTransfer' has a non-throwing exception specification but can still throw [-Wexceptions] throw internal_error("BlockTransfer::~BlockTransfer() peer_info not NULL"); ^ ./../torrent/data/block_transfer.h:127:16: note: destructor has a implicit non-throwing exception specification BlockTransfer::~BlockTransfer() { ^ ./../torrent/data/block_transfer.h:129:5: warning: '~BlockTransfer' has a non-throwing exception specification but can still throw [-Wexceptions] throw internal_error("BlockTransfer::~BlockTransfer() block not NULL"); ^ ./../torrent/data/block_transfer.h:127:16: note: destructor has a implicit non-throwing exception specification BlockTransfer::~BlockTransfer() { ^ In file included from peer_connection_metadata.cc:45: In file included from ./../download/download_main.h:43: In file included from ./../globals.h:41: In file included from ../../rak/priority_queue_default.h:42: ../../rak/priority_queue.h:84:46: warning: 'bind2nd, rak::priority_item *>' is deprecated [-Wdeprecated-declarations] return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); ^ ../../rak/priority_queue_default.h:113:14: note: in instantiation of function template specialization 'rak::priority_queue, rak::cacheline_allocator>::find' requested here if (queue->find(item) != queue->end()) ^ /usr/include/c++/v1/__functional/binder2nd.h:44:1: note: 'bind2nd, rak::priority_item *>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ 8 warnings generated. c++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT peer_connection_metadata.lo -MD -MP -MF .deps/peer_connection_metadata.Tpo -c peer_connection_metadata.cc -o peer_connection_metadata.o In file included from peer_connection_metadata.cc:45: In file included from ./../download/download_main.h:43: In file included from ./../globals.h:41: ../../rak/priority_queue_default.h:56:7: warning: '~priority_item' has a non-throwing exception specification but can still throw [-Wexceptions] throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); ^ ../../rak/priority_queue_default.h:54:3: note: destructor has a implicit non-throwing exception specification ~priority_item() { ^ In file included from peer_connection_metadata.cc:45: In file included from ./../download/download_main.h:48: In file included from ./../download/available_list.h:45: ./../net/address_list.h:61:36: warning: 'unary_function' is deprecated [-Wdeprecated-declarations] struct add_address : public std::unary_function { ^ /usr/include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from peer_connection_metadata.cc:45: In file included from ./../download/download_main.h:52: ./../torrent/data/file_list.h:202:79: warning: 'mem_fun' is deprecated [-Wdeprecated-declarations] return std::find_if(file_list->begin(), file_list->end(), std::bind2nd(std::mem_fun(&File::is_valid_position), pos)); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:128:1: note: 'mem_fun' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from peer_connection_metadata.cc:45: In file included from ./../download/download_main.h:52: ./../torrent/data/file_list.h:202:66: warning: 'bind2nd, unsigned long long>' is deprecated [-Wdeprecated-declarations] return std::find_if(file_list->begin(), file_list->end(), std::bind2nd(std::mem_fun(&File::is_valid_position), pos)); ^ /usr/include/c++/v1/__functional/binder2nd.h:44:1: note: 'bind2nd, unsigned long long>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from peer_connection_metadata.cc:43: In file included from ./../download/chunk_selector.h:44: In file included from ./../torrent/data/download_data.h:45: In file included from ./../torrent/utils/ranges.h:44: ../../rak/functional.h:551:30: warning: 'binary_function' is deprecated [-Wdeprecated-declarations] class mem_fun2 : public std::binary_function { ^ ./../download/download_main.h:201:29: note: in instantiation of template class 'rak::mem_fun2' requested here slot_start_handshake_type m_slotStartHandshake; ^ /usr/include/c++/v1/__functional/binary_function.h:24:29: note: 'binary_function' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 binary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from peer_connection_metadata.cc:55: In file included from ./peer_connection_metadata.h:40: In file included from ./peer_connection_base.h:50: In file included from ./request_list.h:42: ./../torrent/data/block_transfer.h:132:5: warning: '~BlockTransfer' has a non-throwing exception specification but can still throw [-Wexceptions] throw internal_error("BlockTransfer::~BlockTransfer() peer_info not NULL"); ^ ./../torrent/data/block_transfer.h:127:16: note: destructor has a implicit non-throwing exception specification BlockTransfer::~BlockTransfer() { ^ ./../torrent/data/block_transfer.h:129:5: warning: '~BlockTransfer' has a non-throwing exception specification but can still throw [-Wexceptions] throw internal_error("BlockTransfer::~BlockTransfer() block not NULL"); ^ ./../torrent/data/block_transfer.h:127:16: note: destructor has a implicit non-throwing exception specification BlockTransfer::~BlockTransfer() { ^ In file included from peer_connection_metadata.cc:45: In file included from ./../download/download_main.h:43: In file included from ./../globals.h:41: In file included from ../../rak/priority_queue_default.h:42: ../../rak/priority_queue.h:84:46: warning: 'bind2nd, rak::priority_item *>' is deprecated [-Wdeprecated-declarations] return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); ^ ../../rak/priority_queue_default.h:113:14: note: in instantiation of function template specialization 'rak::priority_queue, rak::cacheline_allocator>::find' requested here if (queue->find(item) != queue->end()) ^ /usr/include/c++/v1/__functional/binder2nd.h:44:1: note: 'bind2nd, rak::priority_item *>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ 8 warnings generated. mv -f .deps/peer_connection_metadata.Tpo .deps/peer_connection_metadata.Plo /usr/bin/libtool --tag=CXX --mode=compile c++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT peer_factory.lo -MD -MP -MF .deps/peer_factory.Tpo -c -o peer_factory.lo peer_factory.cc c++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT peer_factory.lo -MD -MP -MF .deps/peer_factory.Tpo -c peer_factory.cc -fPIC -DPIC -o .libs/peer_factory.o In file included from peer_factory.cc:40: In file included from ./peer_connection_leech.h:40: In file included from ./peer_connection_base.h:47: In file included from ./extensions.h:48: ./../net/address_list.h:61:36: warning: 'unary_function' is deprecated [-Wdeprecated-declarations] struct add_address : public std::unary_function { ^ /usr/include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from peer_factory.cc:40: In file included from ./peer_connection_leech.h:40: In file included from ./peer_connection_base.h:50: In file included from ./request_list.h:42: ./../torrent/data/block_transfer.h:132:5: warning: '~BlockTransfer' has a non-throwing exception specification but can still throw [-Wexceptions] throw internal_error("BlockTransfer::~BlockTransfer() peer_info not NULL"); ^ ./../torrent/data/block_transfer.h:127:16: note: destructor has a implicit non-throwing exception specification BlockTransfer::~BlockTransfer() { ^ ./../torrent/data/block_transfer.h:129:5: warning: '~BlockTransfer' has a non-throwing exception specification but can still throw [-Wexceptions] throw internal_error("BlockTransfer::~BlockTransfer() block not NULL"); ^ ./../torrent/data/block_transfer.h:127:16: note: destructor has a implicit non-throwing exception specification BlockTransfer::~BlockTransfer() { ^ In file included from peer_factory.cc:40: In file included from ./peer_connection_leech.h:40: In file included from ./peer_connection_base.h:50: In file included from ./request_list.h:46: In file included from ./../globals.h:41: ../../rak/priority_queue_default.h:56:7: warning: '~priority_item' has a non-throwing exception specification but can still throw [-Wexceptions] throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); ^ ../../rak/priority_queue_default.h:54:3: note: destructor has a implicit non-throwing exception specification ~priority_item() { ^ In file included from peer_factory.cc:40: In file included from ./peer_connection_leech.h:40: In file included from ./peer_connection_base.h:50: In file included from ./request_list.h:46: In file included from ./../globals.h:41: In file included from ../../rak/priority_queue_default.h:42: ../../rak/priority_queue.h:84:46: warning: 'bind2nd, rak::priority_item *>' is deprecated [-Wdeprecated-declarations] return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); ^ ../../rak/priority_queue_default.h:113:14: note: in instantiation of function template specialization 'rak::priority_queue, rak::cacheline_allocator>::find' requested here if (queue->find(item) != queue->end()) ^ /usr/include/c++/v1/__functional/binder2nd.h:44:1: note: 'bind2nd, rak::priority_item *>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ 5 warnings generated. c++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT peer_factory.lo -MD -MP -MF .deps/peer_factory.Tpo -c peer_factory.cc -o peer_factory.o In file included from peer_factory.cc:40: In file included from ./peer_connection_leech.h:40: In file included from ./peer_connection_base.h:47: In file included from ./extensions.h:48: ./../net/address_list.h:61:36: warning: 'unary_function' is deprecated [-Wdeprecated-declarations] struct add_address : public std::unary_function { ^ /usr/include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from peer_factory.cc:40: In file included from ./peer_connection_leech.h:40: In file included from ./peer_connection_base.h:50: In file included from ./request_list.h:42: ./../torrent/data/block_transfer.h:132:5: warning: '~BlockTransfer' has a non-throwing exception specification but can still throw [-Wexceptions] throw internal_error("BlockTransfer::~BlockTransfer() peer_info not NULL"); ^ ./../torrent/data/block_transfer.h:127:16: note: destructor has a implicit non-throwing exception specification BlockTransfer::~BlockTransfer() { ^ ./../torrent/data/block_transfer.h:129:5: warning: '~BlockTransfer' has a non-throwing exception specification but can still throw [-Wexceptions] throw internal_error("BlockTransfer::~BlockTransfer() block not NULL"); ^ ./../torrent/data/block_transfer.h:127:16: note: destructor has a implicit non-throwing exception specification BlockTransfer::~BlockTransfer() { ^ In file included from peer_factory.cc:40: In file included from ./peer_connection_leech.h:40: In file included from ./peer_connection_base.h:50: In file included from ./request_list.h:46: In file included from ./../globals.h:41: ../../rak/priority_queue_default.h:56:7: warning: '~priority_item' has a non-throwing exception specification but can still throw [-Wexceptions] throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); ^ ../../rak/priority_queue_default.h:54:3: note: destructor has a implicit non-throwing exception specification ~priority_item() { ^ In file included from peer_factory.cc:40: In file included from ./peer_connection_leech.h:40: In file included from ./peer_connection_base.h:50: In file included from ./request_list.h:46: In file included from ./../globals.h:41: In file included from ../../rak/priority_queue_default.h:42: ../../rak/priority_queue.h:84:46: warning: 'bind2nd, rak::priority_item *>' is deprecated [-Wdeprecated-declarations] return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); ^ ../../rak/priority_queue_default.h:113:14: note: in instantiation of function template specialization 'rak::priority_queue, rak::cacheline_allocator>::find' requested here if (queue->find(item) != queue->end()) ^ /usr/include/c++/v1/__functional/binder2nd.h:44:1: note: 'bind2nd, rak::priority_item *>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ 5 warnings generated. mv -f .deps/peer_factory.Tpo .deps/peer_factory.Plo /usr/bin/libtool --tag=CXX --mode=compile c++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT request_list.lo -MD -MP -MF .deps/request_list.Tpo -c -o request_list.lo request_list.cc c++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT request_list.lo -MD -MP -MF .deps/request_list.Tpo -c request_list.cc -fPIC -DPIC -o .libs/request_list.o In file included from request_list.cc:44: In file included from ./../torrent/data/block.h:42: ./../torrent/data/block_transfer.h:132:5: warning: '~BlockTransfer' has a non-throwing exception specification but can still throw [-Wexceptions] throw internal_error("BlockTransfer::~BlockTransfer() peer_info not NULL"); ^ ./../torrent/data/block_transfer.h:127:16: note: destructor has a implicit non-throwing exception specification BlockTransfer::~BlockTransfer() { ^ ./../torrent/data/block_transfer.h:129:5: warning: '~BlockTransfer' has a non-throwing exception specification but can still throw [-Wexceptions] throw internal_error("BlockTransfer::~BlockTransfer() block not NULL"); ^ ./../torrent/data/block_transfer.h:127:16: note: destructor has a implicit non-throwing exception specification BlockTransfer::~BlockTransfer() { ^ In file included from request_list.cc:51: In file included from ./request_list.h:46: In file included from ./../globals.h:41: ../../rak/priority_queue_default.h:56:7: warning: '~priority_item' has a non-throwing exception specification but can still throw [-Wexceptions] throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); ^ ../../rak/priority_queue_default.h:54:3: note: destructor has a implicit non-throwing exception specification ~priority_item() { ^ request_list.cc:120:5: warning: '~RequestList' has a non-throwing exception specification but can still throw [-Wexceptions] throw internal_error("request dtor m_queues not empty"); ^ request_list.cc:115:14: note: destructor has a implicit non-throwing exception specification RequestList::~RequestList() { ^ request_list.cc:117:5: warning: '~RequestList' has a non-throwing exception specification but can still throw [-Wexceptions] throw internal_error("request dtor m_transfer != NULL"); ^ request_list.cc:115:14: note: destructor has a implicit non-throwing exception specification RequestList::~RequestList() { ^ request_list.cc:143:63: warning: 'ptr_fun' is deprecated [-Wdeprecated-declarations] queue_bucket_for_all_in_queue(m_queues, bucket_queued, std::ptr_fun(&Block::stalled)); ^ /usr/include/c++/v1/__functional/pointer_to_unary_function.h:37:1: note: 'ptr_fun' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ request_list.cc:145:66: warning: 'ptr_fun' is deprecated [-Wdeprecated-declarations] queue_bucket_for_all_in_queue(m_queues, bucket_unordered, std::ptr_fun(&Block::stalled)); ^ /usr/include/c++/v1/__functional/pointer_to_unary_function.h:37:1: note: 'ptr_fun' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ request_list.cc:154:63: warning: 'ptr_fun' is deprecated [-Wdeprecated-declarations] queue_bucket_for_all_in_queue(m_queues, bucket_queued, std::ptr_fun(&Block::stalled)); ^ /usr/include/c++/v1/__functional/pointer_to_unary_function.h:37:1: note: 'ptr_fun' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ request_list.cc:156:66: warning: 'ptr_fun' is deprecated [-Wdeprecated-declarations] queue_bucket_for_all_in_queue(m_queues, bucket_unordered, std::ptr_fun(&Block::stalled)); ^ /usr/include/c++/v1/__functional/pointer_to_unary_function.h:37:1: note: 'ptr_fun' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ request_list.cc:366:38: warning: 'binary_function' is deprecated [-Wdeprecated-declarations] struct equals_reservee : public std::binary_function { ^ /usr/include/c++/v1/__functional/binary_function.h:24:29: note: 'binary_function' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 binary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from request_list.cc:51: In file included from ./request_list.h:46: In file included from ./../globals.h:41: In file included from ../../rak/priority_queue_default.h:42: ../../rak/priority_queue.h:84:46: warning: 'bind2nd, rak::priority_item *>' is deprecated [-Wdeprecated-declarations] return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); ^ ../../rak/priority_queue_default.h:113:14: note: in instantiation of function template specialization 'rak::priority_queue, rak::cacheline_allocator>::find' requested here if (queue->find(item) != queue->end()) ^ /usr/include/c++/v1/__functional/binder2nd.h:44:1: note: 'bind2nd, rak::priority_item *>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ 11 warnings generated. c++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT request_list.lo -MD -MP -MF .deps/request_list.Tpo -c request_list.cc -o request_list.o In file included from request_list.cc:44: In file included from ./../torrent/data/block.h:42: ./../torrent/data/block_transfer.h:132:5: warning: '~BlockTransfer' has a non-throwing exception specification but can still throw [-Wexceptions] throw internal_error("BlockTransfer::~BlockTransfer() peer_info not NULL"); ^ ./../torrent/data/block_transfer.h:127:16: note: destructor has a implicit non-throwing exception specification BlockTransfer::~BlockTransfer() { ^ ./../torrent/data/block_transfer.h:129:5: warning: '~BlockTransfer' has a non-throwing exception specification but can still throw [-Wexceptions] throw internal_error("BlockTransfer::~BlockTransfer() block not NULL"); ^ ./../torrent/data/block_transfer.h:127:16: note: destructor has a implicit non-throwing exception specification BlockTransfer::~BlockTransfer() { ^ In file included from request_list.cc:51: In file included from ./request_list.h:46: In file included from ./../globals.h:41: ../../rak/priority_queue_default.h:56:7: warning: '~priority_item' has a non-throwing exception specification but can still throw [-Wexceptions] throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); ^ ../../rak/priority_queue_default.h:54:3: note: destructor has a implicit non-throwing exception specification ~priority_item() { ^ request_list.cc:120:5: warning: '~RequestList' has a non-throwing exception specification but can still throw [-Wexceptions] throw internal_error("request dtor m_queues not empty"); ^ request_list.cc:115:14: note: destructor has a implicit non-throwing exception specification RequestList::~RequestList() { ^ request_list.cc:117:5: warning: '~RequestList' has a non-throwing exception specification but can still throw [-Wexceptions] throw internal_error("request dtor m_transfer != NULL"); ^ request_list.cc:115:14: note: destructor has a implicit non-throwing exception specification RequestList::~RequestList() { ^ request_list.cc:143:63: warning: 'ptr_fun' is deprecated [-Wdeprecated-declarations] queue_bucket_for_all_in_queue(m_queues, bucket_queued, std::ptr_fun(&Block::stalled)); ^ /usr/include/c++/v1/__functional/pointer_to_unary_function.h:37:1: note: 'ptr_fun' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ request_list.cc:145:66: warning: 'ptr_fun' is deprecated [-Wdeprecated-declarations] queue_bucket_for_all_in_queue(m_queues, bucket_unordered, std::ptr_fun(&Block::stalled)); ^ /usr/include/c++/v1/__functional/pointer_to_unary_function.h:37:1: note: 'ptr_fun' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ request_list.cc:154:63: warning: 'ptr_fun' is deprecated [-Wdeprecated-declarations] queue_bucket_for_all_in_queue(m_queues, bucket_queued, std::ptr_fun(&Block::stalled)); ^ /usr/include/c++/v1/__functional/pointer_to_unary_function.h:37:1: note: 'ptr_fun' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ request_list.cc:156:66: warning: 'ptr_fun' is deprecated [-Wdeprecated-declarations] queue_bucket_for_all_in_queue(m_queues, bucket_unordered, std::ptr_fun(&Block::stalled)); ^ /usr/include/c++/v1/__functional/pointer_to_unary_function.h:37:1: note: 'ptr_fun' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ request_list.cc:366:38: warning: 'binary_function' is deprecated [-Wdeprecated-declarations] struct equals_reservee : public std::binary_function { ^ /usr/include/c++/v1/__functional/binary_function.h:24:29: note: 'binary_function' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 binary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from request_list.cc:51: In file included from ./request_list.h:46: In file included from ./../globals.h:41: In file included from ../../rak/priority_queue_default.h:42: ../../rak/priority_queue.h:84:46: warning: 'bind2nd, rak::priority_item *>' is deprecated [-Wdeprecated-declarations] return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); ^ ../../rak/priority_queue_default.h:113:14: note: in instantiation of function template specialization 'rak::priority_queue, rak::cacheline_allocator>::find' requested here if (queue->find(item) != queue->end()) ^ /usr/include/c++/v1/__functional/binder2nd.h:44:1: note: 'bind2nd, rak::priority_item *>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ 11 warnings generated. mv -f .deps/request_list.Tpo .deps/request_list.Plo /usr/bin/libtool --tag=CXX --mode=link c++ -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -L/usr/lib -L/usr/lib -o libsub_protocol.la extensions.lo handshake.lo handshake_encryption.lo handshake_manager.lo initial_seed.lo peer_connection_base.lo peer_connection_leech.lo peer_connection_metadata.lo peer_factory.lo request_list.lo -lz -lcrypto libtool: link: ar cru .libs/libsub_protocol.a .libs/extensions.o .libs/handshake.o .libs/handshake_encryption.o .libs/handshake_manager.o .libs/initial_seed.o .libs/peer_connection_base.o .libs/peer_connection_leech.o .libs/peer_connection_metadata.o .libs/peer_factory.o .libs/request_list.o libtool: link: ranlib .libs/libsub_protocol.a Making all in tracker /usr/bin/libtool --tag=CXX --mode=compile c++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT tracker_dht.lo -MD -MP -MF .deps/tracker_dht.Tpo -c -o tracker_dht.lo tracker_dht.cc c++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT tracker_dht.lo -MD -MP -MF .deps/tracker_dht.Tpo -c tracker_dht.cc -fPIC -DPIC -o .libs/tracker_dht.o In file included from tracker_dht.cc:42: In file included from ./../dht/dht_router.h:40: ../../rak/priority_queue_default.h:56:7: warning: '~priority_item' has a non-throwing exception specification but can still throw [-Wexceptions] throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); ^ ../../rak/priority_queue_default.h:54:3: note: destructor has a implicit non-throwing exception specification ~priority_item() { ^ In file included from tracker_dht.cc:42: In file included from ./../dht/dht_router.h:48: In file included from ./../dht/dht_hash_map.h:51: In file included from ./../dht/dht_tracker.h:45: ./../net/address_list.h:61:36: warning: 'unary_function' is deprecated [-Wdeprecated-declarations] struct add_address : public std::unary_function { ^ /usr/include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from tracker_dht.cc:42: In file included from ./../dht/dht_router.h:48: ./../dht/dht_hash_map.h:67:42: warning: 'unary_function' is deprecated [-Wdeprecated-declarations] struct hashstring_ptr_hash : public std::unary_function { ^ /usr/include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from tracker_dht.cc:42: In file included from ./../dht/dht_router.h:48: ./../dht/dht_hash_map.h:84:38: warning: 'unary_function' is deprecated [-Wdeprecated-declarations] struct hashstring_hash : public std::unary_function { ^ /usr/include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from tracker_dht.cc:42: In file included from ./../dht/dht_router.h:48: ./../dht/dht_hash_map.h:102:43: warning: 'binary_function' is deprecated [-Wdeprecated-declarations] struct hashstring_ptr_equal : public std::binary_function { ^ /usr/include/c++/v1/__functional/binary_function.h:24:29: note: 'binary_function' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 binary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from tracker_dht.cc:42: In file included from ./../dht/dht_router.h:49: In file included from ./../dht/dht_server.h:50: ./../dht/dht_transaction.h:73:41: warning: 'binary_function' is deprecated [-Wdeprecated-declarations] struct dht_compare_closer : public std::binary_function { ^ /usr/include/c++/v1/__functional/binary_function.h:24:29: note: 'binary_function' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 binary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from tracker_dht.cc:42: In file included from ./../dht/dht_router.h:40: In file included from ../../rak/priority_queue_default.h:42: ../../rak/priority_queue.h:84:46: warning: 'bind2nd, rak::priority_item *>' is deprecated [-Wdeprecated-declarations] return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); ^ ../../rak/priority_queue_default.h:113:14: note: in instantiation of function template specialization 'rak::priority_queue, rak::cacheline_allocator>::find' requested here if (queue->find(item) != queue->end()) ^ /usr/include/c++/v1/__functional/binder2nd.h:44:1: note: 'bind2nd, rak::priority_item *>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ 7 warnings generated. c++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT tracker_dht.lo -MD -MP -MF .deps/tracker_dht.Tpo -c tracker_dht.cc -o tracker_dht.o In file included from tracker_dht.cc:42: In file included from ./../dht/dht_router.h:40: ../../rak/priority_queue_default.h:56:7: warning: '~priority_item' has a non-throwing exception specification but can still throw [-Wexceptions] throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); ^ ../../rak/priority_queue_default.h:54:3: note: destructor has a implicit non-throwing exception specification ~priority_item() { ^ In file included from tracker_dht.cc:42: In file included from ./../dht/dht_router.h:48: In file included from ./../dht/dht_hash_map.h:51: In file included from ./../dht/dht_tracker.h:45: ./../net/address_list.h:61:36: warning: 'unary_function' is deprecated [-Wdeprecated-declarations] struct add_address : public std::unary_function { ^ /usr/include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from tracker_dht.cc:42: In file included from ./../dht/dht_router.h:48: ./../dht/dht_hash_map.h:67:42: warning: 'unary_function' is deprecated [-Wdeprecated-declarations] struct hashstring_ptr_hash : public std::unary_function { ^ /usr/include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from tracker_dht.cc:42: In file included from ./../dht/dht_router.h:48: ./../dht/dht_hash_map.h:84:38: warning: 'unary_function' is deprecated [-Wdeprecated-declarations] struct hashstring_hash : public std::unary_function { ^ /usr/include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from tracker_dht.cc:42: In file included from ./../dht/dht_router.h:48: ./../dht/dht_hash_map.h:102:43: warning: 'binary_function' is deprecated [-Wdeprecated-declarations] struct hashstring_ptr_equal : public std::binary_function { ^ /usr/include/c++/v1/__functional/binary_function.h:24:29: note: 'binary_function' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 binary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from tracker_dht.cc:42: In file included from ./../dht/dht_router.h:49: In file included from ./../dht/dht_server.h:50: ./../dht/dht_transaction.h:73:41: warning: 'binary_function' is deprecated [-Wdeprecated-declarations] struct dht_compare_closer : public std::binary_function { ^ /usr/include/c++/v1/__functional/binary_function.h:24:29: note: 'binary_function' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 binary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from tracker_dht.cc:42: In file included from ./../dht/dht_router.h:40: In file included from ../../rak/priority_queue_default.h:42: ../../rak/priority_queue.h:84:46: warning: 'bind2nd, rak::priority_item *>' is deprecated [-Wdeprecated-declarations] return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); ^ ../../rak/priority_queue_default.h:113:14: note: in instantiation of function template specialization 'rak::priority_queue, rak::cacheline_allocator>::find' requested here if (queue->find(item) != queue->end()) ^ /usr/include/c++/v1/__functional/binder2nd.h:44:1: note: 'bind2nd, rak::priority_item *>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ 7 warnings generated. mv -f .deps/tracker_dht.Tpo .deps/tracker_dht.Plo /usr/bin/libtool --tag=CXX --mode=compile c++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT tracker_http.lo -MD -MP -MF .deps/tracker_http.Tpo -c -o tracker_http.lo tracker_http.cc c++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT tracker_http.lo -MD -MP -MF .deps/tracker_http.Tpo -c tracker_http.cc -fPIC -DPIC -o .libs/tracker_http.o In file included from tracker_http.cc:46: ./../net/address_list.h:61:36: warning: 'unary_function' is deprecated [-Wdeprecated-declarations] struct add_address : public std::unary_function { ^ /usr/include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from tracker_http.cc:58: In file included from ./../globals.h:41: ../../rak/priority_queue_default.h:56:7: warning: '~priority_item' has a non-throwing exception specification but can still throw [-Wexceptions] throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); ^ ../../rak/priority_queue_default.h:54:3: note: destructor has a implicit non-throwing exception specification ~priority_item() { ^ In file included from tracker_http.cc:58: In file included from ./../globals.h:41: In file included from ../../rak/priority_queue_default.h:42: ../../rak/priority_queue.h:84:46: warning: 'bind2nd, rak::priority_item *>' is deprecated [-Wdeprecated-declarations] return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); ^ ../../rak/priority_queue_default.h:113:14: note: in instantiation of function template specialization 'rak::priority_queue, rak::cacheline_allocator>::find' requested here if (queue->find(item) != queue->end()) ^ /usr/include/c++/v1/__functional/binder2nd.h:44:1: note: 'bind2nd, rak::priority_item *>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ 3 warnings generated. c++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT tracker_http.lo -MD -MP -MF .deps/tracker_http.Tpo -c tracker_http.cc -o tracker_http.o In file included from tracker_http.cc:46: ./../net/address_list.h:61:36: warning: 'unary_function' is deprecated [-Wdeprecated-declarations] struct add_address : public std::unary_function { ^ /usr/include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from tracker_http.cc:58: In file included from ./../globals.h:41: ../../rak/priority_queue_default.h:56:7: warning: '~priority_item' has a non-throwing exception specification but can still throw [-Wexceptions] throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); ^ ../../rak/priority_queue_default.h:54:3: note: destructor has a implicit non-throwing exception specification ~priority_item() { ^ In file included from tracker_http.cc:58: In file included from ./../globals.h:41: In file included from ../../rak/priority_queue_default.h:42: ../../rak/priority_queue.h:84:46: warning: 'bind2nd, rak::priority_item *>' is deprecated [-Wdeprecated-declarations] return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); ^ ../../rak/priority_queue_default.h:113:14: note: in instantiation of function template specialization 'rak::priority_queue, rak::cacheline_allocator>::find' requested here if (queue->find(item) != queue->end()) ^ /usr/include/c++/v1/__functional/binder2nd.h:44:1: note: 'bind2nd, rak::priority_item *>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ 3 warnings generated. mv -f .deps/tracker_http.Tpo .deps/tracker_http.Plo /usr/bin/libtool --tag=CXX --mode=compile c++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT tracker_udp.lo -MD -MP -MF .deps/tracker_udp.Tpo -c -o tracker_udp.lo tracker_udp.cc c++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT tracker_udp.lo -MD -MP -MF .deps/tracker_udp.Tpo -c tracker_udp.cc -fPIC -DPIC -o .libs/tracker_udp.o In file included from tracker_udp.cc:46: ./../net/address_list.h:61:36: warning: 'unary_function' is deprecated [-Wdeprecated-declarations] struct add_address : public std::unary_function { ^ /usr/include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from tracker_udp.cc:55: In file included from ./tracker_udp.h:47: In file included from ./../globals.h:41: ../../rak/priority_queue_default.h:56:7: warning: '~priority_item' has a non-throwing exception specification but can still throw [-Wexceptions] throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); ^ ../../rak/priority_queue_default.h:54:3: note: destructor has a implicit non-throwing exception specification ~priority_item() { ^ In file included from tracker_udp.cc:55: In file included from ./tracker_udp.h:47: In file included from ./../globals.h:41: In file included from ../../rak/priority_queue_default.h:42: ../../rak/priority_queue.h:84:46: warning: 'bind2nd, rak::priority_item *>' is deprecated [-Wdeprecated-declarations] return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); ^ ../../rak/priority_queue_default.h:113:14: note: in instantiation of function template specialization 'rak::priority_queue, rak::cacheline_allocator>::find' requested here if (queue->find(item) != queue->end()) ^ /usr/include/c++/v1/__functional/binder2nd.h:44:1: note: 'bind2nd, rak::priority_item *>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ 3 warnings generated. c++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT tracker_udp.lo -MD -MP -MF .deps/tracker_udp.Tpo -c tracker_udp.cc -o tracker_udp.o In file included from tracker_udp.cc:46: ./../net/address_list.h:61:36: warning: 'unary_function' is deprecated [-Wdeprecated-declarations] struct add_address : public std::unary_function { ^ /usr/include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from tracker_udp.cc:55: In file included from ./tracker_udp.h:47: In file included from ./../globals.h:41: ../../rak/priority_queue_default.h:56:7: warning: '~priority_item' has a non-throwing exception specification but can still throw [-Wexceptions] throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); ^ ../../rak/priority_queue_default.h:54:3: note: destructor has a implicit non-throwing exception specification ~priority_item() { ^ In file included from tracker_udp.cc:55: In file included from ./tracker_udp.h:47: In file included from ./../globals.h:41: In file included from ../../rak/priority_queue_default.h:42: ../../rak/priority_queue.h:84:46: warning: 'bind2nd, rak::priority_item *>' is deprecated [-Wdeprecated-declarations] return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); ^ ../../rak/priority_queue_default.h:113:14: note: in instantiation of function template specialization 'rak::priority_queue, rak::cacheline_allocator>::find' requested here if (queue->find(item) != queue->end()) ^ /usr/include/c++/v1/__functional/binder2nd.h:44:1: note: 'bind2nd, rak::priority_item *>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ 3 warnings generated. mv -f .deps/tracker_udp.Tpo .deps/tracker_udp.Plo /usr/bin/libtool --tag=CXX --mode=link c++ -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -L/usr/lib -L/usr/lib -o libsub_tracker.la tracker_dht.lo tracker_http.lo tracker_udp.lo -lz -lcrypto libtool: link: ar cru .libs/libsub_tracker.a .libs/tracker_dht.o .libs/tracker_http.o .libs/tracker_udp.o libtool: link: ranlib .libs/libsub_tracker.a Making all in utils /usr/bin/libtool --tag=CXX --mode=compile c++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT diffie_hellman.lo -MD -MP -MF .deps/diffie_hellman.Tpo -c -o diffie_hellman.lo diffie_hellman.cc c++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT diffie_hellman.lo -MD -MP -MF .deps/diffie_hellman.Tpo -c diffie_hellman.cc -fPIC -DPIC -o .libs/diffie_hellman.o c++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT diffie_hellman.lo -MD -MP -MF .deps/diffie_hellman.Tpo -c diffie_hellman.cc -o diffie_hellman.o mv -f .deps/diffie_hellman.Tpo .deps/diffie_hellman.Plo /usr/bin/libtool --tag=CXX --mode=compile c++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT instrumentation.lo -MD -MP -MF .deps/instrumentation.Tpo -c -o instrumentation.lo instrumentation.cc c++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT instrumentation.lo -MD -MP -MF .deps/instrumentation.Tpo -c instrumentation.cc -fPIC -DPIC -o .libs/instrumentation.o c++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT instrumentation.lo -MD -MP -MF .deps/instrumentation.Tpo -c instrumentation.cc -o instrumentation.o mv -f .deps/instrumentation.Tpo .deps/instrumentation.Plo /usr/bin/libtool --tag=CXX --mode=compile c++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT sha_fast.lo -MD -MP -MF .deps/sha_fast.Tpo -c -o sha_fast.lo sha_fast.cc c++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT sha_fast.lo -MD -MP -MF .deps/sha_fast.Tpo -c sha_fast.cc -fPIC -DPIC -o .libs/sha_fast.o c++ -DHAVE_CONFIG_H -I. -I../.. -I. -I./.. -I../.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT sha_fast.lo -MD -MP -MF .deps/sha_fast.Tpo -c sha_fast.cc -o sha_fast.o mv -f .deps/sha_fast.Tpo .deps/sha_fast.Plo /usr/bin/libtool --tag=CXX --mode=link c++ -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -L/usr/lib -L/usr/lib -o libsub_utils.la diffie_hellman.lo instrumentation.lo sha_fast.lo -lz -lcrypto libtool: link: ar cru .libs/libsub_utils.a .libs/diffie_hellman.o .libs/instrumentation.o .libs/sha_fast.o libtool: link: ranlib .libs/libsub_utils.a /usr/bin/libtool --tag=CXX --mode=compile c++ -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT globals.lo -MD -MP -MF .deps/globals.Tpo -c -o globals.lo globals.cc c++ -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT globals.lo -MD -MP -MF .deps/globals.Tpo -c globals.cc -fPIC -DPIC -o .libs/globals.o In file included from globals.cc:39: In file included from ./globals.h:41: ../rak/priority_queue_default.h:56:7: warning: '~priority_item' has a non-throwing exception specification but can still throw [-Wexceptions] throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); ^ ../rak/priority_queue_default.h:54:3: note: destructor has a implicit non-throwing exception specification ~priority_item() { ^ In file included from globals.cc:39: In file included from ./globals.h:41: In file included from ../rak/priority_queue_default.h:42: ../rak/priority_queue.h:84:46: warning: 'bind2nd, rak::priority_item *>' is deprecated [-Wdeprecated-declarations] return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); ^ ../rak/priority_queue_default.h:113:14: note: in instantiation of function template specialization 'rak::priority_queue, rak::cacheline_allocator>::find' requested here if (queue->find(item) != queue->end()) ^ /usr/include/c++/v1/__functional/binder2nd.h:44:1: note: 'bind2nd, rak::priority_item *>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ 2 warnings generated. c++ -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT globals.lo -MD -MP -MF .deps/globals.Tpo -c globals.cc -o globals.o In file included from globals.cc:39: In file included from ./globals.h:41: ../rak/priority_queue_default.h:56:7: warning: '~priority_item' has a non-throwing exception specification but can still throw [-Wexceptions] throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); ^ ../rak/priority_queue_default.h:54:3: note: destructor has a implicit non-throwing exception specification ~priority_item() { ^ In file included from globals.cc:39: In file included from ./globals.h:41: In file included from ../rak/priority_queue_default.h:42: ../rak/priority_queue.h:84:46: warning: 'bind2nd, rak::priority_item *>' is deprecated [-Wdeprecated-declarations] return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); ^ ../rak/priority_queue_default.h:113:14: note: in instantiation of function template specialization 'rak::priority_queue, rak::cacheline_allocator>::find' requested here if (queue->find(item) != queue->end()) ^ /usr/include/c++/v1/__functional/binder2nd.h:44:1: note: 'bind2nd, rak::priority_item *>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ 2 warnings generated. mv -f .deps/globals.Tpo .deps/globals.Plo /usr/bin/libtool --tag=CXX --mode=compile c++ -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT manager.lo -MD -MP -MF .deps/manager.Tpo -c -o manager.lo manager.cc c++ -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT manager.lo -MD -MP -MF .deps/manager.Tpo -c manager.cc -fPIC -DPIC -o .libs/manager.o In file included from manager.cc:41: In file included from ./download/download_wrapper.h:41: In file included from ./download/download_main.h:43: In file included from ./globals.h:41: ../rak/priority_queue_default.h:56:7: warning: '~priority_item' has a non-throwing exception specification but can still throw [-Wexceptions] throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); ^ ../rak/priority_queue_default.h:54:3: note: destructor has a implicit non-throwing exception specification ~priority_item() { ^ In file included from manager.cc:41: In file included from ./download/download_wrapper.h:41: In file included from ./download/download_main.h:48: In file included from ./download/available_list.h:45: ./net/address_list.h:61:36: warning: 'unary_function' is deprecated [-Wdeprecated-declarations] struct add_address : public std::unary_function { ^ /usr/include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from manager.cc:41: In file included from ./download/download_wrapper.h:41: In file included from ./download/download_main.h:52: ./torrent/data/file_list.h:202:79: warning: 'mem_fun' is deprecated [-Wdeprecated-declarations] return std::find_if(file_list->begin(), file_list->end(), std::bind2nd(std::mem_fun(&File::is_valid_position), pos)); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:128:1: note: 'mem_fun' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from manager.cc:41: In file included from ./download/download_wrapper.h:41: In file included from ./download/download_main.h:52: ./torrent/data/file_list.h:202:66: warning: 'bind2nd, unsigned long long>' is deprecated [-Wdeprecated-declarations] return std::find_if(file_list->begin(), file_list->end(), std::bind2nd(std::mem_fun(&File::is_valid_position), pos)); ^ /usr/include/c++/v1/__functional/binder2nd.h:44:1: note: 'bind2nd, unsigned long long>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from manager.cc:41: In file included from ./download/download_wrapper.h:41: In file included from ./download/download_main.h:41: ../rak/functional.h:551:30: warning: 'binary_function' is deprecated [-Wdeprecated-declarations] class mem_fun2 : public std::binary_function { ^ ./download/download_main.h:201:29: note: in instantiation of template class 'rak::mem_fun2' requested here slot_start_handshake_type m_slotStartHandshake; ^ /usr/include/c++/v1/__functional/binary_function.h:24:29: note: 'binary_function' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 binary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from manager.cc:44: In file included from ./data/chunk_list.h:44: ./data/chunk.h:124:57: warning: 'mem_fun_ref' is deprecated [-Wdeprecated-declarations] return std::find_if(begin(), end(), std::bind2nd(std::mem_fun_ref(&ChunkPart::has_address), ptr)); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:164:1: note: 'mem_fun_ref' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from manager.cc:44: In file included from ./data/chunk_list.h:44: ./data/chunk.h:124:44: warning: 'bind2nd, void *>' is deprecated [-Wdeprecated-declarations] return std::find_if(begin(), end(), std::bind2nd(std::mem_fun_ref(&ChunkPart::has_address), ptr)); ^ /usr/include/c++/v1/__functional/binder2nd.h:44:1: note: 'bind2nd, void *>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ manager.cc:177:72: warning: 'mem_fun' is deprecated [-Wdeprecated-declarations] std::for_each(split, m_downloadManager->end(), std::bind2nd(std::mem_fun(&DownloadWrapper::receive_tick), m_ticks)); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:56:1: note: 'mem_fun' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ manager.cc:177:59: warning: 'bind2nd, unsigned int>' is deprecated [-Wdeprecated-declarations] std::for_each(split, m_downloadManager->end(), std::bind2nd(std::mem_fun(&DownloadWrapper::receive_tick), m_ticks)); ^ /usr/include/c++/v1/__functional/binder2nd.h:44:1: note: 'bind2nd, unsigned int>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ manager.cc:178:72: warning: 'mem_fun' is deprecated [-Wdeprecated-declarations] std::for_each(m_downloadManager->begin(), split, std::bind2nd(std::mem_fun(&DownloadWrapper::receive_tick), m_ticks)); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:56:1: note: 'mem_fun' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ manager.cc:178:59: warning: 'bind2nd, unsigned int>' is deprecated [-Wdeprecated-declarations] std::for_each(m_downloadManager->begin(), split, std::bind2nd(std::mem_fun(&DownloadWrapper::receive_tick), m_ticks)); ^ /usr/include/c++/v1/__functional/binder2nd.h:44:1: note: 'bind2nd, unsigned int>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from manager.cc:41: In file included from ./download/download_wrapper.h:41: In file included from ./download/download_main.h:43: In file included from ./globals.h:41: In file included from ../rak/priority_queue_default.h:42: ../rak/priority_queue.h:84:46: warning: 'bind2nd, rak::priority_item *>' is deprecated [-Wdeprecated-declarations] return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); ^ ../rak/priority_queue_default.h:113:14: note: in instantiation of function template specialization 'rak::priority_queue, rak::cacheline_allocator>::find' requested here if (queue->find(item) != queue->end()) ^ /usr/include/c++/v1/__functional/binder2nd.h:44:1: note: 'bind2nd, rak::priority_item *>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ 12 warnings generated. c++ -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT manager.lo -MD -MP -MF .deps/manager.Tpo -c manager.cc -o manager.o In file included from manager.cc:41: In file included from ./download/download_wrapper.h:41: In file included from ./download/download_main.h:43: In file included from ./globals.h:41: ../rak/priority_queue_default.h:56:7: warning: '~priority_item' has a non-throwing exception specification but can still throw [-Wexceptions] throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); ^ ../rak/priority_queue_default.h:54:3: note: destructor has a implicit non-throwing exception specification ~priority_item() { ^ In file included from manager.cc:41: In file included from ./download/download_wrapper.h:41: In file included from ./download/download_main.h:48: In file included from ./download/available_list.h:45: ./net/address_list.h:61:36: warning: 'unary_function' is deprecated [-Wdeprecated-declarations] struct add_address : public std::unary_function { ^ /usr/include/c++/v1/__functional/unary_function.h:23:29: note: 'unary_function' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 unary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from manager.cc:41: In file included from ./download/download_wrapper.h:41: In file included from ./download/download_main.h:52: ./torrent/data/file_list.h:202:79: warning: 'mem_fun' is deprecated [-Wdeprecated-declarations] return std::find_if(file_list->begin(), file_list->end(), std::bind2nd(std::mem_fun(&File::is_valid_position), pos)); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:128:1: note: 'mem_fun' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from manager.cc:41: In file included from ./download/download_wrapper.h:41: In file included from ./download/download_main.h:52: ./torrent/data/file_list.h:202:66: warning: 'bind2nd, unsigned long long>' is deprecated [-Wdeprecated-declarations] return std::find_if(file_list->begin(), file_list->end(), std::bind2nd(std::mem_fun(&File::is_valid_position), pos)); ^ /usr/include/c++/v1/__functional/binder2nd.h:44:1: note: 'bind2nd, unsigned long long>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from manager.cc:41: In file included from ./download/download_wrapper.h:41: In file included from ./download/download_main.h:41: ../rak/functional.h:551:30: warning: 'binary_function' is deprecated [-Wdeprecated-declarations] class mem_fun2 : public std::binary_function { ^ ./download/download_main.h:201:29: note: in instantiation of template class 'rak::mem_fun2' requested here slot_start_handshake_type m_slotStartHandshake; ^ /usr/include/c++/v1/__functional/binary_function.h:24:29: note: 'binary_function' has been explicitly marked deprecated here struct _LIBCPP_TEMPLATE_VIS _LIBCPP_DEPRECATED_IN_CXX11 binary_function ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from manager.cc:44: In file included from ./data/chunk_list.h:44: ./data/chunk.h:124:57: warning: 'mem_fun_ref' is deprecated [-Wdeprecated-declarations] return std::find_if(begin(), end(), std::bind2nd(std::mem_fun_ref(&ChunkPart::has_address), ptr)); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:164:1: note: 'mem_fun_ref' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from manager.cc:44: In file included from ./data/chunk_list.h:44: ./data/chunk.h:124:44: warning: 'bind2nd, void *>' is deprecated [-Wdeprecated-declarations] return std::find_if(begin(), end(), std::bind2nd(std::mem_fun_ref(&ChunkPart::has_address), ptr)); ^ /usr/include/c++/v1/__functional/binder2nd.h:44:1: note: 'bind2nd, void *>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ manager.cc:177:72: warning: 'mem_fun' is deprecated [-Wdeprecated-declarations] std::for_each(split, m_downloadManager->end(), std::bind2nd(std::mem_fun(&DownloadWrapper::receive_tick), m_ticks)); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:56:1: note: 'mem_fun' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ manager.cc:177:59: warning: 'bind2nd, unsigned int>' is deprecated [-Wdeprecated-declarations] std::for_each(split, m_downloadManager->end(), std::bind2nd(std::mem_fun(&DownloadWrapper::receive_tick), m_ticks)); ^ /usr/include/c++/v1/__functional/binder2nd.h:44:1: note: 'bind2nd, unsigned int>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ manager.cc:178:72: warning: 'mem_fun' is deprecated [-Wdeprecated-declarations] std::for_each(m_downloadManager->begin(), split, std::bind2nd(std::mem_fun(&DownloadWrapper::receive_tick), m_ticks)); ^ /usr/include/c++/v1/__functional/mem_fun_ref.h:56:1: note: 'mem_fun' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ manager.cc:178:59: warning: 'bind2nd, unsigned int>' is deprecated [-Wdeprecated-declarations] std::for_each(m_downloadManager->begin(), split, std::bind2nd(std::mem_fun(&DownloadWrapper::receive_tick), m_ticks)); ^ /usr/include/c++/v1/__functional/binder2nd.h:44:1: note: 'bind2nd, unsigned int>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ In file included from manager.cc:41: In file included from ./download/download_wrapper.h:41: In file included from ./download/download_main.h:43: In file included from ./globals.h:41: In file included from ../rak/priority_queue_default.h:42: ../rak/priority_queue.h:84:46: warning: 'bind2nd, rak::priority_item *>' is deprecated [-Wdeprecated-declarations] return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); ^ ../rak/priority_queue_default.h:113:14: note: in instantiation of function template specialization 'rak::priority_queue, rak::cacheline_allocator>::find' requested here if (queue->find(item) != queue->end()) ^ /usr/include/c++/v1/__functional/binder2nd.h:44:1: note: 'bind2nd, rak::priority_item *>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ 12 warnings generated. mv -f .deps/manager.Tpo .deps/manager.Plo /usr/bin/libtool --tag=CXX --mode=compile c++ -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT thread_disk.lo -MD -MP -MF .deps/thread_disk.Tpo -c -o thread_disk.lo thread_disk.cc c++ -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT thread_disk.lo -MD -MP -MF .deps/thread_disk.Tpo -c thread_disk.cc -fPIC -DPIC -o .libs/thread_disk.o c++ -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT thread_disk.lo -MD -MP -MF .deps/thread_disk.Tpo -c thread_disk.cc -o thread_disk.o mv -f .deps/thread_disk.Tpo .deps/thread_disk.Plo /usr/bin/libtool --tag=CXX --mode=compile c++ -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT thread_main.lo -MD -MP -MF .deps/thread_main.Tpo -c -o thread_main.lo thread_main.cc c++ -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT thread_main.lo -MD -MP -MF .deps/thread_main.Tpo -c thread_main.cc -fPIC -DPIC -o .libs/thread_main.o In file included from thread_main.cc:43: In file included from ./globals.h:41: ../rak/priority_queue_default.h:56:7: warning: '~priority_item' has a non-throwing exception specification but can still throw [-Wexceptions] throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); ^ ../rak/priority_queue_default.h:54:3: note: destructor has a implicit non-throwing exception specification ~priority_item() { ^ In file included from thread_main.cc:43: In file included from ./globals.h:41: In file included from ../rak/priority_queue_default.h:42: ../rak/priority_queue.h:84:46: warning: 'bind2nd, rak::priority_item *>' is deprecated [-Wdeprecated-declarations] return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); ^ ../rak/priority_queue_default.h:113:14: note: in instantiation of function template specialization 'rak::priority_queue, rak::cacheline_allocator>::find' requested here if (queue->find(item) != queue->end()) ^ /usr/include/c++/v1/__functional/binder2nd.h:44:1: note: 'bind2nd, rak::priority_item *>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ 2 warnings generated. c++ -DHAVE_CONFIG_H -I. -I.. -I. -I.. -I/usr/include -I/usr/include -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -MT thread_main.lo -MD -MP -MF .deps/thread_main.Tpo -c thread_main.cc -o thread_main.o In file included from thread_main.cc:43: In file included from ./globals.h:41: ../rak/priority_queue_default.h:56:7: warning: '~priority_item' has a non-throwing exception specification but can still throw [-Wexceptions] throw torrent::internal_error("priority_item::~priority_item() called on a queued item."); ^ ../rak/priority_queue_default.h:54:3: note: destructor has a implicit non-throwing exception specification ~priority_item() { ^ In file included from thread_main.cc:43: In file included from ./globals.h:41: In file included from ../rak/priority_queue_default.h:42: ../rak/priority_queue.h:84:46: warning: 'bind2nd, rak::priority_item *>' is deprecated [-Wdeprecated-declarations] return std::find_if(begin(), end(), std::bind2nd(m_equal, key)); ^ ../rak/priority_queue_default.h:113:14: note: in instantiation of function template specialization 'rak::priority_queue, rak::cacheline_allocator>::find' requested here if (queue->find(item) != queue->end()) ^ /usr/include/c++/v1/__functional/binder2nd.h:44:1: note: 'bind2nd, rak::priority_item *>' has been explicitly marked deprecated here _LIBCPP_DEPRECATED_IN_CXX11 inline _LIBCPP_INLINE_VISIBILITY ^ /usr/include/c++/v1/__config:796:41: note: expanded from macro '_LIBCPP_DEPRECATED_IN_CXX11' # define _LIBCPP_DEPRECATED_IN_CXX11 _LIBCPP_DEPRECATED ^ /usr/include/c++/v1/__config:781:49: note: expanded from macro '_LIBCPP_DEPRECATED' # define _LIBCPP_DEPRECATED __attribute__((deprecated)) ^ 2 warnings generated. mv -f .deps/thread_main.Tpo .deps/thread_main.Plo /usr/bin/libtool --tag=CXX --mode=link c++ -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden -version-info 19:0:0 -L/usr/lib -L/usr/lib -o libtorrent.la -rpath /usr/local/lib globals.lo manager.lo thread_disk.lo thread_main.lo torrent/libsub_torrent.la torrent/data/libsub_torrentdata.la torrent/download/libsub_torrentdownload.la torrent/peer/libsub_torrentpeer.la torrent/utils/libsub_torrentutils.la data/libsub_data.la dht/libsub_dht.la download/libsub_download.la net/libsub_net.la protocol/libsub_protocol.la tracker/libsub_tracker.la utils/libsub_utils.la -lz -lcrypto libtool: link: c++ -shared -fPIC -DPIC -o .libs/libtorrent.so.22.1 -pthread -O2 -pipe -g -std=c++11 -DNDEBUG -fvisibility=hidden .libs/globals.o .libs/manager.o .libs/thread_disk.o .libs/thread_main.o -Wl,-whole-archive /exopi-obj/pobj/libtorrent-0.13.6/libtorrent-0.13.6/src/torrent/.libs/libsub_torrent.a /exopi-obj/pobj/libtorrent-0.13.6/libtorrent-0.13.6/src/torrent/data/.libs/libsub_torrentdata.a /exopi-obj/pobj/libtorrent-0.13.6/libtorrent-0.13.6/src/torrent/download/.libs/libsub_torrentdownload.a /exopi-obj/pobj/libtorrent-0.13.6/libtorrent-0.13.6/src/torrent/peer/.libs/libsub_torrentpeer.a /exopi-obj/pobj/libtorrent-0.13.6/libtorrent-0.13.6/src/torrent/utils/.libs/libsub_torrentutils.a /exopi-obj/pobj/libtorrent-0.13.6/libtorrent-0.13.6/src/data/.libs/libsub_data.a /exopi-obj/pobj/libtorrent-0.13.6/libtorrent-0.13.6/src/dht/.libs/libsub_dht.a /exopi-obj/pobj/libtorrent-0.13.6/libtorrent-0.13.6/src/download/.libs/libsub_download.a /exopi-obj/pobj/libtorrent-0.13.6/libtorrent-0.13.6/src/net/.libs/libsub_net.a /exopi-obj/pobj/libtorrent-0.13.6/libtorrent-0.13.6/src/protocol/.libs/libsub_protocol.a /exopi-obj/pobj/libtorrent-0.13.6/libtorrent-0.13.6/src/tracker/.libs/libsub_tracker.a /exopi-obj/pobj/libtorrent-0.13.6/libtorrent-0.13.6/src/utils/.libs/libsub_utils.a -Wl,-no-whole-archive -L.libs -lz -lcrypto -Wl,-soname,libtorrent.so.22.1 libtool: link: ar x /exopi-obj/pobj/libtorrent-0.13.6/libtorrent-0.13.6/src/torrent/.libs/libsub_torrent.a libtool: link: ar x /exopi-obj/pobj/libtorrent-0.13.6/libtorrent-0.13.6/src/torrent/data/.libs/libsub_torrentdata.a libtool: link: ar x /exopi-obj/pobj/libtorrent-0.13.6/libtorrent-0.13.6/src/torrent/download/.libs/libsub_torrentdownload.a libtool: link: ar x /exopi-obj/pobj/libtorrent-0.13.6/libtorrent-0.13.6/src/torrent/peer/.libs/libsub_torrentpeer.a libtool: link: ar x /exopi-obj/pobj/libtorrent-0.13.6/libtorrent-0.13.6/src/torrent/utils/.libs/libsub_torrentutils.a libtool: link: ar x /exopi-obj/pobj/libtorrent-0.13.6/libtorrent-0.13.6/src/data/.libs/libsub_data.a libtool: link: ar x /exopi-obj/pobj/libtorrent-0.13.6/libtorrent-0.13.6/src/dht/.libs/libsub_dht.a libtool: link: ar x /exopi-obj/pobj/libtorrent-0.13.6/libtorrent-0.13.6/src/download/.libs/libsub_download.a libtool: link: ar x /exopi-obj/pobj/libtorrent-0.13.6/libtorrent-0.13.6/src/net/.libs/libsub_net.a libtool: link: ar x /exopi-obj/pobj/libtorrent-0.13.6/libtorrent-0.13.6/src/protocol/.libs/libsub_protocol.a libtool: link: ar x /exopi-obj/pobj/libtorrent-0.13.6/libtorrent-0.13.6/src/tracker/.libs/libsub_tracker.a libtool: link: ar x /exopi-obj/pobj/libtorrent-0.13.6/libtorrent-0.13.6/src/utils/.libs/libsub_utils.a libtool: link: ar cru .libs/libtorrent.a ./.libs/libtorrent.lax/libsub_torrent.a/bitfield.o ./.libs/libtorrent.lax/libsub_torrent.a/chunk_manager.o ./.libs/libtorrent.lax/libsub_torrent.a/connection_manager.o ./.libs/libtorrent.lax/libsub_torrent.a/dht_manager.o ./.libs/libtorrent.lax/libsub_torrent.a/download.o ./.libs/libtorrent.lax/libsub_torrent.a/error.o ./.libs/libtorrent.lax/libsub_torrent.a/exceptions.o ./.libs/libtorrent.lax/libsub_torrent.a/hash_string.o ./.libs/libtorrent.lax/libsub_torrent.a/http.o ./.libs/libtorrent.lax/libsub_torrent.a/object.o ./.libs/libtorrent.lax/libsub_torrent.a/object_static_map.o ./.libs/libtorrent.lax/libsub_torrent.a/object_stream.o ./.libs/libtorrent.lax/libsub_torrent.a/path.o ./.libs/libtorrent.lax/libsub_torrent.a/poll_epoll.o ./.libs/libtorrent.lax/libsub_torrent.a/poll_kqueue.o ./.libs/libtorrent.lax/libsub_torrent.a/poll_select.o ./.libs/libtorrent.lax/libsub_torrent.a/rate.o ./.libs/libtorrent.lax/libsub_torrent.a/throttle.o ./.libs/libtorrent.lax/libsub_torrent.a/torrent.o ./.libs/libtorrent.lax/libsub_torrent.a/tracker.o ./.libs/libtorrent.lax/libsub_torrent.a/tracker_controller.o ./.libs/libtorrent.lax/libsub_torrent.a/tracker_list.o ./.libs/libtorrent.lax/libsub_torrentdata.a/block.o ./.libs/libtorrent.lax/libsub_torrentdata.a/block_list.o ./.libs/libtorrent.lax/libsub_torrentdata.a/chunk_utils.o ./.libs/libtorrent.lax/libsub_torrentdata.a/download_data.o ./.libs/libtorrent.lax/libsub_torrentdata.a/file.o ./.libs/libtorrent.lax/libsub_torrentdata.a/file_list.o ./.libs/libtorrent.lax/libsub_torrentdata.a/file_list_iterator.o ./.libs/libtorrent.lax/libsub_torrentdata.a/file_manager.o ./.libs/libtorrent.lax/libsub_torrentdata.a/file_utils.o ./.libs/libtorrent.lax/libsub_torrentdata.a/transfer_list.o ./.libs/libtorrent.lax/libsub_torrentdownload.a/choke_group.o ./.libs/libtorrent.lax/libsub_torrentdownload.a/choke_queue.o ./.libs/libtorrent.lax/libsub_torrentdownload.a/download_manager.o ./.libs/libtorrent.lax/libsub_torrentdownload.a/resource_manager.o ./.libs/libtorrent.lax/libsub_torrentpeer.a/client_info.o ./.libs/libtorrent.lax/libsub_torrentpeer.a/client_list.o ./.libs/libtorrent.lax/libsub_torrentpeer.a/connection_list.o ./.libs/libtorrent.lax/libsub_torrentpeer.a/peer.o ./.libs/libtorrent.lax/libsub_torrentpeer.a/peer_info.o ./.libs/libtorrent.lax/libsub_torrentpeer.a/peer_list.o ./.libs/libtorrent.lax/libsub_torrentutils.a/log.o ./.libs/libtorrent.lax/libsub_torrentutils.a/log_buffer.o ./.libs/libtorrent.lax/libsub_torrentutils.a/net.o ./.libs/libtorrent.lax/libsub_torrentutils.a/option_strings.o ./.libs/libtorrent.lax/libsub_torrentutils.a/resume.o ./.libs/libtorrent.lax/libsub_torrentutils.a/signal_bitfield.o ./.libs/libtorrent.lax/libsub_torrentutils.a/thread_base.o ./.libs/libtorrent.lax/libsub_torrentutils.a/thread_interrupt.o ./.libs/libtorrent.lax/libsub_data.a/chunk.o ./.libs/libtorrent.lax/libsub_data.a/chunk_list.o ./.libs/libtorrent.lax/libsub_data.a/chunk_part.o ./.libs/libtorrent.lax/libsub_data.a/hash_check_queue.o ./.libs/libtorrent.lax/libsub_data.a/hash_chunk.o ./.libs/libtorrent.lax/libsub_data.a/hash_queue.o ./.libs/libtorrent.lax/libsub_data.a/hash_queue_node.o ./.libs/libtorrent.lax/libsub_data.a/hash_torrent.o ./.libs/libtorrent.lax/libsub_data.a/memory_chunk.o ./.libs/libtorrent.lax/libsub_data.a/socket_file.o ./.libs/libtorrent.lax/libsub_dht.a/dht_bucket.o ./.libs/libtorrent.lax/libsub_dht.a/dht_node.o ./.libs/libtorrent.lax/libsub_dht.a/dht_router.o ./.libs/libtorrent.lax/libsub_dht.a/dht_server.o ./.libs/libtorrent.lax/libsub_dht.a/dht_tracker.o ./.libs/libtorrent.lax/libsub_dht.a/dht_transaction.o ./.libs/libtorrent.lax/libsub_download.a/available_list.o ./.libs/libtorrent.lax/libsub_download.a/chunk_selector.o ./.libs/libtorrent.lax/libsub_download.a/chunk_statistics.o ./.libs/libtorrent.lax/libsub_download.a/delegator.o ./.libs/libtorrent.lax/libsub_download.a/download_constructor.o ./.libs/libtorrent.lax/libsub_download.a/download_main.o ./.libs/libtorrent.lax/libsub_download.a/download_wrapper.o ./.libs/libtorrent.lax/libsub_net.a/address_list.o ./.libs/libtorrent.lax/libsub_net.a/listen.o ./.libs/libtorrent.lax/libsub_net.a/socket_base.o ./.libs/libtorrent.lax/libsub_net.a/socket_datagram.o ./.libs/libtorrent.lax/libsub_net.a/socket_fd.o ./.libs/libtorrent.lax/libsub_net.a/socket_set.o ./.libs/libtorrent.lax/libsub_net.a/socket_stream.o ./.libs/libtorrent.lax/libsub_net.a/throttle_internal.o ./.libs/libtorrent.lax/libsub_net.a/throttle_list.o ./.libs/libtorrent.lax/libsub_protocol.a/extensions.o ./.libs/libtorrent.lax/libsub_protocol.a/handshake.o ./.libs/libtorrent.lax/libsub_protocol.a/handshake_encryption.o ./.libs/libtorrent.lax/libsub_protocol.a/handshake_manager.o ./.libs/libtorrent.lax/libsub_protocol.a/initial_seed.o ./.libs/libtorrent.lax/libsub_protocol.a/peer_connection_base.o ./.libs/libtorrent.lax/libsub_protocol.a/peer_connection_leech.o ./.libs/libtorrent.lax/libsub_protocol.a/peer_connection_metadata.o ./.libs/libtorrent.lax/libsub_protocol.a/peer_factory.o ./.libs/libtorrent.lax/libsub_protocol.a/request_list.o ./.libs/libtorrent.lax/libsub_tracker.a/tracker_dht.o ./.libs/libtorrent.lax/libsub_tracker.a/tracker_http.o ./.libs/libtorrent.lax/libsub_tracker.a/tracker_udp.o ./.libs/libtorrent.lax/libsub_utils.a/diffie_hellman.o ./.libs/libtorrent.lax/libsub_utils.a/instrumentation.o ./.libs/libtorrent.lax/libsub_utils.a/sha_fast.o globals.o manager.o thread_disk.o thread_main.o libtool: link: ranlib .libs/libtorrent.a Making all in test >>> Running fake in net/libtorrent at 1713853410.00 ===> net/libtorrent ===> Faking installation for libtorrent-0.13.6p9v0 Making install in src Making install in torrent Making install in data mkdir -p '/exopi-obj/pobj/libtorrent-0.13.6/fake-amd64/usr/local/include/torrent/data' /exopi-obj/pobj/libtorrent-0.13.6/bin/install -c -m 644 block.h block_list.h block_transfer.h chunk_utils.h download_data.h file.h file_list.h file_list_iterator.h file_manager.h file_utils.h piece.h transfer_list.h '/exopi-obj/pobj/libtorrent-0.13.6/fake-amd64/usr/local/include/torrent/data' Making install in download mkdir -p '/exopi-obj/pobj/libtorrent-0.13.6/fake-amd64/usr/local/include/torrent/download' /exopi-obj/pobj/libtorrent-0.13.6/bin/install -c -m 644 choke_group.h choke_queue.h download_manager.h group_entry.h resource_manager.h '/exopi-obj/pobj/libtorrent-0.13.6/fake-amd64/usr/local/include/torrent/download' Making install in peer mkdir -p '/exopi-obj/pobj/libtorrent-0.13.6/fake-amd64/usr/local/include/torrent/peer' /exopi-obj/pobj/libtorrent-0.13.6/bin/install -c -m 644 choke_status.h client_info.h client_list.h connection_list.h peer.h peer_info.h peer_list.h '/exopi-obj/pobj/libtorrent-0.13.6/fake-amd64/usr/local/include/torrent/peer' Making install in utils mkdir -p '/exopi-obj/pobj/libtorrent-0.13.6/fake-amd64/usr/local/include/torrent/utils' /exopi-obj/pobj/libtorrent-0.13.6/bin/install -c -m 644 extents.h log.h log_buffer.h net.h option_strings.h ranges.h resume.h signal_bitfield.h thread_base.h thread_interrupt.h '/exopi-obj/pobj/libtorrent-0.13.6/fake-amd64/usr/local/include/torrent/utils' mkdir -p '/exopi-obj/pobj/libtorrent-0.13.6/fake-amd64/usr/local/include/torrent' /exopi-obj/pobj/libtorrent-0.13.6/bin/install -c -m 644 bitfield.h chunk_manager.h common.h connection_manager.h dht_manager.h download.h download_info.h error.h exceptions.h event.h hash_string.h http.h object.h object_raw_bencode.h object_static_map.h object_stream.h path.h poll.h poll_epoll.h poll_kqueue.h poll_select.h rate.h throttle.h torrent.h tracker.h tracker_controller.h tracker_list.h '/exopi-obj/pobj/libtorrent-0.13.6/fake-amd64/usr/local/include/torrent' Making install in data Making install in dht Making install in download Making install in net Making install in protocol Making install in tracker Making install in utils mkdir -p '/exopi-obj/pobj/libtorrent-0.13.6/fake-amd64/usr/local/lib' /usr/bin/libtool --mode=install /exopi-obj/pobj/libtorrent-0.13.6/bin/install -c libtorrent.la '/exopi-obj/pobj/libtorrent-0.13.6/fake-amd64/usr/local/lib' libtool: install: /exopi-obj/pobj/libtorrent-0.13.6/bin/install -c -m 644 ./.libs/libtorrent.a /exopi-obj/pobj/libtorrent-0.13.6/fake-amd64/usr/local/lib/libtorrent.a libtool: install: /exopi-obj/pobj/libtorrent-0.13.6/bin/install -c -m 644 ./.libs/libtorrent.so.22.1 /exopi-obj/pobj/libtorrent-0.13.6/fake-amd64/usr/local/lib/libtorrent.so.22.1 libtool: install: /exopi-obj/pobj/libtorrent-0.13.6/bin/install -c -m 644 ./.libs/libtorrent.lai /exopi-obj/pobj/libtorrent-0.13.6/fake-amd64/usr/local/lib/libtorrent.la Making install in test mkdir -p '/exopi-obj/pobj/libtorrent-0.13.6/fake-amd64/usr/local/lib/pkgconfig' /exopi-obj/pobj/libtorrent-0.13.6/bin/install -c -m 644 libtorrent.pc '/exopi-obj/pobj/libtorrent-0.13.6/fake-amd64/usr/local/lib/pkgconfig' >>> Running package in net/libtorrent at 1713853413.08 ===> net/libtorrent `/exopi-obj/pobj/libtorrent-0.13.6/fake-amd64/.fake_done' is up to date. Reading existing plist for libtorrent-0.13.6p9v0 Writing /exopi-obj/pobj/libtorrent-0.13.6/fake-amd64/debug-pkg/Makefile.new Writing /exopi-obj/pobj/libtorrent-0.13.6/fake-amd64/debug-pkg/PLIST Renaming /exopi-obj/pobj/libtorrent-0.13.6/fake-amd64/debug-pkg/Makefile.new to Makefile > Extracting debug info from /exopi-obj/pobj/libtorrent-0.13.6/fake-amd64/usr/local/lib/libtorrent.so.22.1 ===> Building package for libtorrent-0.13.6p9v0 Create /exopi-cvs/ports/packages/amd64/all/libtorrent-0.13.6p9v0.tgz Creating package libtorrent-0.13.6p9v0 reading plist| checking dependencies| checksumming| checksumming| | 0% checksumming|* | 1% checksumming|* | 2% checksumming|** | 4% checksumming|*** | 5% checksumming|**** | 6% checksumming|**** | 7% checksumming|***** | 8% checksumming|****** | 10% checksumming|******* | 11% checksumming|******* | 12% checksumming|******** | 13% checksumming|********* | 14% checksumming|********** | 16% checksumming|********** | 17% checksumming|*********** | 18% checksumming|************ | 19% checksumming|************ | 20% checksumming|************* | 22% checksumming|************** | 23% checksumming|*************** | 24% checksumming|*************** | 25% checksumming|**************** | 27% checksumming|***************** | 28% checksumming|****************** | 29% checksumming|****************** | 30% checksumming|******************* | 31% checksumming|******************** | 33% checksumming|********************* | 34% checksumming|********************* | 35% checksumming|********************** | 36% checksumming|*********************** | 37% checksumming|************************ | 39% checksumming|************************ | 40% checksumming|************************* | 41% checksumming|************************** | 42% checksumming|************************** | 43% checksumming|*************************** | 45% checksumming|**************************** | 46% checksumming|***************************** | 47% checksumming|***************************** | 48% checksumming|****************************** | 49% checksumming|******************************* | 51% checksumming|******************************** | 52% checksumming|******************************** | 53% checksumming|********************************* | 54% checksumming|********************************** | 55% checksumming|*********************************** | 57% checksumming|*********************************** | 58% checksumming|************************************ | 59% checksumming|************************************* | 60% checksumming|************************************* | 61% checksumming|************************************** | 63% checksumming|*************************************** | 64% checksumming|**************************************** | 65% checksumming|**************************************** | 66% checksumming|***************************************** | 67% checksumming|****************************************** | 69% checksumming|******************************************* | 70% checksumming|******************************************* | 71% checksumming|******************************************** | 72% checksumming|********************************************* | 73% checksumming|********************************************** | 75% checksumming|********************************************** | 76% checksumming|*********************************************** | 77% checksumming|************************************************ | 78% checksumming|************************************************* | 80% checksumming|************************************************* | 81% checksumming|************************************************** | 82% checksumming|*************************************************** | 83% checksumming|*************************************************** | 84% checksumming|**************************************************** | 86% checksumming|***************************************************** | 87% checksumming|****************************************************** | 88% checksumming|****************************************************** | 89% checksumming|******************************************************* | 90% checksumming|******************************************************** | 92% checksumming|********************************************************* | 93% checksumming|********************************************************* | 94% checksumming|********************************************************** | 95% checksumming|*********************************************************** | 96% checksumming|************************************************************ | 98% checksumming|************************************************************ | 99% checksumming|*************************************************************|100% archiving| archiving| | 0% archiving|** | 4% archiving|****** | 9% archiving|********* | 14% archiving|************* | 20% archiving|**************** | 25% archiving|******************* | 30% archiving|*********************** | 36% archiving|************************** | 41% archiving|****************************** | 47% archiving|********************************* | 52% archiving|************************************* | 57% archiving|**************************************** | 63% archiving|******************************************** | 68% archiving|*********************************************** | 73% archiving|************************************************** | 79% archiving|****************************************************** | 84% archiving|********************************************************* | 89% archiving|************************************************************* | 95% archiving|*************************************************************** | 99% archiving|****************************************************************| 99% archiving|****************************************************************|100% Creating package debug-libtorrent-0.13.6p9v0 reading plist| checking dependencies| checking dependencies|net/libtorrent checksumming| checksumming| | 0% checksumming|**** | 6% checksumming|******** | 13% checksumming|*********** | 19% checksumming|*************** | 25% checksumming|******************* | 31% checksumming|*********************** | 38% checksumming|*************************** | 44% checksumming|******************************* | 50% checksumming|********************************** | 56% checksumming|************************************** | 63% checksumming|****************************************** | 69% checksumming|********************************************** | 75% checksumming|************************************************** | 81% checksumming|***************************************************** | 88% checksumming|********************************************************* | 94% checksumming|*************************************************************|100% archiving| archiving| | 0% archiving|*********** | 17% archiving|********************* | 33% archiving|******************************** | 50% archiving|******************************************* | 67% archiving|****************************************************** | 84% archiving|****************************************************************|100% Link to /exopi-cvs/ports/packages/amd64/ftp/libtorrent-0.13.6p9v0.tgz Link to /exopi-cvs/ports/packages/amd64/ftp/debug-libtorrent-0.13.6p9v0.tgz >>> Running clean in net/libtorrent at 1713853422.69 ===> net/libtorrent ===> Cleaning for libtorrent-0.13.6p9v0 >>> Ended at 1713853423.34 max_stuck=4.70/depends=4.82/show-prepare-results=1.19/patch=0.94/configure=27.37/build=485.17/fake=3.08/package=9.60/clean=0.68