Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- huhlig@mars:/opt/projects/Colony$ scons
- scons: Reading SConscript files ...
- scons: done reading SConscript files.
- scons: Building targets ...
- clang++ -o build/debug-drone-core/resman.o -c -fcolor-diagnostics -Werror -std=c++0x -g -O1 source/drone/core/resman.cpp
- In file included from source/drone/core/resman.cpp:5:
- In file included from /usr/include/boost/asio.hpp:50:
- In file included from /usr/include/boost/asio/ip/basic_resolver.hpp:24:
- In file included from /usr/include/boost/asio/ip/resolver_service.hpp:20:
- In file included from /usr/include/boost/asio/detail/resolver_service.hpp:21:
- /usr/include/boost/asio/detail/resolve_endpoint_op.hpp:48:7: error: call to deleted
- constructor of 'socket_ops::weak_cancel_token_type' (aka 'weak_ptr<void>')
- cancel_token_(cancel_token),
- ^ ~~~~~~~~~~~~
- /usr/include/boost/smart_ptr/weak_ptr.hpp:28:25: note: function has been explicitly
- marked deleted here
- template<class T> class weak_ptr
- ^
- In file included from source/drone/core/resman.cpp:5:
- In file included from /usr/include/boost/asio.hpp:50:
- In file included from /usr/include/boost/asio/ip/basic_resolver.hpp:24:
- In file included from /usr/include/boost/asio/ip/resolver_service.hpp:20:
- In file included from /usr/include/boost/asio/detail/resolver_service.hpp:22:
- /usr/include/boost/asio/detail/resolve_op.hpp:49:7: error: call to deleted constructor
- of 'socket_ops::weak_cancel_token_type' (aka 'weak_ptr<void>')
- cancel_token_(cancel_token),
- ^ ~~~~~~~~~~~~
- /usr/include/boost/smart_ptr/weak_ptr.hpp:28:25: note: function has been explicitly
- marked deleted here
- template<class T> class weak_ptr
- ^
- In file included from source/drone/core/resman.cpp:7:
- In file included from /usr/include/boost/thread.hpp:13:
- In file included from /usr/include/boost/thread/thread.hpp:17:
- /usr/include/boost/thread/pthread/thread_data.hpp:36:17: error: call to deleted
- constructor of 'boost::shared_ptr<boost::detail::tss_cleanup_function>'
- func(func_),value(value_)
- ^ ~~~~~
- /usr/include/boost/smart_ptr/shared_ptr.hpp:468:36: note: function has been explicitly
- marked deleted here
- template<class Y> friend class shared_ptr;
- ^
- In file included from source/drone/core/resman.cpp:7:
- In file included from /usr/include/boost/thread.hpp:13:
- In file included from /usr/include/boost/thread/thread.hpp:22:
- /usr/include/boost/thread/detail/thread.hpp:395:13: error: call to deleted constructor
- of 'detail::thread_data_ptr' (aka 'shared_ptr<boost::detail::thread_data_base>')
- thread_data(thread_data_)
- ^ ~~~~~~~~~~~~
- /usr/include/boost/smart_ptr/shared_ptr.hpp:468:36: note: function has been explicitly
- marked deleted here
- template<class Y> friend class shared_ptr;
- ^
- In file included from source/drone/core/resman.cpp:7:
- In file included from /usr/include/boost/thread.hpp:24:
- In file included from /usr/include/boost/thread/future.hpp:14:
- In file included from /usr/include/boost/exception_ptr.hpp:9:
- In file included from /usr/include/boost/exception/detail/exception_ptr.hpp:19:
- /usr/include/boost/exception/info.hpp:101:28: error: call to deleted constructor of
- 'shared_ptr<boost::exception_detail::error_info_base>'
- return p;
- ^
- /usr/include/boost/exception/exception.hpp:137:11: note: function has been explicitly
- marked deleted here
- class shared_ptr;
- ^
- In file included from source/drone/core/resman.cpp:7:
- In file included from /usr/include/boost/thread.hpp:24:
- In file included from /usr/include/boost/thread/future.hpp:14:
- In file included from /usr/include/boost/exception_ptr.hpp:9:
- /usr/include/boost/exception/detail/exception_ptr.hpp:82:20: error: call to deleted
- constructor of 'exception_ptr' (aka 'shared_ptr<const
- exception_detail::clone_base>')
- return ep;
- ^~
- /usr/include/boost/smart_ptr/shared_ptr.hpp:468:36: note: function has been explicitly
- marked deleted here
- template<class Y> friend class shared_ptr;
- ^
- In file included from source/drone/core/resman.cpp:7:
- In file included from /usr/include/boost/thread.hpp:24:
- /usr/include/boost/thread/future.hpp:407:21: error: call to deleted constructor of
- 'boost::shared_ptr<detail::future_object_base>'
- future(future_),wait_iterator(wait_iterator_),index(index_)
- ^ ~~~~~~~
- /usr/include/boost/smart_ptr/shared_ptr.hpp:468:36: note: function has been explicitly
- marked deleted here
- template<class Y> friend class shared_ptr;
- ^
- In file included from source/drone/core/resman.cpp:7:
- In file included from /usr/include/boost/thread.hpp:24:
- /usr/include/boost/thread/future.hpp:1134:40: error: call to deleted constructor of
- 'future_ptr' (aka 'shared_ptr<detail::future_object<void> >')
- return unique_future<void>(future);
- ^~~~~~
- /usr/include/boost/smart_ptr/shared_ptr.hpp:468:36: note: function has been explicitly
- marked deleted here
- template<class Y> friend class shared_ptr;
- ^
- /usr/include/boost/thread/future.hpp:633:34: note: passing argument to parameter
- 'future_' here
- unique_future(future_ptr future_):
- ^
- source/drone/core/resman.cpp:26:13: error: no matching constructor for initialization of
- 'boost::asio::io_service::work'
- work( new boost::asio::io_service::work )
- ^
- /usr/include/boost/asio/impl/io_service.hpp:94:26: note: candidate constructor not
- viable: requires 1 argument, but 0 were provided
- inline io_service::work::work(boost::asio::io_service& io_service)
- ^
- /usr/include/boost/asio/impl/io_service.hpp:100:26: note: candidate constructor not
- viable: requires 1 argument, but 0 were provided
- inline io_service::work::work(const work& other)
- ^
- source/drone/core/resman.cpp:30:51: error: call to deleted constructor of
- 'boost::shared_ptr<boost::asio::io_service>'
- boost::bind(&boost::asio::io_service::run, io_service)
- ^~~~~~~~~~
- /usr/include/boost/smart_ptr/shared_ptr.hpp:468:36: note: function has been explicitly
- marked deleted here
- template<class Y> friend class shared_ptr;
- ^
- /usr/include/boost/bind/bind_mf_cc.hpp:20:50: note: passing argument to parameter 'a1'
- here
- BOOST_BIND(R (BOOST_BIND_MF_CC T::*f) (), A1 a1)
- ^
- source/drone/core/resman.cpp:39:14: error: no member named 'stop' in
- 'boost::shared_ptr<boost::asio::io_service>'
- io_service.stop();
- ~~~~~~~~~~ ^
- source/drone/core/resman.cpp:43:2: error: expected ';' after class
- }
- ^
- ;
- In file included from source/drone/core/resman.cpp:5:
- In file included from /usr/include/boost/asio.hpp:20:
- In file included from /usr/include/boost/asio/basic_datagram_socket.hpp:21:
- In file included from /usr/include/boost/asio/datagram_socket_service.hpp:26:
- In file included from /usr/include/boost/asio/detail/reactive_socket_service.hpp:30:
- In file included from /usr/include/boost/asio/detail/reactive_socket_accept_op.hpp:24:
- In file included from /usr/include/boost/asio/detail/socket_holder.hpp:20:
- In file included from /usr/include/boost/asio/detail/socket_ops.hpp:21:
- In file included from /usr/include/boost/asio/detail/shared_ptr.hpp:23:
- In file included from /usr/include/boost/shared_ptr.hpp:17:
- /usr/include/boost/smart_ptr/shared_ptr.hpp:305:9: error: functional-style cast from
- 'const boost::shared_ptr<boost::detail::thread_data_base>' to 'this_type' (aka
- 'shared_ptr<boost::detail::thread_data_base>') uses deleted function
- this_type(r).swap(*this);
- ^~~~~~~~~~~
- /usr/include/boost/thread/detail/thread.hpp:181:24: note: in instantiation of member
- function 'boost::shared_ptr<boost::detail::thread_data_base>::operator=' requested
- here
- thread_info=other.thread_info;
- ^
- /usr/include/boost/smart_ptr/shared_ptr.hpp:468:36: note: candidate constructor (the
- implicit copy constructor) has been explicitly deleted
- template<class Y> friend class shared_ptr;
- ^
- /usr/include/boost/smart_ptr/shared_ptr.hpp:231:5: note: candidate constructor [with Y =
- boost::detail::thread_data_base]
- shared_ptr( shared_ptr<Y> const & r, typename ...
- ^
- /usr/include/boost/smart_ptr/shared_ptr.hpp:305:9: error: functional-style cast from
- 'const boost::shared_ptr<boost::exception_detail::error_info_base>' to 'this_type'
- (aka 'shared_ptr<boost::exception_detail::error_info_base>') uses deleted function
- this_type(r).swap(*this);
- ^~~~~~~~~~~
- /usr/include/boost/exception/info.hpp:87:32: note: in instantiation of member function
- 'boost::shared_ptr<boost::exception_detail::error_info_base>::operator=' requested
- here
- info_[typeid_] = x;
- ^
- /usr/include/boost/exception/exception.hpp:137:11: note: candidate constructor (the
- implicit copy constructor) has been explicitly deleted
- class shared_ptr;
- ^
- /usr/include/boost/smart_ptr/shared_ptr.hpp:231:5: note: candidate constructor [with Y =
- boost::exception_detail::error_info_base]
- shared_ptr( shared_ptr<Y> const & r, typename ...
- ^
- In file included from source/drone/core/resman.cpp:5:
- In file included from /usr/include/boost/asio.hpp:21:
- In file included from /usr/include/boost/asio/basic_deadline_timer.hpp:21:
- In file included from /usr/include/boost/asio/deadline_timer_service.hpp:20:
- In file included from /usr/include/boost/asio/detail/deadline_timer_service.hpp:28:
- In file included from /usr/include/boost/asio/detail/timer_queue.hpp:27:
- In file included from /usr/include/boost/asio/time_traits.hpp:21:
- In file included from /usr/include/boost/date_time/posix_time/posix_time_types.hpp:12:
- In file included from /usr/include/boost/date_time/posix_time/ptime.hpp:12:
- In file included from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13:
- In file included from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18:
- In file included from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19:
- In file included from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16:
- In file included from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16:
- In file included from /usr/include/boost/date_time/gregorian/greg_month.hpp:18:
- In file included from /usr/lib/gcc/x86_64-linux-gnu/4.6/../../../../include/c++/4.6/map:59:
- /usr/lib/gcc/x86_64-linux-gnu/4.6/../../../../include/c++/4.6/bits/stl_tree.h:139:4: error:
- call to deleted constructor of 'std::pair<const
- boost::exception_detail::type_info_,
- boost::shared_ptr<boost::exception_detail::error_info_base> >'
- _M_value_field(std::forward<_Args>(__args)...) { }
- ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /usr/lib/gcc/x86_64-linux-gnu/4.6/../../../../include/c++/4.6/ext/new_allocator.h:114:23: note:
- in instantiation of function template specialization
- 'std::_Rb_tree_node<std::pair<const boost::exception_detail::type_info_,
- boost::shared_ptr<boost::exception_detail::error_info_base> >
- >::_Rb_tree_node<const std::pair<const boost::exception_detail::type_info_,
- boost::shared_ptr<boost::exception_detail::error_info_base> > &>' requested here
- { ::new((void *)__p) _Tp(std::forward<_Args>(__args)...); }
- ^
- /usr/lib/gcc/x86_64-linux-gnu/4.6/../../../../include/c++/4.6/bits/stl_tree.h:405:32: note:
- in instantiation of function template specialization
- '__gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<const
- boost::exception_detail::type_info_,
- boost::shared_ptr<boost::exception_detail::error_info_base> > > >::construct<const
- std::pair<const boost::exception_detail::type_info_,
- boost::shared_ptr<boost::exception_detail::error_info_base> > &>' requested here
- _M_get_Node_allocator().construct(__tmp,
- ^
- /usr/lib/gcc/x86_64-linux-gnu/4.6/../../../../include/c++/4.6/bits/stl_tree.h:427:21: note:
- in instantiation of function template specialization
- 'std::_Rb_tree<boost::exception_detail::type_info_, std::pair<const
- boost::exception_detail::type_info_,
- boost::shared_ptr<boost::exception_detail::error_info_base> >,
- std::_Select1st<std::pair<const boost::exception_detail::type_info_,
- boost::shared_ptr<boost::exception_detail::error_info_base> > >,
- std::less<boost::exception_detail::type_info_>, std::allocator<std::pair<const
- boost::exception_detail::type_info_,
- boost::shared_ptr<boost::exception_detail::error_info_base> > >
- >::_M_create_node<const std::pair<const boost::exception_detail::type_info_,
- boost::shared_ptr<boost::exception_detail::error_info_base> > &>' requested here
- _Link_type __tmp = _M_create_node(__x->_M_value_field);
- ^
- /usr/lib/gcc/x86_64-linux-gnu/4.6/../../../../include/c++/4.6/bits/stl_tree.h:1026:26: note:
- in instantiation of member function
- 'std::_Rb_tree<boost::exception_detail::type_info_, std::pair<const
- boost::exception_detail::type_info_,
- boost::shared_ptr<boost::exception_detail::error_info_base> >,
- std::_Select1st<std::pair<const boost::exception_detail::type_info_,
- boost::shared_ptr<boost::exception_detail::error_info_base> > >,
- std::less<boost::exception_detail::type_info_>, std::allocator<std::pair<const
- boost::exception_detail::type_info_,
- boost::shared_ptr<boost::exception_detail::error_info_base> > > >::_M_clone_node'
- requested here
- _Link_type __top = _M_clone_node(__x);
- ^
- /usr/lib/gcc/x86_64-linux-gnu/4.6/../../../../include/c++/4.6/bits/stl_tree.h:935:20: note:
- in instantiation of member function
- 'std::_Rb_tree<boost::exception_detail::type_info_, std::pair<const
- boost::exception_detail::type_info_,
- boost::shared_ptr<boost::exception_detail::error_info_base> >,
- std::_Select1st<std::pair<const boost::exception_detail::type_info_,
- boost::shared_ptr<boost::exception_detail::error_info_base> > >,
- std::less<boost::exception_detail::type_info_>, std::allocator<std::pair<const
- boost::exception_detail::type_info_,
- boost::shared_ptr<boost::exception_detail::error_info_base> > > >::_M_copy'
- requested here
- _M_root() = _M_copy(__x._M_begin(), _M_end());
- ^
- /usr/lib/gcc/x86_64-linux-gnu/4.6/../../../../include/c++/4.6/bits/stl_map.h:255:7: note:
- in instantiation of member function
- 'std::_Rb_tree<boost::exception_detail::type_info_, std::pair<const
- boost::exception_detail::type_info_,
- boost::shared_ptr<boost::exception_detail::error_info_base> >,
- std::_Select1st<std::pair<const boost::exception_detail::type_info_,
- boost::shared_ptr<boost::exception_detail::error_info_base> > >,
- std::less<boost::exception_detail::type_info_>, std::allocator<std::pair<const
- boost::exception_detail::type_info_,
- boost::shared_ptr<boost::exception_detail::error_info_base> > > >::operator='
- requested here
- _M_t = __x._M_t;
- ^
- /usr/include/boost/exception/info.hpp:160:26: note: in instantiation of member function
- 'std::map<boost::exception_detail::type_info_,
- boost::shared_ptr<boost::exception_detail::error_info_base>,
- std::less<boost::exception_detail::type_info_>, std::allocator<std::pair<const
- boost::exception_detail::type_info_,
- boost::shared_ptr<boost::exception_detail::error_info_base> > > >::operator='
- requested here
- c->info_ = info_;
- ^
- /usr/lib/gcc/x86_64-linux-gnu/4.6/../../../../include/c++/4.6/bits/stl_pair.h:112:17: note:
- function has been explicitly marked deleted here
- constexpr pair(const pair&) = default;
- ^
- In file included from source/drone/core/resman.cpp:5:
- In file included from /usr/include/boost/asio.hpp:20:
- In file included from /usr/include/boost/asio/basic_datagram_socket.hpp:21:
- In file included from /usr/include/boost/asio/datagram_socket_service.hpp:26:
- In file included from /usr/include/boost/asio/detail/reactive_socket_service.hpp:30:
- In file included from /usr/include/boost/asio/detail/reactive_socket_accept_op.hpp:24:
- In file included from /usr/include/boost/asio/detail/socket_holder.hpp:20:
- In file included from /usr/include/boost/asio/detail/socket_ops.hpp:21:
- In file included from /usr/include/boost/asio/detail/shared_ptr.hpp:23:
- In file included from /usr/include/boost/shared_ptr.hpp:17:
- /usr/include/boost/smart_ptr/shared_ptr.hpp:305:9: error: functional-style cast from
- 'const boost::shared_ptr<const boost::exception_detail::clone_base>' to
- 'this_type' (aka 'shared_ptr<const boost::exception_detail::clone_base>') uses
- deleted function
- this_type(r).swap(*this);
- ^~~~~~~~~~~
- /usr/include/boost/exception/detail/exception_ptr.hpp:358:16: note: in instantiation of
- member function 'boost::shared_ptr<const
- boost::exception_detail::clone_base>::operator=' requested here
- ret=exception_detail::exception_ptr_bad_alloc<42>::e;
- ^
- /usr/include/boost/smart_ptr/shared_ptr.hpp:468:36: note: candidate constructor (the
- implicit copy constructor) has been explicitly deleted
- template<class Y> friend class shared_ptr;
- ^
- /usr/include/boost/smart_ptr/shared_ptr.hpp:231:5: note: candidate constructor [with Y =
- const boost::exception_detail::clone_base]
- shared_ptr( shared_ptr<Y> const & r, typename ...
- ^
- /usr/include/boost/smart_ptr/shared_ptr.hpp:626:12: error: call to deleted constructor
- of 'shared_ptr<boost::detail::future_object<void> >'
- return *p;
- ^~
- /usr/include/boost/thread/future.hpp:1054:17: note: in instantiation of function
- template specialization 'boost::atomic_load<boost::detail::future_object<void> >'
- requested here
- if(!atomic_load(&future))
- ^
- /usr/include/boost/smart_ptr/shared_ptr.hpp:468:36: note: function has been explicitly
- marked deleted here
- template<class Y> friend class shared_ptr;
- ^
- /usr/include/boost/smart_ptr/shared_ptr.hpp:677:23: error: call to deleted constructor
- of 'shared_ptr<boost::detail::future_object<void> >'
- shared_ptr<T> tmp( *p );
- ^ ~~
- /usr/include/boost/thread/future.hpp:1057:17: note: in instantiation of function
- template specialization
- 'boost::atomic_compare_exchange<boost::detail::future_object<void> >' requested
- here
- atomic_compare_exchange(&future,&blank,future_ptr(new ...
- ^
- /usr/include/boost/smart_ptr/shared_ptr.hpp:468:36: note: function has been explicitly
- marked deleted here
- template<class Y> friend class shared_ptr;
- ^
- In file included from source/drone/core/resman.cpp:7:
- In file included from /usr/include/boost/thread.hpp:13:
- In file included from /usr/include/boost/thread/thread.hpp:22:
- In file included from /usr/include/boost/thread/detail/thread.hpp:22:
- In file included from /usr/include/boost/bind.hpp:22:
- /usr/include/boost/bind/bind.hpp:116:25: error: call to deleted constructor of
- 'boost::shared_ptr<boost::asio::io_service>'
- value(T const & t): t_(t) {}
- ^ ~
- /usr/include/boost/bind/bind_mf_cc.hpp:24:57: note: in instantiation of member function
- 'boost::_bi::value<boost::shared_ptr<boost::asio::io_service> >::value' requested
- here
- return _bi::bind_t<R, F, list_type>(F(f), list_type(a1));
- ^
- source/drone/core/resman.cpp:30:8: note: in instantiation of function template
- specialization 'boost::bind<unsigned long, boost::asio::io_service,
- boost::shared_ptr<boost::asio::io_service> >' requested here
- boost::bind(&boost::asio::io_service::run, io_service)
- ^
- /usr/include/boost/smart_ptr/shared_ptr.hpp:468:36: note: function has been explicitly
- marked deleted here
- template<class Y> friend class shared_ptr;
- ^
- fatal error: too many errors emitted, stopping now [-ferror-limit=]
- 20 errors generated.
- scons: *** [build/debug-drone-core/resman.o] Error 1
- scons: building terminated because of errors.
Add Comment
Please, Sign In to add comment