Boost C++ Libraries: Ticket #11411: Deprecated std::... in get_pointer.hpp https://svn.boost.org/trac10/ticket/11411 <p> With g++-mp-5 (<a class="missing wiki">MacPorts</a> gcc5 5.1.0_1) 5.1.0: </p> <p> In file included from .../include/boost/bind/mem_fn.hpp:25:0, </p> <blockquote> <p> from .../include/boost/mem_fn.hpp:22, from .../include/boost/function/detail/prologue.hpp:18, from .../include/boost/function/function_template.hpp:13, from .../include/boost/function/detail/maybe_include.hpp:18, from .../include/boost/function/function1.hpp:11, </p> </blockquote> <p> ... </p> <p> .../include/boost/get_pointer.hpp:27:40: warning: 'template&lt;class&gt; class std::auto_ptr' is deprecated [-Wdeprecated-declarations] </p> <blockquote> <p> template&lt;class T&gt; T * get_pointer(std::auto_ptr&lt;T&gt; const&amp; p) </p> </blockquote> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/11411 Trac 1.4.3 pavel.odintsov@… Wed, 12 Aug 2015 08:02:16 GMT <link>https://svn.boost.org/trac10/ticket/11411#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/11411#comment:1</guid> <description> <p> Hello, folks! </p> <p> I have same issue with gcc 5.2: </p> <p> In file included from /opt/boost_1_58_0/boost/smart_ptr/shared_ptr.hpp:28:0, </p> <blockquote> <p> from /opt/boost_1_58_0/boost/shared_ptr.hpp:17, from /opt/boost_1_58_0/boost/date_time/time_clock.hpp:17, from /opt/boost_1_58_0/boost/thread/thread_time.hpp:9, from /opt/boost_1_58_0/boost/thread/lock_types.hpp:18, from /opt/boost_1_58_0/boost/thread/pthread/thread_data.hpp:12, from /opt/boost_1_58_0/boost/thread/thread_only.hpp:17, from /opt/boost_1_58_0/boost/thread/thread.hpp:12, from /opt/boost_1_58_0/boost/thread.hpp:13, from /usr/src/fastnetmon/src/fast_library.h:16, from /usr/src/fastnetmon/src/fast_library.cpp:3: </p> </blockquote> <p> /opt/boost_1_58_0/boost/smart_ptr/detail/shared_count.hpp:395:33: warning: ‘template&lt;class&gt; class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] </p> <blockquote> <p> explicit shared_count( std::auto_ptr&lt;Y&gt; &amp; r ): pi_( new sp_counted_impl_p&lt;Y&gt;( r.get() ) ) </p> <blockquote> <p> <sup> </sup></p> </blockquote> </blockquote> <p> In file included from /opt/gcc520/include/c++/5.2.0/memory:81:0, </p> <blockquote> <p> from /opt/boost_1_58_0/boost/config/no_tr1/memory.hpp:21, from /opt/boost_1_58_0/boost/smart_ptr/shared_ptr.hpp:23, from /opt/boost_1_58_0/boost/shared_ptr.hpp:17, from /opt/boost_1_58_0/boost/date_time/time_clock.hpp:17, from /opt/boost_1_58_0/boost/thread/thread_time.hpp:9, from /opt/boost_1_58_0/boost/thread/lock_types.hpp:18, from /opt/boost_1_58_0/boost/thread/pthread/thread_data.hpp:12, from /opt/boost_1_58_0/boost/thread/thread_only.hpp:17, from /opt/boost_1_58_0/boost/thread/thread.hpp:12, from /opt/boost_1_58_0/boost/thread.hpp:13, from /usr/src/fastnetmon/src/fast_library.h:16, from /usr/src/fastnetmon/src/fast_library.cpp:3: </p> </blockquote> <p> /opt/gcc520/include/c++/5.2.0/bits/unique_ptr.h:49:28: note: declared here </p> <blockquote> <p> template&lt;typename&gt; class auto_ptr; </p> <blockquote> <p> <sup> </sup></p> </blockquote> </blockquote> <p> In file included from /opt/boost_1_58_0/boost/shared_ptr.hpp:17:0, </p> <blockquote> <p> from /opt/boost_1_58_0/boost/date_time/time_clock.hpp:17, from /opt/boost_1_58_0/boost/thread/thread_time.hpp:9, from /opt/boost_1_58_0/boost/thread/lock_types.hpp:18, from /opt/boost_1_58_0/boost/thread/pthread/thread_data.hpp:12, from /opt/boost_1_58_0/boost/thread/thread_only.hpp:17, from /opt/boost_1_58_0/boost/thread/thread.hpp:12, from /opt/boost_1_58_0/boost/thread.hpp:13, from /usr/src/fastnetmon/src/fast_library.h:16, from /usr/src/fastnetmon/src/fast_library.cpp:3: </p> </blockquote> <p> /opt/boost_1_58_0/boost/smart_ptr/shared_ptr.hpp:242:65: warning: ‘template&lt;class&gt; class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] </p> <blockquote> <p> template&lt; class T, class R &gt; struct sp_enable_if_auto_ptr&lt; std::auto_ptr&lt; T &gt;, R &gt; </p> <blockquote> <p> <sup> </sup></p> </blockquote> </blockquote> <p> In file included from /opt/gcc520/include/c++/5.2.0/memory:81:0, </p> <blockquote> <p> from /opt/boost_1_58_0/boost/config/no_tr1/memory.hpp:21, from /opt/boost_1_58_0/boost/smart_ptr/shared_ptr.hpp:23, from /opt/boost_1_58_0/boost/shared_ptr.hpp:17, from /opt/boost_1_58_0/boost/date_time/time_clock.hpp:17, from /opt/boost_1_58_0/boost/thread/thread_time.hpp:9, from /opt/boost_1_58_0/boost/thread/lock_types.hpp:18, from /opt/boost_1_58_0/boost/thread/pthread/thread_data.hpp:12, from /opt/boost_1_58_0/boost/thread/thread_only.hpp:17, from /opt/boost_1_58_0/boost/thread/thread.hpp:12, from /opt/boost_1_58_0/boost/thread.hpp:13, from /usr/src/fastnetmon/src/fast_library.h:16, from /usr/src/fastnetmon/src/fast_library.cpp:3: </p> </blockquote> <p> /opt/gcc520/include/c++/5.2.0/bits/unique_ptr.h:49:28: note: declared here </p> <blockquote> <p> template&lt;typename&gt; class auto_ptr; </p> <blockquote> <p> <sup> </sup></p> </blockquote> </blockquote> <p> In file included from /opt/boost_1_58_0/boost/shared_ptr.hpp:17:0, </p> <blockquote> <p> from /opt/boost_1_58_0/boost/date_time/time_clock.hpp:17, from /opt/boost_1_58_0/boost/thread/thread_time.hpp:9, from /opt/boost_1_58_0/boost/thread/lock_types.hpp:18, from /opt/boost_1_58_0/boost/thread/pthread/thread_data.hpp:12, from /opt/boost_1_58_0/boost/thread/thread_only.hpp:17, from /opt/boost_1_58_0/boost/thread/thread.hpp:12, from /opt/boost_1_58_0/boost/thread.hpp:13, from /usr/src/fastnetmon/src/fast_library.h:16, from /usr/src/fastnetmon/src/fast_library.cpp:3: </p> </blockquote> <p> /opt/boost_1_58_0/boost/smart_ptr/shared_ptr.hpp:441:31: warning: ‘template&lt;class&gt; class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] </p> <blockquote> <p> explicit shared_ptr( std::auto_ptr&lt;Y&gt; &amp; r ): px(r.get()), pn() </p> <blockquote> <p> <sup> </sup></p> </blockquote> </blockquote> <p> In file included from /opt/gcc520/include/c++/5.2.0/memory:81:0, </p> <blockquote> <p> from /opt/boost_1_58_0/boost/config/no_tr1/memory.hpp:21, from /opt/boost_1_58_0/boost/smart_ptr/shared_ptr.hpp:23, from /opt/boost_1_58_0/boost/shared_ptr.hpp:17, from /opt/boost_1_58_0/boost/date_time/time_clock.hpp:17, from /opt/boost_1_58_0/boost/thread/thread_time.hpp:9, from /opt/boost_1_58_0/boost/thread/lock_types.hpp:18, from /opt/boost_1_58_0/boost/thread/pthread/thread_data.hpp:12, from /opt/boost_1_58_0/boost/thread/thread_only.hpp:17, from /opt/boost_1_58_0/boost/thread/thread.hpp:12, from /opt/boost_1_58_0/boost/thread.hpp:13, from /usr/src/fastnetmon/src/fast_library.h:16, from /usr/src/fastnetmon/src/fast_library.cpp:3: </p> </blockquote> <p> /opt/gcc520/include/c++/5.2.0/bits/unique_ptr.h:49:28: note: declared here </p> <blockquote> <p> template&lt;typename&gt; class auto_ptr; </p> <blockquote> <p> <sup> </sup></p> </blockquote> </blockquote> <p> In file included from /opt/boost_1_58_0/boost/shared_ptr.hpp:17:0, </p> <blockquote> <p> from /opt/boost_1_58_0/boost/date_time/time_clock.hpp:17, from /opt/boost_1_58_0/boost/thread/thread_time.hpp:9, from /opt/boost_1_58_0/boost/thread/lock_types.hpp:18, from /opt/boost_1_58_0/boost/thread/pthread/thread_data.hpp:12, from /opt/boost_1_58_0/boost/thread/thread_only.hpp:17, from /opt/boost_1_58_0/boost/thread/thread.hpp:12, from /opt/boost_1_58_0/boost/thread.hpp:13, from /usr/src/fastnetmon/src/fast_library.h:16, from /usr/src/fastnetmon/src/fast_library.cpp:3: </p> </blockquote> <p> /opt/boost_1_58_0/boost/smart_ptr/shared_ptr.hpp:454:22: warning: ‘template&lt;class&gt; class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] </p> <blockquote> <p> shared_ptr( std::auto_ptr&lt;Y&gt; &amp;&amp; r ): px(r.get()), pn() </p> <blockquote> <p> <sup> </sup></p> </blockquote> </blockquote> <p> In file included from /opt/gcc520/include/c++/5.2.0/memory:81:0, </p> <blockquote> <p> from /opt/boost_1_58_0/boost/config/no_tr1/memory.hpp:21, from /opt/boost_1_58_0/boost/smart_ptr/shared_ptr.hpp:23, from /opt/boost_1_58_0/boost/shared_ptr.hpp:17, from /opt/boost_1_58_0/boost/date_time/time_clock.hpp:17, from /opt/boost_1_58_0/boost/thread/thread_time.hpp:9, from /opt/boost_1_58_0/boost/thread/lock_types.hpp:18, from /opt/boost_1_58_0/boost/thread/pthread/thread_data.hpp:12, from /opt/boost_1_58_0/boost/thread/thread_only.hpp:17, from /opt/boost_1_58_0/boost/thread/thread.hpp:12, from /opt/boost_1_58_0/boost/thread.hpp:13, from /usr/src/fastnetmon/src/fast_library.h:16, from /usr/src/fastnetmon/src/fast_library.cpp:3: </p> </blockquote> <p> /opt/gcc520/include/c++/5.2.0/bits/unique_ptr.h:49:28: note: declared here </p> <blockquote> <p> template&lt;typename&gt; class auto_ptr; </p> <blockquote> <p> <sup> </sup></p> </blockquote> </blockquote> <p> In file included from /opt/boost_1_58_0/boost/shared_ptr.hpp:17:0, </p> <blockquote> <p> from /opt/boost_1_58_0/boost/date_time/time_clock.hpp:17, from /opt/boost_1_58_0/boost/thread/thread_time.hpp:9, from /opt/boost_1_58_0/boost/thread/lock_types.hpp:18, from /opt/boost_1_58_0/boost/thread/pthread/thread_data.hpp:12, from /opt/boost_1_58_0/boost/thread/thread_only.hpp:17, from /opt/boost_1_58_0/boost/thread/thread.hpp:12, from /opt/boost_1_58_0/boost/thread.hpp:13, from /usr/src/fastnetmon/src/fast_library.h:16, from /usr/src/fastnetmon/src/fast_library.cpp:3: </p> </blockquote> <p> /opt/boost_1_58_0/boost/smart_ptr/shared_ptr.hpp:520:34: warning: ‘template&lt;class&gt; class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] </p> <blockquote> <p> shared_ptr &amp; operator=( std::auto_ptr&lt;Y&gt; &amp; r ) </p> <blockquote> <p> <sup> </sup></p> </blockquote> </blockquote> <p> In file included from /opt/gcc520/include/c++/5.2.0/memory:81:0, </p> <blockquote> <p> from /opt/boost_1_58_0/boost/config/no_tr1/memory.hpp:21, from /opt/boost_1_58_0/boost/smart_ptr/shared_ptr.hpp:23, from /opt/boost_1_58_0/boost/shared_ptr.hpp:17, from /opt/boost_1_58_0/boost/date_time/time_clock.hpp:17, from /opt/boost_1_58_0/boost/thread/thread_time.hpp:9, from /opt/boost_1_58_0/boost/thread/lock_types.hpp:18, from /opt/boost_1_58_0/boost/thread/pthread/thread_data.hpp:12, from /opt/boost_1_58_0/boost/thread/thread_only.hpp:17, from /opt/boost_1_58_0/boost/thread/thread.hpp:12, from /opt/boost_1_58_0/boost/thread.hpp:13, from /usr/src/fastnetmon/src/fast_library.h:16, from /usr/src/fastnetmon/src/fast_library.cpp:3: </p> </blockquote> <p> /opt/gcc520/include/c++/5.2.0/bits/unique_ptr.h:49:28: note: declared here </p> <blockquote> <p> template&lt;typename&gt; class auto_ptr; </p> <blockquote> <p> <sup> </sup></p> </blockquote> </blockquote> <p> In file included from /opt/boost_1_58_0/boost/shared_ptr.hpp:17:0, </p> <blockquote> <p> from /opt/boost_1_58_0/boost/date_time/time_clock.hpp:17, from /opt/boost_1_58_0/boost/thread/thread_time.hpp:9, from /opt/boost_1_58_0/boost/thread/lock_types.hpp:18, from /opt/boost_1_58_0/boost/thread/pthread/thread_data.hpp:12, from /opt/boost_1_58_0/boost/thread/thread_only.hpp:17, from /opt/boost_1_58_0/boost/thread/thread.hpp:12, from /opt/boost_1_58_0/boost/thread.hpp:13, from /usr/src/fastnetmon/src/fast_library.h:16, from /usr/src/fastnetmon/src/fast_library.cpp:3: </p> </blockquote> <p> /opt/boost_1_58_0/boost/smart_ptr/shared_ptr.hpp:529:34: warning: ‘template&lt;class&gt; class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] </p> <blockquote> <p> shared_ptr &amp; operator=( std::auto_ptr&lt;Y&gt; &amp;&amp; r ) </p> <blockquote> <p> <sup> </sup></p> </blockquote> </blockquote> <p> In file included from /opt/gcc520/include/c++/5.2.0/memory:81:0, </p> <blockquote> <p> from /opt/boost_1_58_0/boost/config/no_tr1/memory.hpp:21, from /opt/boost_1_58_0/boost/smart_ptr/shared_ptr.hpp:23, from /opt/boost_1_58_0/boost/shared_ptr.hpp:17, from /opt/boost_1_58_0/boost/date_time/time_clock.hpp:17, from /opt/boost_1_58_0/boost/thread/thread_time.hpp:9, from /opt/boost_1_58_0/boost/thread/lock_types.hpp:18, from /opt/boost_1_58_0/boost/thread/pthread/thread_data.hpp:12, from /opt/boost_1_58_0/boost/thread/thread_only.hpp:17, from /opt/boost_1_58_0/boost/thread/thread.hpp:12, from /opt/boost_1_58_0/boost/thread.hpp:13, from /usr/src/fastnetmon/src/fast_library.h:16, from /usr/src/fastnetmon/src/fast_library.cpp:3: </p> </blockquote> <p> /opt/gcc520/include/c++/5.2.0/bits/unique_ptr.h:49:28: note: declared here </p> <blockquote> <p> template&lt;typename&gt; class auto_ptr; </p> <blockquote> <p> <sup> </sup></p> </blockquote> </blockquote> <p> In file included from /opt/boost_1_58_0/boost/shared_ptr.hpp:17:0, </p> <blockquote> <p> from /opt/boost_1_58_0/boost/date_time/time_clock.hpp:17, from /opt/boost_1_58_0/boost/thread/thread_time.hpp:9, from /opt/boost_1_58_0/boost/thread/lock_types.hpp:18, from /opt/boost_1_58_0/boost/thread/pthread/thread_data.hpp:12, from /opt/boost_1_58_0/boost/thread/thread_only.hpp:17, from /opt/boost_1_58_0/boost/thread/thread.hpp:12, from /opt/boost_1_58_0/boost/thread.hpp:13, from /usr/src/fastnetmon/src/fast_library.h:16, from /usr/src/fastnetmon/src/fast_library.cpp:3: </p> </blockquote> <p> /opt/boost_1_58_0/boost/smart_ptr/shared_ptr.hpp: In member function ‘boost::shared_ptr&lt;T&gt;&amp; boost::shared_ptr&lt;T&gt;::operator=(std::auto_ptr&lt;_Up&gt;&amp;&amp;)’: /opt/boost_1_58_0/boost/smart_ptr/shared_ptr.hpp:531:38: warning: ‘template&lt;class&gt; class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] </p> <blockquote> <p> this_type( static_cast&lt; std::auto_ptr&lt;Y&gt; &amp;&amp; &gt;( r ) ).swap( *this ); </p> <blockquote> <p> <sup> </sup></p> </blockquote> </blockquote> <p> In file included from /opt/gcc520/include/c++/5.2.0/memory:81:0, </p> <blockquote> <p> from /opt/boost_1_58_0/boost/config/no_tr1/memory.hpp:21, from /opt/boost_1_58_0/boost/smart_ptr/shared_ptr.hpp:23, from /opt/boost_1_58_0/boost/shared_ptr.hpp:17, from /opt/boost_1_58_0/boost/date_time/time_clock.hpp:17, from /opt/boost_1_58_0/boost/thread/thread_time.hpp:9, from /opt/boost_1_58_0/boost/thread/lock_types.hpp:18, from /opt/boost_1_58_0/boost/thread/pthread/thread_data.hpp:12, from /opt/boost_1_58_0/boost/thread/thread_only.hpp:17, from /opt/boost_1_58_0/boost/thread/thread.hpp:12, from /opt/boost_1_58_0/boost/thread.hpp:13, from /usr/src/fastnetmon/src/fast_library.h:16, from /usr/src/fastnetmon/src/fast_library.cpp:3: </p> </blockquote> <p> /opt/gcc520/include/c++/5.2.0/bits/unique_ptr.h:49:28: note: declared here </p> <blockquote> <p> template&lt;typename&gt; class auto_ptr; </p> <blockquote> <p> <sup> </sup></p> </blockquote> </blockquote> <p> In file included from /opt/boost_1_58_0/boost/bind/mem_fn.hpp:25:0, </p> <blockquote> <p> from /opt/boost_1_58_0/boost/mem_fn.hpp:22, from /opt/boost_1_58_0/boost/bind/bind.hpp:26, from /opt/boost_1_58_0/boost/bind.hpp:22, from /opt/boost_1_58_0/boost/thread/detail/thread.hpp:30, from /opt/boost_1_58_0/boost/thread/thread_only.hpp:22, from /opt/boost_1_58_0/boost/thread/thread.hpp:12, from /opt/boost_1_58_0/boost/thread.hpp:13, from /usr/src/fastnetmon/src/fast_library.h:16, from /usr/src/fastnetmon/src/fast_library.cpp:3: </p> </blockquote> <p> /opt/boost_1_58_0/boost/get_pointer.hpp: At global scope: /opt/boost_1_58_0/boost/get_pointer.hpp:27:40: warning: ‘template&lt;class&gt; class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] </p> <blockquote> <p> template&lt;class T&gt; T * get_pointer(std::auto_ptr&lt;T&gt; const&amp; p) </p> <blockquote> <p> <sup> </sup></p> </blockquote> </blockquote> <p> In file included from /opt/gcc520/include/c++/5.2.0/memory:81:0, </p> <blockquote> <p> from /opt/boost_1_58_0/boost/config/no_tr1/memory.hpp:21, from /opt/boost_1_58_0/boost/smart_ptr/shared_ptr.hpp:23, from /opt/boost_1_58_0/boost/shared_ptr.hpp:17, from /opt/boost_1_58_0/boost/date_time/time_clock.hpp:17, from /opt/boost_1_58_0/boost/thread/thread_time.hpp:9, from /opt/boost_1_58_0/boost/thread/lock_types.hpp:18, from /opt/boost_1_58_0/boost/thread/pthread/thread_data.hpp:12, from /opt/boost_1_58_0/boost/thread/thread_only.hpp:17, from /opt/boost_1_58_0/boost/thread/thread.hpp:12, from /opt/boost_1_58_0/boost/thread.hpp:13, from /usr/src/fastnetmon/src/fast_library.h:16, from /usr/src/fastnetmon/src/fast_library.cpp:3: </p> </blockquote> <p> /opt/gcc520/include/c++/5.2.0/bits/unique_ptr.h:49:28: note: declared here </p> <blockquote> <p> template&lt;typename&gt; class auto_ptr; </p> <blockquote> <p> <sup> </sup></p> </blockquote> </blockquote> <p> In file included from /opt/boost_1_58_0/boost/thread/thread.hpp:13:0, </p> <blockquote> <p> from /opt/boost_1_58_0/boost/thread.hpp:13, from /usr/src/fastnetmon/src/fast_library.h:16, from /usr/src/fastnetmon/src/fast_library.cpp:3: </p> </blockquote> <p> /opt/boost_1_58_0/boost/thread/detail/thread_group.hpp: In member function ‘boost::thread* boost::thread_group::create_thread(F)’: /opt/boost_1_58_0/boost/thread/detail/thread_group.hpp:78:18: warning: ‘template&lt;class&gt; class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] </p> <blockquote> <p> std::auto_ptr&lt;thread&gt; new_thread(new thread(threadfunc)); </p> <blockquote> <p> <sup> </sup></p> </blockquote> </blockquote> <p> In file included from /opt/gcc520/include/c++/5.2.0/memory:81:0, </p> <blockquote> <p> from /opt/boost_1_58_0/boost/config/no_tr1/memory.hpp:21, from /opt/boost_1_58_0/boost/smart_ptr/shared_ptr.hpp:23, from /opt/boost_1_58_0/boost/shared_ptr.hpp:17, from /opt/boost_1_58_0/boost/date_time/time_clock.hpp:17, from /opt/boost_1_58_0/boost/thread/thread_time.hpp:9, from /opt/boost_1_58_0/boost/thread/lock_types.hpp:18, from /opt/boost_1_58_0/boost/thread/pthread/thread_data.hpp:12, from /opt/boost_1_58_0/boost/thread/thread_only.hpp:17, from /opt/boost_1_58_0/boost/thread/thread.hpp:12, from /opt/boost_1_58_0/boost/thread.hpp:13, from /usr/src/fastnetmon/src/fast_library.h:16, from /usr/src/fastnetmon/src/fast_library.cpp:3: </p> </blockquote> <p> /opt/gcc520/include/c++/5.2.0/bits/unique_ptr.h:49:28: note: declared here </p> <blockquote> <p> template&lt;typename&gt; class auto_ptr; </p> <blockquote> <p> <sup> </sup></p> </blockquote> </blockquote> <p> In file included from /opt/boost_1_58_0/boost/scoped_ptr.hpp:14:0, </p> <blockquote> <p> from /opt/boost_1_58_0/boost/regex/v4/regex_workaround.hpp:41, from /opt/boost_1_58_0/boost/regex/v4/regex.hpp:32, from /opt/boost_1_58_0/boost/regex.hpp:31, from /usr/src/fastnetmon/src/fast_library.h:18, from /usr/src/fastnetmon/src/fast_library.cpp:3: </p> </blockquote> <p> /opt/boost_1_58_0/boost/smart_ptr/scoped_ptr.hpp: At global scope: /opt/boost_1_58_0/boost/smart_ptr/scoped_ptr.hpp:68:31: warning: ‘template&lt;class&gt; class std::auto_ptr’ is deprecated [-Wdeprecated-declarations] </p> <blockquote> <p> explicit scoped_ptr( std::auto_ptr&lt;T&gt; p ) BOOST_NOEXCEPT : px( p.release() ) </p> <blockquote> <p> <sup> </sup></p> </blockquote> </blockquote> <p> In file included from /opt/gcc520/include/c++/5.2.0/memory:81:0, </p> <blockquote> <p> from /opt/boost_1_58_0/boost/config/no_tr1/memory.hpp:21, from /opt/boost_1_58_0/boost/smart_ptr/shared_ptr.hpp:23, from /opt/boost_1_58_0/boost/shared_ptr.hpp:17, from /opt/boost_1_58_0/boost/date_time/time_clock.hpp:17, from /opt/boost_1_58_0/boost/thread/thread_time.hpp:9, from /opt/boost_1_58_0/boost/thread/lock_types.hpp:18, from /opt/boost_1_58_0/boost/thread/pthread/thread_data.hpp:12, from /opt/boost_1_58_0/boost/thread/thread_only.hpp:17, from /opt/boost_1_58_0/boost/thread/thread.hpp:12, from /opt/boost_1_58_0/boost/thread.hpp:13, from /usr/src/fastnetmon/src/fast_library.h:16, from /usr/src/fastnetmon/src/fast_library.cpp:3: </p> </blockquote> <p> /opt/gcc520/include/c++/5.2.0/bits/unique_ptr.h:49:28: note: declared here </p> <blockquote> <p> template&lt;typename&gt; class auto_ptr; </p> <blockquote> <p> <sup> </sup></p> </blockquote> </blockquote> </description> <category>Ticket</category> </item> </channel> </rss>