Advertisement
Guest User

Untitled

a guest
Aug 7th, 2014
352
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.25 KB | None | 0 0
  1. In file included from ../../deps/boost/include/boost/tuple/tuple.hpp:33:0,
  2. from ../../deps/boost/include/boost/thread/detail/async_func.hpp:37,
  3. from ../../deps/boost/include/boost/thread/future.hpp:22,
  4. from t.cpp:2:
  5. ../../deps/boost/include/boost/tuple/detail/tuple_basic.hpp: In function ‘typename boost::tuples::access_traits<typename boost::tup
  6. les::element<N, boost::tuples::cons<HT, TT> >::type>::const_type boost::tuples::get(const boost::tuples::cons<HT, TT>&)’:
  7. ../../deps/boost/include/boost/tuple/detail/tuple_basic.hpp:228:45: warning: typedef ‘cons_element’ locally defined but not used [-
  8. Wunused-local-typedefs]
  9. typedef BOOST_DEDUCED_TYPENAME impl::type cons_element;
  10. ^
  11. In file included from ../../deps/boost/include/boost/bind/bind.hpp:29:0,
  12. from ../../deps/boost/include/boost/bind.hpp:22,
  13. from ../../deps/boost/include/boost/thread/future.hpp:41,
  14. from t.cpp:2:
  15. ../../deps/boost/include/boost/bind/arg.hpp: In constructor ‘boost::arg<I>::arg(const T&)’:
  16. ../../deps/boost/include/boost/bind/arg.hpp:37:22: warning: typedef ‘T_must_be_placeholder’ locally defined but not used [-Wunused-
  17. local-typedefs]
  18. typedef char T_must_be_placeholder[ I == is_placeholder<T>::value? 1: -1 ];
  19. ^
  20. t.cpp: In function ‘int main()’:
  21. t.cpp:12:42: warning: unused variable ‘fut’ [-Wunused-variable]
  22. const boost::unique_future<foo>& fut = boost::make_ready_future( foo(42) );
  23. ^
  24. In file included from ../../deps/boost/include/boost/thread/future.hpp:21:0,
  25. from t.cpp:2:
  26. ../../deps/boost/include/boost/thread/future.hpp: In instantiation of ‘boost::unique_future<typename boost::decay<T>::type> boost::
  27. make_ready_future(const T&) [with T = foo; typename boost::decay<T>::type = foo]’:
  28. t.cpp:12:82: required from here
  29. ../../deps/boost/include/boost/thread/detail/move.hpp:183:54: error: no matching function for call to ‘boost::unique_future<foo>::u
  30. nique_future(boost::unique_future<foo>)’
  31. #define BOOST_THREAD_MAKE_RV_REF(RVALUE) RVALUE.move()
  32. ^
  33. ../../deps/boost/include/boost/thread/future.hpp:3635:12: note: in expansion of macro ‘BOOST_THREAD_MAKE_RV_REF’
  34. return BOOST_THREAD_MAKE_RV_REF(p.get_future());
  35. ^
  36. ../../deps/boost/include/boost/thread/detail/move.hpp:183:54: note: candidates are:
  37. #define BOOST_THREAD_MAKE_RV_REF(RVALUE) RVALUE.move()
  38. ^
  39. ../../deps/boost/include/boost/thread/future.hpp:3635:12: note: in expansion of macro ‘BOOST_THREAD_MAKE_RV_REF’
  40. return BOOST_THREAD_MAKE_RV_REF(p.get_future());
  41. ^
  42. In file included from t.cpp:2:0:
  43. ../../deps/boost/include/boost/thread/future.hpp:65:29: note: boost::unique_future<R>::unique_future(boost::detail::thread_move_t<b
  44. oost::unique_future<boost::unique_future<R> > >) [with R = foo]
  45. #define BOOST_THREAD_FUTURE unique_future
  46. ^
  47. ../../deps/boost/include/boost/thread/future.hpp:1515:16: note: in expansion of macro ‘BOOST_THREAD_FUTURE’
  48. inline BOOST_THREAD_FUTURE(BOOST_THREAD_RV_REF(BOOST_THREAD_FUTURE<BOOST_THREAD_FUTURE<R> >) other); // EXTENSION
  49. ^
  50. ../../deps/boost/include/boost/thread/future.hpp:65:29: note: no known conversion for argument 1 from ‘boost::unique_future<foo>’ to ‘boost::detail::thread_move_t<boost::unique_future<boost::unique_future<foo> > >’
  51. #define BOOST_THREAD_FUTURE unique_future
  52. ^
  53. ../../deps/boost/include/boost/thread/future.hpp:1515:16: note: in expansion of macro ‘BOOST_THREAD_FUTURE’
  54. inline BOOST_THREAD_FUTURE(BOOST_THREAD_RV_REF(BOOST_THREAD_FUTURE<BOOST_THREAD_FUTURE<R> >) other); // EXTENSION
  55. ^
  56. ../../deps/boost/include/boost/thread/future.hpp:65:29: note: boost::unique_future<R>::unique_future(boost::detail::thread_move_t<b
  57. oost::unique_future<R> >) [with R = foo]
  58. #define BOOST_THREAD_FUTURE unique_future
  59. ^
  60. ../../deps/boost/include/boost/thread/future.hpp:1511:9: note: in expansion of macro ‘BOOST_THREAD_FUTURE’
  61. BOOST_THREAD_FUTURE(BOOST_THREAD_RV_REF(BOOST_THREAD_FUTURE) other) BOOST_NOEXCEPT:
  62. ^
  63. ../../deps/boost/include/boost/thread/future.hpp:65:29: note: no known conversion for argument 1 from ‘boost::unique_future<foo>’
  64. to ‘boost::detail::thread_move_t<boost::unique_future<foo> >’
  65. #define BOOST_THREAD_FUTURE unique_future
  66. ^
  67. ../../deps/boost/include/boost/thread/future.hpp:1511:9: note: in expansion of macro ‘BOOST_THREAD_FUTURE’
  68. BOOST_THREAD_FUTURE(BOOST_THREAD_RV_REF(BOOST_THREAD_FUTURE) other) BOOST_NOEXCEPT:
  69. ^
  70. ../../deps/boost/include/boost/thread/future.hpp:65:29: note: boost::unique_future<R>::unique_future() [with R = foo]
  71. #define BOOST_THREAD_FUTURE unique_future
  72. ^
  73. ../../deps/boost/include/boost/thread/future.hpp:1507:25: note: in expansion of macro ‘BOOST_THREAD_FUTURE’
  74. BOOST_CONSTEXPR BOOST_THREAD_FUTURE() {}
  75. ^
  76. ../../deps/boost/include/boost/thread/future.hpp:65:29: note: candidate expects 0 arguments, 1 provided
  77. #define BOOST_THREAD_FUTURE unique_future
  78. ^
  79. ../../deps/boost/include/boost/thread/future.hpp:1507:25: note: in expansion of macro ‘BOOST_THREAD_FUTURE’
  80. BOOST_CONSTEXPR BOOST_THREAD_FUTURE() {}
  81. ^
  82. In file included from ../../deps/boost/include/boost/thread/detail/move.hpp:19:0,
  83. from ../../deps/boost/include/boost/thread/future.hpp:21,
  84. from t.cpp:2:
  85. ../../deps/boost/include/boost/thread/future.hpp:65:29: note: boost::unique_future<R>::unique_future(boost::unique_future<R>&) [wit
  86. h R = foo]
  87. #define BOOST_THREAD_FUTURE unique_future
  88. ^
  89. ../../deps/boost/include/boost/thread/detail/delete.hpp:39:7: note: in definition of macro ‘BOOST_THREAD_DELETE_COPY_CTOR’
  90. CLASS(CLASS&); \
  91. ^
  92. ../../deps/boost/include/boost/thread/detail/move.hpp:231:3: note: in expansion of macro ‘BOOST_THREAD_NO_COPYABLE’
  93. BOOST_THREAD_NO_COPYABLE(TYPE) \
  94. ^
  95. ../../deps/boost/include/boost/thread/future.hpp:1503:9: note: in expansion of macro ‘BOOST_THREAD_MOVABLE_ONLY’
  96. BOOST_THREAD_MOVABLE_ONLY(BOOST_THREAD_FUTURE)
  97. ^
  98. ../../deps/boost/include/boost/thread/future.hpp:1503:35: note: in expansion of macro ‘BOOST_THREAD_FUTURE’
  99. BOOST_THREAD_MOVABLE_ONLY(BOOST_THREAD_FUTURE)
  100. ^
  101. ../../deps/boost/include/boost/thread/future.hpp:65:29: note: no known conversion for argument 1 from ‘boost::unique_future<foo>’
  102. to ‘boost::unique_future<foo>&’
  103. #define BOOST_THREAD_FUTURE unique_future
  104. ^
  105. ../../deps/boost/include/boost/thread/detail/delete.hpp:39:7: note: in definition of macro ‘BOOST_THREAD_DELETE_COPY_CTOR’
  106. CLASS(CLASS&); \
  107. ^
  108. ../../deps/boost/include/boost/thread/detail/move.hpp:231:3: note: in expansion of macro ‘BOOST_THREAD_NO_COPYABLE’
  109. BOOST_THREAD_NO_COPYABLE(TYPE) \
  110. ^
  111. ../../deps/boost/include/boost/thread/future.hpp:1503:9: note: in expansion of macro ‘BOOST_THREAD_MOVABLE_ONLY’
  112. BOOST_THREAD_MOVABLE_ONLY(BOOST_THREAD_FUTURE)
  113. ^
  114. ../../deps/boost/include/boost/thread/future.hpp:1503:35: note: in expansion of macro ‘BOOST_THREAD_FUTURE’
  115. BOOST_THREAD_MOVABLE_ONLY(BOOST_THREAD_FUTURE)
  116. ^
  117. In file included from t.cpp:2:0:
  118. ../../deps/boost/include/boost/thread/future.hpp:65:29: note: boost::unique_future<R>::unique_future(boost::unique_future<R>::futur
  119. e_ptr) [with R = foo; boost::unique_future<R>::future_ptr = boost::shared_ptr<boost::detail::shared_state<foo> >]
  120. #define BOOST_THREAD_FUTURE unique_future
  121. ^
  122. ../../deps/boost/include/boost/thread/future.hpp:1497:9: note: in expansion of macro ‘BOOST_THREAD_FUTURE’
  123. BOOST_THREAD_FUTURE(future_ptr a_future):
  124. ^
  125. ../../deps/boost/include/boost/thread/future.hpp:65:29: note: no known conversion for argument 1 from ‘boost::unique_future<foo>’
  126. to ‘boost::unique_future<foo>::future_ptr {aka boost::shared_ptr<boost::detail::shared_state<foo> >}’
  127. #define BOOST_THREAD_FUTURE unique_future
  128. ^
  129. ../../deps/boost/include/boost/thread/future.hpp:1497:9: note: in expansion of macro ‘BOOST_THREAD_FUTURE’
  130. BOOST_THREAD_FUTURE(future_ptr a_future):
  131. ^
  132. In file included from t.cpp:2:0:
  133. ../../deps/boost/include/boost/thread/future.hpp: In function ‘boost::unique_future<typename boost::decay<T>::type> boost::make_rea
  134. dy_future(const T&) [with T = foo; typename boost::decay<T>::type = foo]’:
  135. ../../deps/boost/include/boost/thread/future.hpp:3636:3: warning: control reaches end of non-void function [-Wreturn-type]
  136. }
  137. ^
  138. In file included from ../../deps/boost/include/boost/system/system_error.hpp:14:0,
  139. from ../../deps/boost/include/boost/thread/exceptions.hpp:22,
  140. from ../../deps/boost/include/boost/thread/pthread/mutex.hpp:12,
  141. from ../../deps/boost/include/boost/thread/mutex.hpp:16,
  142. from ../../deps/boost/include/boost/thread/future.hpp:24,
  143. from t.cpp:2:
  144. ../../deps/boost/include/boost/system/error_code.hpp: At global scope:
  145. ../../deps/boost/include/boost/system/error_code.hpp:222:36: warning: ‘boost::system::posix_category’ defined but not used [-Wunuse
  146. d-variable]
  147. static const error_category & posix_category = generic_category();
  148. ^
  149. ../../deps/boost/include/boost/system/error_code.hpp:223:36: warning: ‘boost::system::errno_ecat’ defined but not used [-Wunused-va
  150. riable]
  151. static const error_category & errno_ecat = generic_category();
  152. ^
  153. ../../deps/boost/include/boost/system/error_code.hpp:224:36: warning: ‘boost::system::native_ecat’ defined but not used [-Wunused-v
  154. ariable]
  155. static const error_category & native_ecat = system_category();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement