Skip to content

Instantly share code, notes, and snippets.

@ltroska
Created April 22, 2016 16:11
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/b94d9f1115c0da1e47903b006a75f85a to your computer and use it in GitHub Desktop.
Save ltroska/b94d9f1115c0da1e47903b006a75f85a to your computer and use it in GitHub Desktop.
In file included from /home/lukas/libs/hpx_dev/hpx/dataflow.hpp:9:0,
from /home/lukas/libs/hpx_dev/hpx/runtime/components/default_distribution_policy.hpp:25,
from /home/lukas/libs/hpx_dev/hpx/runtime/components/new.hpp:17,
from /home/lukas/libs/hpx_dev/hpx/include/components.hpp:46,
from /home/lukas/libs/hpx_dev/hpx/include/runtime.hpp:10,
from /home/lukas/libs/hpx_dev/hpx/hpx.hpp:10,
from /home/lukas/code/hpx/nast_hpx/src/main.cpp:2:
/home/lukas/libs/hpx_dev/hpx/lcos/dataflow.hpp: In instantiation of ‘struct hpx::lcos::detail::dataflow_frame<hpx::launch, hpx::util::detail::unwrapped_impl<hpx_main(int, char**)::<lambda(int)> >, hpx::util::tuple<int> >’:
/home/lukas/libs/hpx_dev/hpx/lcos/local/dataflow.hpp:102:9: required by substitution of ‘template<class F, class ... Ts> static typename hpx::lcos::detail::dataflow_frame<hpx::launch, typename std::decay<_Tp>::type, hpx::util::tuple<typename hpx::traits::acquire_future<Ts, void>::type ...> >::type hpx::lcos::detail::dataflow_dispatch<Func, Enable>::call(F&&, Ts&& ...) [with F = hpx::util::detail::unwrapped_impl<hpx_main(int, char**)::<lambda(int)> >; Ts = {int}]’
/home/lukas/libs/hpx_dev/hpx/lcos/local/dataflow.hpp:218:48: required by substitution of ‘template<class F, class ... Ts> decltype (hpx::lcos::detail::dataflow_dispatch<typename std::decay<_Tp>::type>::call(forward<F>(f), (forward<Ts>)(hpx::dataflow::ts)...)) hpx::dataflow(F&&, Ts&& ...) [with F = hpx::util::detail::unwrapped_impl<hpx_main(int, char**)::<lambda(int)> >; Ts = {int}]’
/home/lukas/code/hpx/nast_hpx/src/main.cpp:22:5: required from here
/home/lukas/libs/hpx_dev/hpx/lcos/dataflow.hpp:103:12: error: no type named ‘type’ in ‘struct hpx::lcos::detail::dataflow_return<hpx::util::detail::unwrapped_impl<hpx_main(int, char**)::<lambda(int)> >, hpx::util::tuple<int>, void>’
struct dataflow_frame //-V690
^
/home/lukas/libs/hpx_dev/hpx/lcos/dataflow.hpp:109:13: error: no type named ‘type’ in ‘struct hpx::lcos::detail::dataflow_return<hpx::util::detail::unwrapped_impl<hpx_main(int, char**)::<lambda(int)> >, hpx::util::tuple<int>, void>’
result_type;
^
/home/lukas/libs/hpx_dev/hpx/lcos/dataflow.hpp:111:48: error: no type named ‘type’ in ‘struct hpx::lcos::detail::dataflow_return<hpx::util::detail::unwrapped_impl<hpx_main(int, char**)::<lambda(int)> >, hpx::util::tuple<int>, void>’
typedef hpx::lcos::future<result_type> type;
^
/home/lukas/libs/hpx_dev/hpx/lcos/dataflow.hpp:117:43: error: no type named ‘type’ in ‘struct hpx::lcos::detail::dataflow_return<hpx::util::detail::unwrapped_impl<hpx_main(int, char**)::<lambda(int)> >, hpx::util::tuple<int>, void>’
typedef std::is_void<result_type> is_void;
^
/home/lukas/libs/hpx_dev/hpx/lcos/dataflow.hpp:131:21: error: no type named ‘type’ in ‘struct hpx::lcos::detail::dataflow_return<hpx::util::detail::unwrapped_impl<hpx_main(int, char**)::<lambda(int)> >, hpx::util::tuple<int>, void>’
>::type execute_function_type;
^
/home/lukas/code/hpx/nast_hpx/src/main.cpp: In function ‘int hpx_main(int, char**)’:
/home/lukas/code/hpx/nast_hpx/src/main.cpp:22:5: error: no matching function for call to ‘dataflow(boost::disable_if_c<false, hpx::util::detail::unwrapped_impl<hpx_main(int, char**)::<lambda(int)> > >::type, int)’
);
^
In file included from /home/lukas/libs/hpx_dev/hpx/dataflow.hpp:9:0,
from /home/lukas/libs/hpx_dev/hpx/runtime/components/default_distribution_policy.hpp:25,
from /home/lukas/libs/hpx_dev/hpx/runtime/components/new.hpp:17,
from /home/lukas/libs/hpx_dev/hpx/include/components.hpp:46,
from /home/lukas/libs/hpx_dev/hpx/include/runtime.hpp:10,
from /home/lukas/libs/hpx_dev/hpx/hpx.hpp:10,
from /home/lukas/code/hpx/nast_hpx/src/main.cpp:2:
/home/lukas/libs/hpx_dev/hpx/lcos/dataflow.hpp:614:10: note: candidate: template<class Action, class F, class ... Ts> decltype (hpx::lcos::detail::dataflow_action_dispatch<Action, typename std::decay<_Tp2>::type>::call(forward<F>(f), (forward<Ts>)(hpx::dataflow::ts)...)) hpx::dataflow(F&&, Ts&& ...)
auto dataflow(F && f, Ts &&... ts)
^
/home/lukas/libs/hpx_dev/hpx/lcos/dataflow.hpp:614:10: note: template argument deduction/substitution failed:
/home/lukas/code/hpx/nast_hpx/src/main.cpp:22:5: note: couldn't deduce template parameter ‘Action’
);
^
In file included from /home/lukas/libs/hpx_dev/hpx/dataflow.hpp:10:0,
from /home/lukas/libs/hpx_dev/hpx/runtime/components/default_distribution_policy.hpp:25,
from /home/lukas/libs/hpx_dev/hpx/runtime/components/new.hpp:17,
from /home/lukas/libs/hpx_dev/hpx/include/components.hpp:46,
from /home/lukas/libs/hpx_dev/hpx/include/runtime.hpp:10,
from /home/lukas/libs/hpx_dev/hpx/hpx.hpp:10,
from /home/lukas/code/hpx/nast_hpx/src/main.cpp:2:
/home/lukas/libs/hpx_dev/hpx/lcos/local/dataflow.hpp:216:10: note: candidate: template<class F, class ... Ts> decltype (hpx::lcos::detail::dataflow_dispatch<typename std::decay<_Tp>::type>::call(forward<F>(f), (forward<Ts>)(hpx::dataflow::ts)...)) hpx::dataflow(F&&, Ts&& ...)
auto dataflow(F && f, Ts &&... ts)
^
/home/lukas/libs/hpx_dev/hpx/lcos/local/dataflow.hpp:216:10: note: substitution of deduced template arguments resulted in errors seen above
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment