Skip to content

Instantly share code, notes, and snippets.

@ltroska
Created March 1, 2016 15:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ltroska/e51adaf6d9002c764fd7 to your computer and use it in GitHub Desktop.
Save ltroska/e51adaf6d9002c764fd7 to your computer and use it in GitHub Desktop.
corresponding error message
In file included from /home/troska/opt/hpx_release/include/hpx/dataflow.hpp:9:0,
from /home/troska/opt/hpx_release/include/hpx/runtime/components/default_distribution_policy.hpp:24,
from /home/troska/opt/hpx_release/include/hpx/runtime/components/new.hpp:17,
from /home/troska/opt/hpx_release/include/hpx/include/components.hpp:45,
from /home/troska/opt/hpx_release/include/hpx/include/runtime.hpp:10,
from /home/troska/opt/hpx_release/include/hpx/hpx.hpp:10,
from /home/troska/Work/nast_hpx/src/main.cpp:2:
/home/troska/opt/hpx_release/include/hpx/lcos/dataflow.hpp: In instantiation of ‘void hpx::lcos::detail::dataflow_frame<Policy, Func, Futures>::execute(mpl_::false_) [with Policy = hpx::launch; Func = foo_action; Futures = hpx::util::tuple<hpx::naming::id_type>; mpl_::false_ = mpl_::bool_<false>]’:
/home/troska/opt/hpx_release/include/hpx/lcos/dataflow.hpp:204:34: required from ‘void hpx::lcos::detail::dataflow_frame<Policy, Func, Futures>::finalize(hpx::launch) [with Policy = hpx::launch; Func = foo_action; Futures = hpx::util::tuple<hpx::naming::id_type>]’
/home/troska/opt/hpx_release/include/hpx/lcos/dataflow.hpp:468:33: required from ‘void hpx::lcos::detail::dataflow_frame<Policy, Func, Futures>::do_await() [with Policy = hpx::launch; Func = foo_action; Futures = hpx::util::tuple<hpx::naming::id_type>]’
/home/troska/opt/hpx_release/include/hpx/lcos/dataflow.hpp:523:13: required from ‘static typename hpx::lcos::detail::dataflow_frame<hpx::launch, Derived, hpx::util::tuple<hpx::naming::id_type, typename hpx::traits::acquire_future<Ts, void>::type ...> >::type hpx::lcos::detail::dataflow_dispatch<Action, typename boost::enable_if_c<hpx::traits::is_action<F>::value>::type>::call(hpx::launch, const hpx::actions::basic_action<Component, Signature, Derived>&, const hpx::naming::id_type&, Ts&& ...) [with Component = hpx::actions::detail::plain_function; Signature = hpx::lcos::future<double>(); Derived = foo_action; Ts = {}; Action = foo_action; typename hpx::lcos::detail::dataflow_frame<hpx::launch, Derived, hpx::util::tuple<hpx::naming::id_type, typename hpx::traits::acquire_future<Ts, void>::type ...> >::type = hpx::lcos::future<double>]’
/home/troska/opt/hpx_release/include/hpx/lcos/dataflow.hpp:544:70: required from ‘static typename hpx::lcos::detail::dataflow_frame<hpx::launch, Derived, hpx::util::tuple<hpx::naming::id_type, typename hpx::traits::acquire_future<Ts, void>::type ...> >::type hpx::lcos::detail::dataflow_dispatch<Action, typename boost::enable_if_c<hpx::traits::is_action<F>::value>::type>::call(const hpx::actions::basic_action<Component, Signature, Derived>&, const hpx::naming::id_type&, Ts&& ...) [with Component = hpx::actions::detail::plain_function; Signature = hpx::lcos::future<double>(); Derived = foo_action; Ts = {}; Action = foo_action; typename hpx::lcos::detail::dataflow_frame<hpx::launch, Derived, hpx::util::tuple<hpx::naming::id_type, typename hpx::traits::acquire_future<Ts, void>::type ...> >::type = hpx::lcos::future<double>]’
/home/troska/opt/hpx_release/include/hpx/lcos/local/dataflow.hpp:233:60: required from ‘decltype (hpx::lcos::detail::dataflow_dispatch<typename hpx::util::decay<FunctorType>::type>::call(forward<F>(f), (forward<Ts>)(hpx::dataflow::ts)...)) hpx::dataflow(F&&, Ts&& ...) [with F = foo_action; Ts = {hpx::naming::id_type}; decltype (hpx::lcos::detail::dataflow_dispatch<typename hpx::util::decay<FunctorType>::type>::call(forward<F>(f), (forward<Ts>)(hpx::dataflow::ts)...)) = hpx::lcos::future<double>; typename hpx::util::decay<FunctorType>::type = foo_action]’
/home/troska/Work/nast_hpx/src/main.cpp:14:50: required from here
/home/troska/opt/hpx_release/include/hpx/lcos/dataflow.hpp:166:51: error: cannot convert ‘hpx::util::detail::result_of_function_object_impl::result_of_function_object<foo_action&(hpx::naming::id_type&&), hpx::lcos::future<double> >::type {aka hpx::lcos::future<double>}’ to ‘hpx::lcos::detail::dataflow_frame<hpx::launch, foo_action, hpx::util::tuple<hpx::naming::id_type> >::result_type {aka double}’ in initialization
func_, std::move(futures_));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment