Guest User

Untitled

a guest
Apr 23rd, 2018
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 22.19 KB | None | 0 0
  1. huhlig@mars:/opt/projects/Colony$ scons
  2. scons: Reading SConscript files ...
  3. scons: done reading SConscript files.
  4. scons: Building targets ...
  5. clang++ -o build/debug-drone-core/resman.o -c -fcolor-diagnostics -Werror -std=c++0x -g -O1 source/drone/core/resman.cpp
  6. In file included from source/drone/core/resman.cpp:5:
  7. In file included from /usr/include/boost/asio.hpp:50:
  8. In file included from /usr/include/boost/asio/ip/basic_resolver.hpp:24:
  9. In file included from /usr/include/boost/asio/ip/resolver_service.hpp:20:
  10. In file included from /usr/include/boost/asio/detail/resolver_service.hpp:21:
  11. /usr/include/boost/asio/detail/resolve_endpoint_op.hpp:48:7: error: call to deleted
  12. constructor of 'socket_ops::weak_cancel_token_type' (aka 'weak_ptr<void>')
  13. cancel_token_(cancel_token),
  14. ^ ~~~~~~~~~~~~
  15. /usr/include/boost/smart_ptr/weak_ptr.hpp:28:25: note: function has been explicitly
  16. marked deleted here
  17. template<class T> class weak_ptr
  18. ^
  19. In file included from source/drone/core/resman.cpp:5:
  20. In file included from /usr/include/boost/asio.hpp:50:
  21. In file included from /usr/include/boost/asio/ip/basic_resolver.hpp:24:
  22. In file included from /usr/include/boost/asio/ip/resolver_service.hpp:20:
  23. In file included from /usr/include/boost/asio/detail/resolver_service.hpp:22:
  24. /usr/include/boost/asio/detail/resolve_op.hpp:49:7: error: call to deleted constructor
  25. of 'socket_ops::weak_cancel_token_type' (aka 'weak_ptr<void>')
  26. cancel_token_(cancel_token),
  27. ^ ~~~~~~~~~~~~
  28. /usr/include/boost/smart_ptr/weak_ptr.hpp:28:25: note: function has been explicitly
  29. marked deleted here
  30. template<class T> class weak_ptr
  31. ^
  32. In file included from source/drone/core/resman.cpp:7:
  33. In file included from /usr/include/boost/thread.hpp:13:
  34. In file included from /usr/include/boost/thread/thread.hpp:17:
  35. /usr/include/boost/thread/pthread/thread_data.hpp:36:17: error: call to deleted
  36. constructor of 'boost::shared_ptr<boost::detail::tss_cleanup_function>'
  37. func(func_),value(value_)
  38. ^ ~~~~~
  39. /usr/include/boost/smart_ptr/shared_ptr.hpp:468:36: note: function has been explicitly
  40. marked deleted here
  41. template<class Y> friend class shared_ptr;
  42. ^
  43. In file included from source/drone/core/resman.cpp:7:
  44. In file included from /usr/include/boost/thread.hpp:13:
  45. In file included from /usr/include/boost/thread/thread.hpp:22:
  46. /usr/include/boost/thread/detail/thread.hpp:395:13: error: call to deleted constructor
  47. of 'detail::thread_data_ptr' (aka 'shared_ptr<boost::detail::thread_data_base>')
  48. thread_data(thread_data_)
  49. ^ ~~~~~~~~~~~~
  50. /usr/include/boost/smart_ptr/shared_ptr.hpp:468:36: note: function has been explicitly
  51. marked deleted here
  52. template<class Y> friend class shared_ptr;
  53. ^
  54. In file included from source/drone/core/resman.cpp:7:
  55. In file included from /usr/include/boost/thread.hpp:24:
  56. In file included from /usr/include/boost/thread/future.hpp:14:
  57. In file included from /usr/include/boost/exception_ptr.hpp:9:
  58. In file included from /usr/include/boost/exception/detail/exception_ptr.hpp:19:
  59. /usr/include/boost/exception/info.hpp:101:28: error: call to deleted constructor of
  60. 'shared_ptr<boost::exception_detail::error_info_base>'
  61. return p;
  62. ^
  63. /usr/include/boost/exception/exception.hpp:137:11: note: function has been explicitly
  64. marked deleted here
  65. class shared_ptr;
  66. ^
  67. In file included from source/drone/core/resman.cpp:7:
  68. In file included from /usr/include/boost/thread.hpp:24:
  69. In file included from /usr/include/boost/thread/future.hpp:14:
  70. In file included from /usr/include/boost/exception_ptr.hpp:9:
  71. /usr/include/boost/exception/detail/exception_ptr.hpp:82:20: error: call to deleted
  72. constructor of 'exception_ptr' (aka 'shared_ptr<const
  73. exception_detail::clone_base>')
  74. return ep;
  75. ^~
  76. /usr/include/boost/smart_ptr/shared_ptr.hpp:468:36: note: function has been explicitly
  77. marked deleted here
  78. template<class Y> friend class shared_ptr;
  79. ^
  80. In file included from source/drone/core/resman.cpp:7:
  81. In file included from /usr/include/boost/thread.hpp:24:
  82. /usr/include/boost/thread/future.hpp:407:21: error: call to deleted constructor of
  83. 'boost::shared_ptr<detail::future_object_base>'
  84. future(future_),wait_iterator(wait_iterator_),index(index_)
  85. ^ ~~~~~~~
  86. /usr/include/boost/smart_ptr/shared_ptr.hpp:468:36: note: function has been explicitly
  87. marked deleted here
  88. template<class Y> friend class shared_ptr;
  89. ^
  90. In file included from source/drone/core/resman.cpp:7:
  91. In file included from /usr/include/boost/thread.hpp:24:
  92. /usr/include/boost/thread/future.hpp:1134:40: error: call to deleted constructor of
  93. 'future_ptr' (aka 'shared_ptr<detail::future_object<void> >')
  94. return unique_future<void>(future);
  95. ^~~~~~
  96. /usr/include/boost/smart_ptr/shared_ptr.hpp:468:36: note: function has been explicitly
  97. marked deleted here
  98. template<class Y> friend class shared_ptr;
  99. ^
  100. /usr/include/boost/thread/future.hpp:633:34: note: passing argument to parameter
  101. 'future_' here
  102. unique_future(future_ptr future_):
  103. ^
  104. source/drone/core/resman.cpp:26:13: error: no matching constructor for initialization of
  105. 'boost::asio::io_service::work'
  106. work( new boost::asio::io_service::work )
  107. ^
  108. /usr/include/boost/asio/impl/io_service.hpp:94:26: note: candidate constructor not
  109. viable: requires 1 argument, but 0 were provided
  110. inline io_service::work::work(boost::asio::io_service& io_service)
  111. ^
  112. /usr/include/boost/asio/impl/io_service.hpp:100:26: note: candidate constructor not
  113. viable: requires 1 argument, but 0 were provided
  114. inline io_service::work::work(const work& other)
  115. ^
  116. source/drone/core/resman.cpp:30:51: error: call to deleted constructor of
  117. 'boost::shared_ptr<boost::asio::io_service>'
  118. boost::bind(&boost::asio::io_service::run, io_service)
  119. ^~~~~~~~~~
  120. /usr/include/boost/smart_ptr/shared_ptr.hpp:468:36: note: function has been explicitly
  121. marked deleted here
  122. template<class Y> friend class shared_ptr;
  123. ^
  124. /usr/include/boost/bind/bind_mf_cc.hpp:20:50: note: passing argument to parameter 'a1'
  125. here
  126. BOOST_BIND(R (BOOST_BIND_MF_CC T::*f) (), A1 a1)
  127. ^
  128. source/drone/core/resman.cpp:39:14: error: no member named 'stop' in
  129. 'boost::shared_ptr<boost::asio::io_service>'
  130. io_service.stop();
  131. ~~~~~~~~~~ ^
  132. source/drone/core/resman.cpp:43:2: error: expected ';' after class
  133. }
  134. ^
  135. ;
  136. In file included from source/drone/core/resman.cpp:5:
  137. In file included from /usr/include/boost/asio.hpp:20:
  138. In file included from /usr/include/boost/asio/basic_datagram_socket.hpp:21:
  139. In file included from /usr/include/boost/asio/datagram_socket_service.hpp:26:
  140. In file included from /usr/include/boost/asio/detail/reactive_socket_service.hpp:30:
  141. In file included from /usr/include/boost/asio/detail/reactive_socket_accept_op.hpp:24:
  142. In file included from /usr/include/boost/asio/detail/socket_holder.hpp:20:
  143. In file included from /usr/include/boost/asio/detail/socket_ops.hpp:21:
  144. In file included from /usr/include/boost/asio/detail/shared_ptr.hpp:23:
  145. In file included from /usr/include/boost/shared_ptr.hpp:17:
  146. /usr/include/boost/smart_ptr/shared_ptr.hpp:305:9: error: functional-style cast from
  147. 'const boost::shared_ptr<boost::detail::thread_data_base>' to 'this_type' (aka
  148. 'shared_ptr<boost::detail::thread_data_base>') uses deleted function
  149. this_type(r).swap(*this);
  150. ^~~~~~~~~~~
  151. /usr/include/boost/thread/detail/thread.hpp:181:24: note: in instantiation of member
  152. function 'boost::shared_ptr<boost::detail::thread_data_base>::operator=' requested
  153. here
  154. thread_info=other.thread_info;
  155. ^
  156. /usr/include/boost/smart_ptr/shared_ptr.hpp:468:36: note: candidate constructor (the
  157. implicit copy constructor) has been explicitly deleted
  158. template<class Y> friend class shared_ptr;
  159. ^
  160. /usr/include/boost/smart_ptr/shared_ptr.hpp:231:5: note: candidate constructor [with Y =
  161. boost::detail::thread_data_base]
  162. shared_ptr( shared_ptr<Y> const & r, typename ...
  163. ^
  164. /usr/include/boost/smart_ptr/shared_ptr.hpp:305:9: error: functional-style cast from
  165. 'const boost::shared_ptr<boost::exception_detail::error_info_base>' to 'this_type'
  166. (aka 'shared_ptr<boost::exception_detail::error_info_base>') uses deleted function
  167. this_type(r).swap(*this);
  168. ^~~~~~~~~~~
  169. /usr/include/boost/exception/info.hpp:87:32: note: in instantiation of member function
  170. 'boost::shared_ptr<boost::exception_detail::error_info_base>::operator=' requested
  171. here
  172. info_[typeid_] = x;
  173. ^
  174. /usr/include/boost/exception/exception.hpp:137:11: note: candidate constructor (the
  175. implicit copy constructor) has been explicitly deleted
  176. class shared_ptr;
  177. ^
  178. /usr/include/boost/smart_ptr/shared_ptr.hpp:231:5: note: candidate constructor [with Y =
  179. boost::exception_detail::error_info_base]
  180. shared_ptr( shared_ptr<Y> const & r, typename ...
  181. ^
  182. In file included from source/drone/core/resman.cpp:5:
  183. In file included from /usr/include/boost/asio.hpp:21:
  184. In file included from /usr/include/boost/asio/basic_deadline_timer.hpp:21:
  185. In file included from /usr/include/boost/asio/deadline_timer_service.hpp:20:
  186. In file included from /usr/include/boost/asio/detail/deadline_timer_service.hpp:28:
  187. In file included from /usr/include/boost/asio/detail/timer_queue.hpp:27:
  188. In file included from /usr/include/boost/asio/time_traits.hpp:21:
  189. In file included from /usr/include/boost/date_time/posix_time/posix_time_types.hpp:12:
  190. In file included from /usr/include/boost/date_time/posix_time/ptime.hpp:12:
  191. In file included from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13:
  192. In file included from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:18:
  193. In file included from /usr/include/boost/date_time/gregorian/gregorian_types.hpp:19:
  194. In file included from /usr/include/boost/date_time/gregorian/greg_calendar.hpp:16:
  195. In file included from /usr/include/boost/date_time/gregorian/greg_ymd.hpp:16:
  196. In file included from /usr/include/boost/date_time/gregorian/greg_month.hpp:18:
  197. In file included from /usr/lib/gcc/x86_64-linux-gnu/4.6/../../../../include/c++/4.6/map:59:
  198. /usr/lib/gcc/x86_64-linux-gnu/4.6/../../../../include/c++/4.6/bits/stl_tree.h:139:4: error:
  199. call to deleted constructor of 'std::pair<const
  200. boost::exception_detail::type_info_,
  201. boost::shared_ptr<boost::exception_detail::error_info_base> >'
  202. _M_value_field(std::forward<_Args>(__args)...) { }
  203. ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
  204. /usr/lib/gcc/x86_64-linux-gnu/4.6/../../../../include/c++/4.6/ext/new_allocator.h:114:23: note:
  205. in instantiation of function template specialization
  206. 'std::_Rb_tree_node<std::pair<const boost::exception_detail::type_info_,
  207. boost::shared_ptr<boost::exception_detail::error_info_base> >
  208. >::_Rb_tree_node<const std::pair<const boost::exception_detail::type_info_,
  209. boost::shared_ptr<boost::exception_detail::error_info_base> > &>' requested here
  210. { ::new((void *)__p) _Tp(std::forward<_Args>(__args)...); }
  211. ^
  212. /usr/lib/gcc/x86_64-linux-gnu/4.6/../../../../include/c++/4.6/bits/stl_tree.h:405:32: note:
  213. in instantiation of function template specialization
  214. '__gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<const
  215. boost::exception_detail::type_info_,
  216. boost::shared_ptr<boost::exception_detail::error_info_base> > > >::construct<const
  217. std::pair<const boost::exception_detail::type_info_,
  218. boost::shared_ptr<boost::exception_detail::error_info_base> > &>' requested here
  219. _M_get_Node_allocator().construct(__tmp,
  220. ^
  221. /usr/lib/gcc/x86_64-linux-gnu/4.6/../../../../include/c++/4.6/bits/stl_tree.h:427:21: note:
  222. in instantiation of function template specialization
  223. 'std::_Rb_tree<boost::exception_detail::type_info_, std::pair<const
  224. boost::exception_detail::type_info_,
  225. boost::shared_ptr<boost::exception_detail::error_info_base> >,
  226. std::_Select1st<std::pair<const boost::exception_detail::type_info_,
  227. boost::shared_ptr<boost::exception_detail::error_info_base> > >,
  228. std::less<boost::exception_detail::type_info_>, std::allocator<std::pair<const
  229. boost::exception_detail::type_info_,
  230. boost::shared_ptr<boost::exception_detail::error_info_base> > >
  231. >::_M_create_node<const std::pair<const boost::exception_detail::type_info_,
  232. boost::shared_ptr<boost::exception_detail::error_info_base> > &>' requested here
  233. _Link_type __tmp = _M_create_node(__x->_M_value_field);
  234. ^
  235. /usr/lib/gcc/x86_64-linux-gnu/4.6/../../../../include/c++/4.6/bits/stl_tree.h:1026:26: note:
  236. in instantiation of member function
  237. 'std::_Rb_tree<boost::exception_detail::type_info_, std::pair<const
  238. boost::exception_detail::type_info_,
  239. boost::shared_ptr<boost::exception_detail::error_info_base> >,
  240. std::_Select1st<std::pair<const boost::exception_detail::type_info_,
  241. boost::shared_ptr<boost::exception_detail::error_info_base> > >,
  242. std::less<boost::exception_detail::type_info_>, std::allocator<std::pair<const
  243. boost::exception_detail::type_info_,
  244. boost::shared_ptr<boost::exception_detail::error_info_base> > > >::_M_clone_node'
  245. requested here
  246. _Link_type __top = _M_clone_node(__x);
  247. ^
  248. /usr/lib/gcc/x86_64-linux-gnu/4.6/../../../../include/c++/4.6/bits/stl_tree.h:935:20: note:
  249. in instantiation of member function
  250. 'std::_Rb_tree<boost::exception_detail::type_info_, std::pair<const
  251. boost::exception_detail::type_info_,
  252. boost::shared_ptr<boost::exception_detail::error_info_base> >,
  253. std::_Select1st<std::pair<const boost::exception_detail::type_info_,
  254. boost::shared_ptr<boost::exception_detail::error_info_base> > >,
  255. std::less<boost::exception_detail::type_info_>, std::allocator<std::pair<const
  256. boost::exception_detail::type_info_,
  257. boost::shared_ptr<boost::exception_detail::error_info_base> > > >::_M_copy'
  258. requested here
  259. _M_root() = _M_copy(__x._M_begin(), _M_end());
  260. ^
  261. /usr/lib/gcc/x86_64-linux-gnu/4.6/../../../../include/c++/4.6/bits/stl_map.h:255:7: note:
  262. in instantiation of member function
  263. 'std::_Rb_tree<boost::exception_detail::type_info_, std::pair<const
  264. boost::exception_detail::type_info_,
  265. boost::shared_ptr<boost::exception_detail::error_info_base> >,
  266. std::_Select1st<std::pair<const boost::exception_detail::type_info_,
  267. boost::shared_ptr<boost::exception_detail::error_info_base> > >,
  268. std::less<boost::exception_detail::type_info_>, std::allocator<std::pair<const
  269. boost::exception_detail::type_info_,
  270. boost::shared_ptr<boost::exception_detail::error_info_base> > > >::operator='
  271. requested here
  272. _M_t = __x._M_t;
  273. ^
  274. /usr/include/boost/exception/info.hpp:160:26: note: in instantiation of member function
  275. 'std::map<boost::exception_detail::type_info_,
  276. boost::shared_ptr<boost::exception_detail::error_info_base>,
  277. std::less<boost::exception_detail::type_info_>, std::allocator<std::pair<const
  278. boost::exception_detail::type_info_,
  279. boost::shared_ptr<boost::exception_detail::error_info_base> > > >::operator='
  280. requested here
  281. c->info_ = info_;
  282. ^
  283. /usr/lib/gcc/x86_64-linux-gnu/4.6/../../../../include/c++/4.6/bits/stl_pair.h:112:17: note:
  284. function has been explicitly marked deleted here
  285. constexpr pair(const pair&) = default;
  286. ^
  287. In file included from source/drone/core/resman.cpp:5:
  288. In file included from /usr/include/boost/asio.hpp:20:
  289. In file included from /usr/include/boost/asio/basic_datagram_socket.hpp:21:
  290. In file included from /usr/include/boost/asio/datagram_socket_service.hpp:26:
  291. In file included from /usr/include/boost/asio/detail/reactive_socket_service.hpp:30:
  292. In file included from /usr/include/boost/asio/detail/reactive_socket_accept_op.hpp:24:
  293. In file included from /usr/include/boost/asio/detail/socket_holder.hpp:20:
  294. In file included from /usr/include/boost/asio/detail/socket_ops.hpp:21:
  295. In file included from /usr/include/boost/asio/detail/shared_ptr.hpp:23:
  296. In file included from /usr/include/boost/shared_ptr.hpp:17:
  297. /usr/include/boost/smart_ptr/shared_ptr.hpp:305:9: error: functional-style cast from
  298. 'const boost::shared_ptr<const boost::exception_detail::clone_base>' to
  299. 'this_type' (aka 'shared_ptr<const boost::exception_detail::clone_base>') uses
  300. deleted function
  301. this_type(r).swap(*this);
  302. ^~~~~~~~~~~
  303. /usr/include/boost/exception/detail/exception_ptr.hpp:358:16: note: in instantiation of
  304. member function 'boost::shared_ptr<const
  305. boost::exception_detail::clone_base>::operator=' requested here
  306. ret=exception_detail::exception_ptr_bad_alloc<42>::e;
  307. ^
  308. /usr/include/boost/smart_ptr/shared_ptr.hpp:468:36: note: candidate constructor (the
  309. implicit copy constructor) has been explicitly deleted
  310. template<class Y> friend class shared_ptr;
  311. ^
  312. /usr/include/boost/smart_ptr/shared_ptr.hpp:231:5: note: candidate constructor [with Y =
  313. const boost::exception_detail::clone_base]
  314. shared_ptr( shared_ptr<Y> const & r, typename ...
  315. ^
  316. /usr/include/boost/smart_ptr/shared_ptr.hpp:626:12: error: call to deleted constructor
  317. of 'shared_ptr<boost::detail::future_object<void> >'
  318. return *p;
  319. ^~
  320. /usr/include/boost/thread/future.hpp:1054:17: note: in instantiation of function
  321. template specialization 'boost::atomic_load<boost::detail::future_object<void> >'
  322. requested here
  323. if(!atomic_load(&future))
  324. ^
  325. /usr/include/boost/smart_ptr/shared_ptr.hpp:468:36: note: function has been explicitly
  326. marked deleted here
  327. template<class Y> friend class shared_ptr;
  328. ^
  329. /usr/include/boost/smart_ptr/shared_ptr.hpp:677:23: error: call to deleted constructor
  330. of 'shared_ptr<boost::detail::future_object<void> >'
  331. shared_ptr<T> tmp( *p );
  332. ^ ~~
  333. /usr/include/boost/thread/future.hpp:1057:17: note: in instantiation of function
  334. template specialization
  335. 'boost::atomic_compare_exchange<boost::detail::future_object<void> >' requested
  336. here
  337. atomic_compare_exchange(&future,&blank,future_ptr(new ...
  338. ^
  339. /usr/include/boost/smart_ptr/shared_ptr.hpp:468:36: note: function has been explicitly
  340. marked deleted here
  341. template<class Y> friend class shared_ptr;
  342. ^
  343. In file included from source/drone/core/resman.cpp:7:
  344. In file included from /usr/include/boost/thread.hpp:13:
  345. In file included from /usr/include/boost/thread/thread.hpp:22:
  346. In file included from /usr/include/boost/thread/detail/thread.hpp:22:
  347. In file included from /usr/include/boost/bind.hpp:22:
  348. /usr/include/boost/bind/bind.hpp:116:25: error: call to deleted constructor of
  349. 'boost::shared_ptr<boost::asio::io_service>'
  350. value(T const & t): t_(t) {}
  351. ^ ~
  352. /usr/include/boost/bind/bind_mf_cc.hpp:24:57: note: in instantiation of member function
  353. 'boost::_bi::value<boost::shared_ptr<boost::asio::io_service> >::value' requested
  354. here
  355. return _bi::bind_t<R, F, list_type>(F(f), list_type(a1));
  356. ^
  357. source/drone/core/resman.cpp:30:8: note: in instantiation of function template
  358. specialization 'boost::bind<unsigned long, boost::asio::io_service,
  359. boost::shared_ptr<boost::asio::io_service> >' requested here
  360. boost::bind(&boost::asio::io_service::run, io_service)
  361. ^
  362. /usr/include/boost/smart_ptr/shared_ptr.hpp:468:36: note: function has been explicitly
  363. marked deleted here
  364. template<class Y> friend class shared_ptr;
  365. ^
  366. fatal error: too many errors emitted, stopping now [-ferror-limit=]
  367. 20 errors generated.
  368. scons: *** [build/debug-drone-core/resman.o] Error 1
  369. scons: building terminated because of errors.
Add Comment
Please, Sign In to add comment