Project: mesos
Issue MESOS-1459: Build failure: Ubuntu 13.10/clang due to missing virtual destructor
In file included from launcher/main.cpp:19: In file included from ./launcher/launcher.hpp:24: In file included from ../3rdparty/libprocess/include/process/future.hpp:23: ../3rdparty/libprocess/include/process/owned.hpp:188:5: error: delete called on 'mesos::internal::launcher::Operation' that is abstract but has non-virtual destructor [-Werror,-Wdelete-non-virtual-dtor] delete t; ^ /usr/bin/../lib/gcc/x86_64-linux-gnu/4.8/../../../../include/c++/4.8/bits/shared_ptr_base.h:456:8: note: in instantiation of member function 'process::Owned::Data::~Data' requested here delete __p; ^ /usr/bin/../lib/gcc/x86_64-linux-gnu/4.8/../../../../include/c++/4.8/bits/shared_ptr_base.h:768:24: note: in instantiation of function template specialization 'std::__shared_count<2>::__shared_count::Data *>' requested here : _M_ptr(__p), _M_refcount(__p) ^ /usr/bin/../lib/gcc/x86_64-linux-gnu/4.8/../../../../include/c++/4.8/bits/shared_ptr_base.h:919:4: note: in instantiation of function template specialization 'std::__shared_ptr::Data, 2>::__shared_ptr::Data>' requested here __shared_ptr(__p).swap(*this); ^ ../3rdparty/libprocess/include/process/owned.hpp:68:10: note: in instantiation of function template specialization 'std::__shared_ptr::Data, 2>::reset::Data>' requested here data.reset(new Data(t)); ^ ./launcher/launcher.hpp:101:7: note: in instantiation of member function 'process::Owned::Owned' requested here add(process::Owned(new T())); ^ launcher/main.cpp:26:3: note: in instantiation of function template specialization 'mesos::internal::launcher::add' requested here launcher::add(); ^ 1 error generated.
Story points: 1