Uploaded image for project: 'Mesos'
  1. Mesos
  2. MESOS-3799

Compilation warning with Ubuntu wily: auto_ptr is deprecated

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 0.27.0
    • None
    • Mesosphere Sprint 24

    Description

      Variants of this message are printed many times during compilation (Wily on AMD64):

        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;
                                  ^
      

      Attachments

        Issue Links

          Activity

            People

              neilc Neil Conway
              neilc Neil Conway
              Joris Van Remoortere Joris Van Remoortere
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: