Created
March 26, 2014 13:38
-
-
Save oberstet/9783319 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
oberstet@corei7ub1310:~/scm/tavendo/autobahn/AutobahnCpp$ scons | |
scons: Reading SConscript files ... | |
scons: done reading SConscript files. | |
scons: Building targets ... | |
clang++ -o build/test/test10.o -c -std=c++11 -stdlib=libc++ -Wall -Wno-deprecated-declarations -pthread -I/home/oberstet/boost -Iinclude -I/home/oberstet/msgpack_clang/include test/test10.cpp | |
test/test10.cpp:14:44: error: no viable conversion from 'future<typename detail::when_type<class future<int> &, class future<int> &>::container_type>' to | |
'future<tuple<future<int>, future<int> >>' | |
future<tuple<future<int>, future<int>>> f3 = when_all(f1, f2); | |
^ ~~~~~~~~~~~~~~~~ | |
/home/oberstet/boost/boost/thread/future.hpp:1542:9: note: candidate constructor not viable: no known conversion from 'future<typename detail::when_type<future<int> &, | |
future<int> &>::container_type>' to 'future_ptr' (aka 'shared_ptr<detail::shared_state<tuple<future<int>, future<int>, null_type, null_type, null_type, null_type, | |
null_type, null_type, null_type, null_type> > >') for 1st argument | |
BOOST_THREAD_FUTURE(future_ptr a_future): | |
^ | |
/home/oberstet/boost/boost/thread/future.hpp:71:29: note: expanded from macro 'BOOST_THREAD_FUTURE' | |
#define BOOST_THREAD_FUTURE future | |
^ | |
/home/oberstet/boost/boost/thread/future.hpp:1548:35: note: candidate constructor not viable: no known conversion from 'future<typename detail::when_type<future<int> &, | |
future<int> &>::container_type>' to 'const boost::future<boost::tuples::tuple<boost::future<int>, boost::future<int>, boost::tuples::null_type, boost::tuples::null_type, | |
boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type> > &' for 1st | |
argument | |
BOOST_THREAD_MOVABLE_ONLY(BOOST_THREAD_FUTURE) | |
^ | |
/home/oberstet/boost/boost/thread/future.hpp:71:29: note: expanded from macro 'BOOST_THREAD_FUTURE' | |
#define BOOST_THREAD_FUTURE future | |
^ | |
/home/oberstet/boost/boost/thread/detail/move.hpp:240:28: note: expanded from macro 'BOOST_THREAD_MOVABLE_ONLY' | |
BOOST_THREAD_NO_COPYABLE(TYPE) \ | |
^ | |
/home/oberstet/boost/boost/thread/detail/delete.hpp:55:35: note: expanded from macro 'BOOST_THREAD_NO_COPYABLE' | |
BOOST_THREAD_DELETE_COPY_CTOR(CLASS) \ | |
^ | |
/home/oberstet/boost/boost/thread/detail/delete.hpp:21:7: note: expanded from macro 'BOOST_THREAD_DELETE_COPY_CTOR' | |
CLASS(CLASS const&) = delete; \ | |
^ | |
/home/oberstet/boost/boost/thread/future.hpp:1554:9: note: candidate constructor not viable: no known conversion from 'future<typename detail::when_type<future<int> &, | |
future<int> &>::container_type>' to 'const boost::exceptional_ptr &' for 1st argument | |
BOOST_THREAD_FUTURE(exceptional_ptr const& ex): | |
^ | |
/home/oberstet/boost/boost/thread/future.hpp:71:29: note: expanded from macro 'BOOST_THREAD_FUTURE' | |
#define BOOST_THREAD_FUTURE future | |
^ | |
/home/oberstet/boost/boost/thread/future.hpp:1559:9: note: candidate constructor not viable: no known conversion from 'future<typename detail::when_type<future<int> &, | |
future<int> &>::container_type>' to 'boost::future<boost::tuples::tuple<boost::future<int>, boost::future<int>, boost::tuples::null_type, boost::tuples::null_type, | |
boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type> > &&' for 1st | |
argument | |
BOOST_THREAD_FUTURE(BOOST_THREAD_RV_REF(BOOST_THREAD_FUTURE) other) BOOST_NOEXCEPT: | |
^ | |
/home/oberstet/boost/boost/thread/future.hpp:71:29: note: expanded from macro 'BOOST_THREAD_FUTURE' | |
#define BOOST_THREAD_FUTURE future | |
^ | |
/home/oberstet/boost/boost/thread/future.hpp:1563:16: note: candidate constructor not viable: no known conversion from 'future<typename detail::when_type<future<int> &, | |
future<int> &>::container_type>' to 'future<future<boost::tuples::tuple<boost::future<int>, boost::future<int>, boost::tuples::null_type, boost::tuples::null_type, | |
boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type> > > &&' for 1st | |
argument | |
inline BOOST_THREAD_FUTURE(BOOST_THREAD_RV_REF(BOOST_THREAD_FUTURE<BOOST_THREAD_FUTURE<R> >) other); // EXTENSION | |
^ | |
/home/oberstet/boost/boost/thread/future.hpp:71:29: note: expanded from macro 'BOOST_THREAD_FUTURE' | |
#define BOOST_THREAD_FUTURE future | |
^ | |
/home/oberstet/boost/boost/thread/future.hpp:4608:7: warning: expression result unused [-Wunused-value] | |
typename alias_t<char[]>::type{ | |
^ ~ | |
/home/oberstet/boost/boost/thread/future.hpp:4768:15: note: in instantiation of function template specialization | |
'boost::detail::future_when_all_vector_shared_state<boost::future<int> >::future_when_all_vector_shared_state<boost::future<int> &, boost::future<int> &>' requested here | |
h(new factory_type(detail::values_tag_value, boost::forward<T0>(f), boost::forward<T>(futures)...)); | |
^ | |
test/test10.cpp:14:49: note: in instantiation of function template specialization 'boost::when_all<boost::future<int> &, boost::future<int> &>' requested here | |
future<tuple<future<int>, future<int>>> f3 = when_all(f1, f2); | |
^ | |
In file included from test/test10.cpp:1: | |
In file included from /usr/include/c++/v1/iostream:38: | |
In file included from /usr/include/c++/v1/ios:216: | |
In file included from /usr/include/c++/v1/__locale:15: | |
In file included from /usr/include/c++/v1/string:434: | |
In file included from /usr/include/c++/v1/algorithm:627: | |
/usr/include/c++/v1/memory:1685:31: error: call to deleted constructor of 'boost::future<int>' | |
::new((void*)__p) _Up(_VSTD::forward<_Args>(__args)...); | |
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
/usr/include/c++/v1/memory:1612:18: note: in instantiation of function template specialization 'std::__1::allocator<boost::future<int> >::construct<boost::future<int>, const | |
boost::future<int> &>' requested here | |
{__a.construct(__p, _VSTD::forward<_Args>(__args)...);} | |
^ | |
/usr/include/c++/v1/memory:1493:14: note: in instantiation of function template specialization 'std::__1::allocator_traits<std::__1::allocator<boost::future<int> > | |
>::__construct<boost::future<int>, const boost::future<int> &>' requested here | |
{__construct(__has_construct<allocator_type, pointer, _Args...>(), | |
^ | |
/usr/include/c++/v1/vector:1518:25: note: in instantiation of function template specialization 'std::__1::allocator_traits<std::__1::allocator<boost::future<int> > | |
>::construct<boost::future<int>, const boost::future<int> &>' requested here | |
__alloc_traits::construct(this->__alloc(), | |
^ | |
/home/oberstet/boost/boost/thread/future.hpp:4607:12: note: in instantiation of member function 'std::__1::vector<boost::future<int>, std::__1::allocator<boost::future<int> > | |
>::push_back' requested here | |
vec_.push_back(boost::forward<T0>(f)); | |
^ | |
/home/oberstet/boost/boost/thread/future.hpp:4768:15: note: in instantiation of function template specialization | |
'boost::detail::future_when_all_vector_shared_state<boost::future<int> >::future_when_all_vector_shared_state<boost::future<int> &, boost::future<int> &>' requested here | |
h(new factory_type(detail::values_tag_value, boost::forward<T0>(f), boost::forward<T>(futures)...)); | |
^ | |
test/test10.cpp:14:49: note: in instantiation of function template specialization 'boost::when_all<boost::future<int> &, boost::future<int> &>' requested here | |
future<tuple<future<int>, future<int>>> f3 = when_all(f1, f2); | |
^ | |
/home/oberstet/boost/boost/thread/future.hpp:1548:35: note: function has been explicitly marked deleted here | |
BOOST_THREAD_MOVABLE_ONLY(BOOST_THREAD_FUTURE) | |
^ | |
/home/oberstet/boost/boost/thread/future.hpp:71:29: note: expanded from macro 'BOOST_THREAD_FUTURE' | |
#define BOOST_THREAD_FUTURE future | |
^ | |
/home/oberstet/boost/boost/thread/detail/move.hpp:240:28: note: expanded from macro 'BOOST_THREAD_MOVABLE_ONLY' | |
BOOST_THREAD_NO_COPYABLE(TYPE) \ | |
^ | |
/home/oberstet/boost/boost/thread/detail/delete.hpp:55:35: note: expanded from macro 'BOOST_THREAD_NO_COPYABLE' | |
BOOST_THREAD_DELETE_COPY_CTOR(CLASS) \ | |
^ | |
/home/oberstet/boost/boost/thread/detail/delete.hpp:21:7: note: expanded from macro 'BOOST_THREAD_DELETE_COPY_CTOR' | |
CLASS(CLASS const&) = delete; \ | |
^ | |
1 warning and 2 errors generated. | |
scons: *** [build/test/test10.o] Error 1 | |
scons: building terminated because of errors. | |
oberstet@corei7ub1310:~/scm/tavendo/autobahn/AutobahnCpp$ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment