Skip to content

Instantly share code, notes, and snippets.

@zbyerly
Created June 28, 2017 18:22
Show Gist options
  • Save zbyerly/9ebd01bd4214fc2da62278f76b4788f9 to your computer and use it in GitHub Desktop.
Save zbyerly/9ebd01bd4214fc2da62278f76b4788f9 to your computer and use it in GitHub Desktop.
g++ error message
In file included from /home/zbyerly/work/local_install_RelWithDebInfo/include/hpx/runtime/applier/apply.hpp:16:0,
from /home/zbyerly/work/local_install_RelWithDebInfo/include/hpx/runtime/actions/continuation_impl.hpp:10,
from /home/zbyerly/work/local_install_RelWithDebInfo/include/hpx/runtime/actions/make_continuation.hpp:12,
from /home/zbyerly/work/local_install_RelWithDebInfo/include/hpx/include/actions.hpp:15,
from /home/zbyerly/work/local_install_RelWithDebInfo/include/hpx/include/lcos.hpp:11,
from /home/zbyerly/work/local_install_RelWithDebInfo/include/hpx/hpx.hpp:10,
from main.cpp:2:
/home/zbyerly/work/local_install_RelWithDebInfo/include/hpx/runtime/components/client_base.hpp: In instantiation of ‘static void hpx::components::client_base<Derived, Stub>::register_as_helper(Derived&&, const string&) [with Derived = hpx::lcos::channel<double>; Stub = hpx::lcos::server::channel<double, double>; std::__cxx11::string = std::__cxx11::basic_string<char>]’:
/home/zbyerly/work/local_install_RelWithDebInfo/include/hpx/runtime/components/client_base.hpp:554:32: required from ‘hpx::lcos::future<void> hpx::components::client_base<Derived, Stub>::register_as(const string&, bool) [with Derived = hpx::lcos::channel<double>; Stub = hpx::lcos::server::channel<double, double>; std::__cxx11::string = std::__cxx11::basic_string<char>]’
main.cpp:8:36: required from here
/home/zbyerly/work/local_install_RelWithDebInfo/include/hpx/runtime/components/client_base.hpp:532:37: error: no matching function for call to ‘register_name(const hpx::detail::sync_policy&, const string&, hpx::lcos::future<double>)’
hpx::agas::register_name(launch::sync, symbolic_name, f.get());
~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/zbyerly/work/local_install_RelWithDebInfo/include/hpx/runtime/actions/continuation.hpp:15:0,
from /home/zbyerly/work/local_install_RelWithDebInfo/include/hpx/runtime/actions/action_invoke_no_more_than.hpp:12,
from /home/zbyerly/work/local_install_RelWithDebInfo/include/hpx/include/actions.hpp:11,
from /home/zbyerly/work/local_install_RelWithDebInfo/include/hpx/include/lcos.hpp:11,
from /home/zbyerly/work/local_install_RelWithDebInfo/include/hpx/hpx.hpp:10,
from main.cpp:2:
/home/zbyerly/work/local_install_RelWithDebInfo/include/hpx/runtime/agas/interface.hpp:37:21: note: candidate: bool hpx::agas::register_name(hpx::launch::sync_policy, const string&, const hpx::naming::gid_type&, hpx::error_code&)
HPX_API_EXPORT bool register_name(
^~~~~~~~~~~~~
/home/zbyerly/work/local_install_RelWithDebInfo/include/hpx/runtime/agas/interface.hpp:37:21: note: no known conversion for argument 3 from ‘hpx::lcos::future<double>’ to ‘const hpx::naming::gid_type&’
/home/zbyerly/work/local_install_RelWithDebInfo/include/hpx/runtime/agas/interface.hpp:44:21: note: candidate: bool hpx::agas::register_name(hpx::launch::sync_policy, const string&, const hpx::naming::id_type&, hpx::error_code&)
HPX_API_EXPORT bool register_name(
^~~~~~~~~~~~~
/home/zbyerly/work/local_install_RelWithDebInfo/include/hpx/runtime/agas/interface.hpp:44:21: note: no known conversion for argument 3 from ‘hpx::lcos::future<double>’ to ‘const hpx::naming::id_type&’
/home/zbyerly/work/local_install_RelWithDebInfo/include/hpx/runtime/agas/interface.hpp:73:35: note: candidate: hpx::lcos::future<bool> hpx::agas::register_name(const string&, const hpx::naming::id_type&)
HPX_API_EXPORT lcos::future<bool> register_name(
^~~~~~~~~~~~~
/home/zbyerly/work/local_install_RelWithDebInfo/include/hpx/runtime/agas/interface.hpp:73:35: note: candidate expects 2 arguments, 3 provided
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment