Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- In file included from ../../deps/boost/include/boost/tuple/tuple.hpp:33:0,
- from ../../deps/boost/include/boost/thread/detail/async_func.hpp:37,
- from ../../deps/boost/include/boost/thread/future.hpp:22,
- from t.cpp:2:
- ../../deps/boost/include/boost/tuple/detail/tuple_basic.hpp: In function ‘typename boost::tuples::access_traits<typename boost::tup
- les::element<N, boost::tuples::cons<HT, TT> >::type>::const_type boost::tuples::get(const boost::tuples::cons<HT, TT>&)’:
- ../../deps/boost/include/boost/tuple/detail/tuple_basic.hpp:228:45: warning: typedef ‘cons_element’ locally defined but not used [-
- Wunused-local-typedefs]
- typedef BOOST_DEDUCED_TYPENAME impl::type cons_element;
- ^
- In file included from ../../deps/boost/include/boost/bind/bind.hpp:29:0,
- from ../../deps/boost/include/boost/bind.hpp:22,
- from ../../deps/boost/include/boost/thread/future.hpp:41,
- from t.cpp:2:
- ../../deps/boost/include/boost/bind/arg.hpp: In constructor ‘boost::arg<I>::arg(const T&)’:
- ../../deps/boost/include/boost/bind/arg.hpp:37:22: warning: typedef ‘T_must_be_placeholder’ locally defined but not used [-Wunused-
- local-typedefs]
- typedef char T_must_be_placeholder[ I == is_placeholder<T>::value? 1: -1 ];
- ^
- t.cpp: In function ‘int main()’:
- t.cpp:12:42: warning: unused variable ‘fut’ [-Wunused-variable]
- const boost::unique_future<foo>& fut = boost::make_ready_future( foo(42) );
- ^
- In file included from ../../deps/boost/include/boost/thread/future.hpp:21:0,
- from t.cpp:2:
- ../../deps/boost/include/boost/thread/future.hpp: In instantiation of ‘boost::unique_future<typename boost::decay<T>::type> boost::
- make_ready_future(const T&) [with T = foo; typename boost::decay<T>::type = foo]’:
- t.cpp:12:82: required from here
- ../../deps/boost/include/boost/thread/detail/move.hpp:183:54: error: no matching function for call to ‘boost::unique_future<foo>::u
- nique_future(boost::unique_future<foo>)’
- #define BOOST_THREAD_MAKE_RV_REF(RVALUE) RVALUE.move()
- ^
- ../../deps/boost/include/boost/thread/future.hpp:3635:12: note: in expansion of macro ‘BOOST_THREAD_MAKE_RV_REF’
- return BOOST_THREAD_MAKE_RV_REF(p.get_future());
- ^
- ../../deps/boost/include/boost/thread/detail/move.hpp:183:54: note: candidates are:
- #define BOOST_THREAD_MAKE_RV_REF(RVALUE) RVALUE.move()
- ^
- ../../deps/boost/include/boost/thread/future.hpp:3635:12: note: in expansion of macro ‘BOOST_THREAD_MAKE_RV_REF’
- return BOOST_THREAD_MAKE_RV_REF(p.get_future());
- ^
- In file included from t.cpp:2:0:
- ../../deps/boost/include/boost/thread/future.hpp:65:29: note: boost::unique_future<R>::unique_future(boost::detail::thread_move_t<b
- oost::unique_future<boost::unique_future<R> > >) [with R = foo]
- #define BOOST_THREAD_FUTURE unique_future
- ^
- ../../deps/boost/include/boost/thread/future.hpp:1515:16: note: in expansion of macro ‘BOOST_THREAD_FUTURE’
- inline BOOST_THREAD_FUTURE(BOOST_THREAD_RV_REF(BOOST_THREAD_FUTURE<BOOST_THREAD_FUTURE<R> >) other); // EXTENSION
- ^
- ../../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> > >’
- #define BOOST_THREAD_FUTURE unique_future
- ^
- ../../deps/boost/include/boost/thread/future.hpp:1515:16: note: in expansion of macro ‘BOOST_THREAD_FUTURE’
- inline BOOST_THREAD_FUTURE(BOOST_THREAD_RV_REF(BOOST_THREAD_FUTURE<BOOST_THREAD_FUTURE<R> >) other); // EXTENSION
- ^
- ../../deps/boost/include/boost/thread/future.hpp:65:29: note: boost::unique_future<R>::unique_future(boost::detail::thread_move_t<b
- oost::unique_future<R> >) [with R = foo]
- #define BOOST_THREAD_FUTURE unique_future
- ^
- ../../deps/boost/include/boost/thread/future.hpp:1511:9: note: in expansion of macro ‘BOOST_THREAD_FUTURE’
- BOOST_THREAD_FUTURE(BOOST_THREAD_RV_REF(BOOST_THREAD_FUTURE) other) BOOST_NOEXCEPT:
- ^
- ../../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<foo> >’
- #define BOOST_THREAD_FUTURE unique_future
- ^
- ../../deps/boost/include/boost/thread/future.hpp:1511:9: note: in expansion of macro ‘BOOST_THREAD_FUTURE’
- BOOST_THREAD_FUTURE(BOOST_THREAD_RV_REF(BOOST_THREAD_FUTURE) other) BOOST_NOEXCEPT:
- ^
- ../../deps/boost/include/boost/thread/future.hpp:65:29: note: boost::unique_future<R>::unique_future() [with R = foo]
- #define BOOST_THREAD_FUTURE unique_future
- ^
- ../../deps/boost/include/boost/thread/future.hpp:1507:25: note: in expansion of macro ‘BOOST_THREAD_FUTURE’
- BOOST_CONSTEXPR BOOST_THREAD_FUTURE() {}
- ^
- ../../deps/boost/include/boost/thread/future.hpp:65:29: note: candidate expects 0 arguments, 1 provided
- #define BOOST_THREAD_FUTURE unique_future
- ^
- ../../deps/boost/include/boost/thread/future.hpp:1507:25: note: in expansion of macro ‘BOOST_THREAD_FUTURE’
- BOOST_CONSTEXPR BOOST_THREAD_FUTURE() {}
- ^
- In file included from ../../deps/boost/include/boost/thread/detail/move.hpp:19:0,
- from ../../deps/boost/include/boost/thread/future.hpp:21,
- from t.cpp:2:
- ../../deps/boost/include/boost/thread/future.hpp:65:29: note: boost::unique_future<R>::unique_future(boost::unique_future<R>&) [wit
- h R = foo]
- #define BOOST_THREAD_FUTURE unique_future
- ^
- ../../deps/boost/include/boost/thread/detail/delete.hpp:39:7: note: in definition of macro ‘BOOST_THREAD_DELETE_COPY_CTOR’
- CLASS(CLASS&); \
- ^
- ../../deps/boost/include/boost/thread/detail/move.hpp:231:3: note: in expansion of macro ‘BOOST_THREAD_NO_COPYABLE’
- BOOST_THREAD_NO_COPYABLE(TYPE) \
- ^
- ../../deps/boost/include/boost/thread/future.hpp:1503:9: note: in expansion of macro ‘BOOST_THREAD_MOVABLE_ONLY’
- BOOST_THREAD_MOVABLE_ONLY(BOOST_THREAD_FUTURE)
- ^
- ../../deps/boost/include/boost/thread/future.hpp:1503:35: note: in expansion of macro ‘BOOST_THREAD_FUTURE’
- BOOST_THREAD_MOVABLE_ONLY(BOOST_THREAD_FUTURE)
- ^
- ../../deps/boost/include/boost/thread/future.hpp:65:29: note: no known conversion for argument 1 from ‘boost::unique_future<foo>’
- to ‘boost::unique_future<foo>&’
- #define BOOST_THREAD_FUTURE unique_future
- ^
- ../../deps/boost/include/boost/thread/detail/delete.hpp:39:7: note: in definition of macro ‘BOOST_THREAD_DELETE_COPY_CTOR’
- CLASS(CLASS&); \
- ^
- ../../deps/boost/include/boost/thread/detail/move.hpp:231:3: note: in expansion of macro ‘BOOST_THREAD_NO_COPYABLE’
- BOOST_THREAD_NO_COPYABLE(TYPE) \
- ^
- ../../deps/boost/include/boost/thread/future.hpp:1503:9: note: in expansion of macro ‘BOOST_THREAD_MOVABLE_ONLY’
- BOOST_THREAD_MOVABLE_ONLY(BOOST_THREAD_FUTURE)
- ^
- ../../deps/boost/include/boost/thread/future.hpp:1503:35: note: in expansion of macro ‘BOOST_THREAD_FUTURE’
- BOOST_THREAD_MOVABLE_ONLY(BOOST_THREAD_FUTURE)
- ^
- In file included from t.cpp:2:0:
- ../../deps/boost/include/boost/thread/future.hpp:65:29: note: boost::unique_future<R>::unique_future(boost::unique_future<R>::futur
- e_ptr) [with R = foo; boost::unique_future<R>::future_ptr = boost::shared_ptr<boost::detail::shared_state<foo> >]
- #define BOOST_THREAD_FUTURE unique_future
- ^
- ../../deps/boost/include/boost/thread/future.hpp:1497:9: note: in expansion of macro ‘BOOST_THREAD_FUTURE’
- BOOST_THREAD_FUTURE(future_ptr a_future):
- ^
- ../../deps/boost/include/boost/thread/future.hpp:65:29: note: no known conversion for argument 1 from ‘boost::unique_future<foo>’
- to ‘boost::unique_future<foo>::future_ptr {aka boost::shared_ptr<boost::detail::shared_state<foo> >}’
- #define BOOST_THREAD_FUTURE unique_future
- ^
- ../../deps/boost/include/boost/thread/future.hpp:1497:9: note: in expansion of macro ‘BOOST_THREAD_FUTURE’
- BOOST_THREAD_FUTURE(future_ptr a_future):
- ^
- In file included from t.cpp:2:0:
- ../../deps/boost/include/boost/thread/future.hpp: In function ‘boost::unique_future<typename boost::decay<T>::type> boost::make_rea
- dy_future(const T&) [with T = foo; typename boost::decay<T>::type = foo]’:
- ../../deps/boost/include/boost/thread/future.hpp:3636:3: warning: control reaches end of non-void function [-Wreturn-type]
- }
- ^
- In file included from ../../deps/boost/include/boost/system/system_error.hpp:14:0,
- from ../../deps/boost/include/boost/thread/exceptions.hpp:22,
- from ../../deps/boost/include/boost/thread/pthread/mutex.hpp:12,
- from ../../deps/boost/include/boost/thread/mutex.hpp:16,
- from ../../deps/boost/include/boost/thread/future.hpp:24,
- from t.cpp:2:
- ../../deps/boost/include/boost/system/error_code.hpp: At global scope:
- ../../deps/boost/include/boost/system/error_code.hpp:222:36: warning: ‘boost::system::posix_category’ defined but not used [-Wunuse
- d-variable]
- static const error_category & posix_category = generic_category();
- ^
- ../../deps/boost/include/boost/system/error_code.hpp:223:36: warning: ‘boost::system::errno_ecat’ defined but not used [-Wunused-va
- riable]
- static const error_category & errno_ecat = generic_category();
- ^
- ../../deps/boost/include/boost/system/error_code.hpp:224:36: warning: ‘boost::system::native_ecat’ defined but not used [-Wunused-v
- ariable]
- static const error_category & native_ecat = system_category();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement