Skip to content

Instantly share code, notes, and snippets.

@zao
Created December 8, 2017 23:04
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 zao/30ca2ea01dcd5863e8a34552bb35effa to your computer and use it in GitHub Desktop.
Save zao/30ca2ea01dcd5863e8a34552bb35effa to your computer and use it in GitHub Desktop.
3d36f0b749fcf2491e2063337c8ac14901d3fdc1
[1167/1450] Building CXX object tests/unit/parallel/executors/CMakeFiles/minimal_timed_sync_executor_test_exe.dir/minimal_timed_sync_executor.cpp.o
[1168/1450] Linking CXX executable bin/minimal_timed_sync_executor_test
[1169/1450] Building CXX object tests/unit/parallel/executors/CMakeFiles/minimal_timed_async_executor_test_exe.dir/minimal_timed_async_executor.cpp.o
FAILED: tests/unit/parallel/executors/CMakeFiles/minimal_timed_async_executor_test_exe.dir/minimal_timed_async_executor.cpp.o
/usr/bin/clang++ -DBOOST_DISABLE_ASSERTS -DHPX_APPLICATION_EXPORTS -DHPX_APPLICATION_NAME=minimal_timed_async_executor_test_exe -DHPX_APPLICATION_STRING=\"minimal_timed_async_executor_test_exe\" -DHPX_DISABLE_ASSERTS -DHPX_PREFIX=\"/tree/build-rwdi\" -D_GNU_SOURCE -I/tree/hpx -isystem /opt/boost-1.65.1-cxx14/include -I. -I/tree/hpx/tests -pthread -Wall -Wextra -Wno-unused-local-typedefs -Wno-strict-aliasing -Wno-sign-promo -Wno-attributes -Wno-cast-align -Wno-unused-parameter -Wformat=2 -Wno-format-nonliteral -Winit-self -Wdouble-promotion -Wcast-qual -Werror=parentheses -Werror=reorder -Werror=return-type -Werror=sequence-point -Werror=uninitialized -Werror=format -Werror=missing-braces -Werror=sign-compare -fdiagnostics-show-option -Werror=vla -Werror=return-type -Wno-cast-align -O2 -g -DNDEBUG -std=c++14 -MD -MT tests/unit/parallel/executors/CMakeFiles/minimal_timed_async_executor_test_exe.dir/minimal_timed_async_executor.cpp.o -MF tests/unit/parallel/executors/CMakeFiles/minimal_timed_async_executor_test_exe.dir/minimal_timed_async_executor.cpp.o.d -o tests/unit/parallel/executors/CMakeFiles/minimal_timed_async_executor_test_exe.dir/minimal_timed_async_executor.cpp.o -c /tree/hpx/tests/unit/parallel/executors/minimal_timed_async_executor.cpp
In file included from /tree/hpx/tests/unit/parallel/executors/minimal_timed_async_executor.cpp:7:
In file included from /tree/hpx/hpx/hpx.hpp:10:
In file included from /tree/hpx/hpx/include/lcos.hpp:11:
In file included from /tree/hpx/hpx/include/actions.hpp:11:
In file included from /tree/hpx/hpx/runtime/actions/action_invoke_no_more_than.hpp:12:
In file included from /tree/hpx/hpx/runtime/actions/continuation.hpp:14:
In file included from /tree/hpx/hpx/runtime/actions/trigger.hpp:11:
In file included from /tree/hpx/hpx/lcos/future.hpp:1597:
In file included from /tree/hpx/hpx/lcos/local/packaged_continuation.hpp:24:
/tree/hpx/hpx/util/deferred_call.hpp:173:16: error: call to deleted constructor of 'typename std::decay<deferred<id (*(int &&))(int)> &>::type' (aka 'hpx::util::detail::deferred<hpx::thread::id (*(int &&))(int)>')
return std::forward<F>(f);
^~~~~~~~~~~~~~~~~~
/tree/hpx/hpx/async_launch_policy_dispatch.hpp:161:23: note: in instantiation of function template specialization 'hpx::util::deferred_call<hpx::util::detail::deferred<hpx::thread::id (*(int &&))(int)> &>' requested here
util::deferred_call(std::forward<F>(f), std::forward<Ts>(ts)...));
^
/tree/hpx/hpx/lcos/async.hpp:330:16: note: in instantiation of function template specialization 'hpx::detail::async_launch_policy_dispatch<hpx::util::detail::deferred<hpx::thread::id (*(int &&))(int)>, void>::call<hpx::util::detail::deferred<hpx::thread::id (*(int &&))(int)> &>' requested here
>::call(std::forward<Policy_>(launch_policy), std::forward<F>(f),
^
/tree/hpx/hpx/async.hpp:141:16: note: in instantiation of function template specialization 'hpx::detail::async_dispatch<hpx::detail::async_policy, void>::call<const hpx::detail::async_policy &, hpx::util::detail::deferred<hpx::thread::id (*(int &&))(int)> &>' requested here
>::call(std::forward<F>(f), std::forward<Ts>(ts)...);
^
/tree/hpx/tests/unit/parallel/executors/minimal_timed_async_executor.cpp:215:21: note: in instantiation of function template specialization 'hpx::async<const hpx::detail::async_policy &, hpx::util::detail::deferred<hpx::thread::id (*(int &&))(int)> &>' requested here
return hpx::async(hpx::launch::async, std::forward<F>(f),
^
/tree/hpx/hpx/parallel/executors/execution.hpp:395:29: note: in instantiation of function template specialization 'test_timed_async_executor2::sync_execute<hpx::util::detail::deferred<hpx::thread::id (*(int &&))(int)> &>' requested here
return exec.sync_execute(std::forward<F>(f),
^
/tree/hpx/hpx/parallel/executors/execution.hpp:407:24: note: (skipping 6 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all)
return call_impl(0, std::forward<TwoWayExecutor>(exec),
^
/tree/hpx/hpx/parallel/executors/execution.hpp:407:24: note: in instantiation of function template specialization 'hpx::parallel::execution::detail::sync_execute_fn_helper<hpx::parallel::execution::timed_executor<test_timed_async_executor2>, void>::call_impl<hpx::parallel::execution::timed_executor<test_timed_async_executor2> &, hpx::thread::id (*)(int), int>' requested here
/tree/hpx/hpx/parallel/executors/execution_fwd.hpp:239:20: note: in instantiation of function template specialization 'hpx::parallel::execution::detail::sync_execute_fn_helper<hpx::parallel::execution::timed_executor<test_timed_async_executor2>, void>::call<hpx::parallel::execution::timed_executor<test_timed_async_executor2> &, hpx::thread::id (*)(int), int>' requested here
>::call(std::forward<Executor>(exec), std::forward<F>(f),
^
/tree/hpx/hpx/parallel/executors/execution_fwd.hpp:350:20: note: in instantiation of function template specialization 'hpx::parallel::execution::detail::sync_execute<hpx::parallel::execution::timed_executor<test_timed_async_executor2> &, hpx::thread::id (*)(int), int>' requested here
return sync_execute(std::forward<Executor>(exec),
^
/tree/hpx/tests/unit/parallel/executors/minimal_timed_async_executor.cpp:151:5: note: in instantiation of function template specialization 'test_timed_sync<test_timed_async_executor2>' requested here
test_timed_sync(exec);
^
/tree/hpx/tests/unit/parallel/executors/minimal_timed_async_executor.cpp:287:5: note: in instantiation of function template specialization 'test_timed_executor<test_timed_async_executor2>' requested here
test_timed_executor<test_timed_async_executor2>({{ 2, 0, 4, 0, 0, 0 }});
^
/tree/hpx/hpx/util/deferred_call.hpp:97:13: note: 'deferred' has been explicitly marked deleted here
deferred(deferred const&) = delete;
^
1 error generated.
[1170/1450] Building CXX object tests/unit/parallel/executors/CMakeFiles/parallel_executor_v1_test_exe.dir/parallel_executor_v1.cpp.o
[1171/1450] Building CXX object tests/unit/parallel/executors/CMakeFiles/persistent_executor_parameters_test_exe.dir/persistent_executor_parameters.cpp.o
[1172/1450] Building CXX object tests/unit/parallel/executors/CMakeFiles/parallel_fork_executor_test_exe.dir/parallel_fork_executor.cpp.o
[1173/1450] Building CXX object tests/unit/parallel/executors/CMakeFiles/minimal_sync_executor_test_exe.dir/minimal_sync_executor.cpp.o
[1174/1450] Building CXX object tests/unit/parallel/executors/CMakeFiles/bulk_async_test_exe.dir/bulk_async.cpp.o
[1175/1450] Building CXX object tests/unit/parallel/executors/CMakeFiles/created_executor_test_exe.dir/created_executor.cpp.o
[1176/1450] Building CXX object tests/unit/parallel/executors/CMakeFiles/minimal_async_executor_test_exe.dir/minimal_async_executor.cpp.o
[1177/1450] Building CXX object tests/unit/parallel/executors/CMakeFiles/minimal_async_executor_v1_test_exe.dir/minimal_async_executor_v1.cpp.o
[1178/1450] Building CXX object tests/unit/parallel/executors/CMakeFiles/executor_parameters_test_exe.dir/executor_parameters.cpp.o
ninja: build stopped: subcommand failed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment