You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Neil Conway (JIRA)" <ji...@apache.org> on 2015/12/04 01:52:10 UTC

[jira] [Updated] (MESOS-3799) Compilation warning with Ubuntu wily: auto_ptr is deprecated

     [ https://issues.apache.org/jira/browse/MESOS-3799?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Neil Conway updated MESOS-3799:
-------------------------------
    Shepherd: Joris Van Remoortere

> Compilation warning with Ubuntu wily: auto_ptr is deprecated
> ------------------------------------------------------------
>
>                 Key: MESOS-3799
>                 URL: https://issues.apache.org/jira/browse/MESOS-3799
>             Project: Mesos
>          Issue Type: Bug
>            Reporter: Neil Conway
>            Priority: Minor
>              Labels: mesosphere
>
> Variants of this message are printed many times during compilation (Wily on AMD64):
> {noformat}
>   CXX      libprocess_la-pid.lo
>   CXX      libprocess_la-poll_socket.lo
>   CXX      libprocess_la-profiler.lo
> In file included from /mesos/3rdparty/libprocess/3rdparty/stout/include/stout/hashmap.hpp:23:0,
>                  from /mesos/3rdparty/libprocess/3rdparty/stout/include/stout/stringify.hpp:26,
>                  from /mesos/3rdparty/libprocess/3rdparty/stout/include/stout/ip.hpp:59,
>                  from /mesos/3rdparty/libprocess/include/process/address.hpp:34,
>                  from /mesos/3rdparty/libprocess/include/process/pid.hpp:26,
>                  from /mesos/3rdparty/libprocess/src/pid.cpp:28:
> 3rdparty/boost-1.53.0/boost/get_pointer.hpp:27:40: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
>  template<class T> T * get_pointer(std::auto_ptr<T> const& p)
>                                         ^
> In file included from /usr/include/c++/5/memory:81:0,
>                  from 3rdparty/boost-1.53.0/boost/functional/hash/extensions.hpp:32,
>                  from 3rdparty/boost-1.53.0/boost/functional/hash/hash.hpp:529,
>                  from 3rdparty/boost-1.53.0/boost/functional/hash.hpp:6,
>                  from /mesos/3rdparty/libprocess/include/process/pid.hpp:24,
>                  from /mesos/3rdparty/libprocess/src/pid.cpp:28:
> /usr/include/c++/5/bits/unique_ptr.h:49:28: note: declared here
>    template<typename> class auto_ptr;
>                             ^
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)