Skip to content

Instantly share code, notes, and snippets.

@zao
Created June 2, 2021 23:21
Show Gist options
  • Save zao/460be4355a485d848e4459265468cf1e to your computer and use it in GitHub Desktop.
Save zao/460be4355a485d848e4459265468cf1e to your computer and use it in GitHub Desktop.
HPX/1.6.0 build failure VS 16.9.5
[2/739] Building CXX object examples\transpose\CMakeFiles\transpose_smp.dir\transpose_smp.cpp.obj
FAILED: examples/transpose/CMakeFiles/transpose_smp.dir/transpose_smp.cpp.obj
C:\PROGRA~2\MICROS~2\2019\BUILDT~1\VC\Tools\MSVC\1428~1.299\bin\Hostx64\x64\cl.exe <snip>
C:\stellar\hpx-1.6.0\libs\core\functional\include\hpx\functional\traits\is_invocable.hpp(78): error C2182: 'abstract declarator': illegal use of type 'void'
C:\stellar\hpx-1.6.0\libs\parallelism\algorithms\include\hpx\algorithms\traits\projected.hpp(181): note: see reference to class template instantiation 'hpx::is_invocable<F,void,void>' being compiled
with
[
F=std::less<uint64_t>
]
C:\stellar\hpx-1.6.0\libs\parallelism\algorithms\include\hpx\algorithms\traits\projected.hpp(199): note: see reference to class template instantiation 'hpx::parallel::traits::detail::is_indirect_callable_impl<F,void,void>' being compiled
with
[
F=std::less<uint64_t>
]
C:\stellar\hpx-1.6.0\libs\parallelism\algorithms\include\hpx\algorithms\traits\projected.hpp(225): note: see reference to class template instantiation 'hpx::parallel::traits::detail::is_indirect_callable<hpx::execution::parallel_policy,std::less<uint64_t>,hpx::util::pack<hpx::parallel::traits::projected_range<_Ty,boost::integer_range<uint64_t> &,void>,hpx::parallel::traits::projected_range<_Ty,boost::integer_range<uint64_t> &,void>>,void>' being compiled
with
[
_Ty=hpx_main::<lambda_bb6e97d6626dc0b628c6d789ea1297fa>
]
C:\stellar\hpx-1.6.0\libs\core\functional\include\hpx\functional\tag_invoke.hpp(127): note: see reference to class template instantiation 'hpx::parallel::traits::is_indirect_callable<const hpx::execution::parallel_policy &,std::less<uint64_t>,hpx::parallel::traits::projected_range<_Ty,boost::integer_range<uint64_t> &,void>,hpx::parallel::traits::projected_range<_Ty,boost::integer_range<uint64_t> &,void>>' being compiled
with
[
_Ty=hpx_main::<lambda_bb6e97d6626dc0b628c6d789ea1297fa>
]
C:\stellar\hpx-1.6.0\examples\transpose\transpose_smp.cpp(67): note: see reference to class template instantiation 'hpx::util::invoke_result<const hpx::functional::tag_invoke_t_ns::tag_invoke_t,Tag,const hpx::execution::parallel_policy &,boost::integer_range<uint64_t> &,hpx_main::<lambda_bb6e97d6626dc0b628c6d789ea1297fa>>' being compiled
with
[
Tag=hpx::ranges::for_each_t
]
C:\stellar\hpx-1.6.0\libs\core\functional\include\hpx\functional\tag_invoke.hpp(204): note: see reference to alias template instantiation 'hpx::functional::tag_invoke_result_t<hpx::ranges::for_each_t,const hpx::execution::parallel_policy&,boost::integer_range<uint64_t>&,hpx_main::<lambda_bb6e97d6626dc0b628c6d789ea1297fa>>' being compiled
C:\stellar\hpx-1.6.0\libs\core\functional\include\hpx\functional\tag_invoke.hpp(202): note: while compiling class template member function 'invoke_result<const hpx::functional::tag_invoke_t_ns::tag_invoke_t,Tag,Args...>::type hpx::functional::tag<Tag>::operator ()(Args &&...) noexcept(<expr>) const'
with
[
Tag=hpx::ranges::for_each_t
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment