mesos-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Neil Conway (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (MESOS-3799) Compilation warning with Ubuntu wily: auto_ptr is deprecated
Date Fri, 23 Oct 2015 21:51:27 GMT

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

Neil Conway updated MESOS-3799:
-------------------------------
    Labels: mesosphere  (was: )

> 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)

Mime
View raw message