New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

building issue #1295

Closed
Titzi90 opened this Issue Oct 22, 2014 · 1 comment

Comments

Projects
None yet
3 participants
@Titzi90
Contributor

Titzi90 commented Oct 22, 2014

hpx on branch master does not build:

└>make
[ 1%] Built target hpx_serialization
[ 49%] Built target hpx
[ 50%] Built target hpx_init
[ 50%] Built target parcel_coalescing_lib
[ 50%] Built target binpacking_factory_component
[ 50%] Building CXX object src/components/dataflow/CMakeFiles/dataflow_component.dir/dataflow_component.cpp.o
In file included from /home/titzi/hpx/hpx/repo_origin/hpx/components/dataflow/server/dataflow_trigger.hpp:17:0,
from /home/titzi/hpx/hpx/repo_origin/src/components/dataflow/dataflow_component.cpp:19:
/home/titzi/hpx/hpx/repo_origin/hpx/components/dataflow/server/detail/dataflow_trigger_slot.hpp: In instantiation of ‘struct hpx::lcos::server::detail::dataflow_trigger_slothpx::lcos::dataflow_base<void, hpx::lcos::server::dataflow_trigger>’:
/home/titzi/hpx/hpx/repo_origin/hpx/components/dataflow/server/detail/component_wrapper.hpp:25:12: required from ‘struct hpx::lcos::server::detail::component_wrapperhpx::lcos::server::detail::dataflow_trigger_slot<hpx::lcos::dataflow_base<void, hpx::lcos::server::dataflow_trigger> >’
/home/titzi/hpx/hpx/repo_origin/hpx/components/dataflow/server/dataflow_trigger.hpp:104:59: required from here
/home/titzi/hpx/hpx/repo_origin/hpx/components/dataflow/server/detail/dataflow_trigger_slot.hpp:73:28: error: conflicting return type specified for ‘const result_type& hpx::lcos::server::detail::dataflow_trigger_slot<T, SinkAction>::get_value(hpx::error_code&) [with T = hpx::lcos::dataflow_base; SinkAction = hpx::lcos::server::dataflow_trigger; hpx::lcos::server::detail::dataflow_trigger_slot<T, SinkAction>::result_type = hpx::util::unused_type]’
result_type const& get_value(error_code& ec = throws)
^
In file included from /home/titzi/hpx/hpx/repo_origin/hpx/lcos/promise.hpp:16:0,
from /home/titzi/hpx/hpx/repo_origin/hpx/lcos/packaged_action.hpp:13,
from /home/titzi/hpx/hpx/repo_origin/hpx/lcos/async.hpp:15,
from /home/titzi/hpx/hpx/repo_origin/hpx/async.hpp:12,
from /home/titzi/hpx/hpx/repo_origin/hpx/include/async.hpp:9,
from /home/titzi/hpx/hpx/repo_origin/hpx/runtime/agas/addressing_service.hpp:28,
from /home/titzi/hpx/hpx/repo_origin/hpx/runtime/naming/resolver_client.hpp:11,
from /home/titzi/hpx/hpx/repo_origin/hpx/runtime/components/server/destroy_component.hpp:13,
from /home/titzi/hpx/hpx/repo_origin/hpx/runtime/components/component_factory.hpp:17,
from /home/titzi/hpx/hpx/repo_origin/hpx/include/components.hpp:13,
from /home/titzi/hpx/hpx/repo_origin/hpx/include/runtime.hpp:11,
from /home/titzi/hpx/hpx/repo_origin/hpx/hpx.hpp:11,
from /home/titzi/hpx/hpx/repo_origin/src/components/dataflow/dataflow_component.cpp:6:
/home/titzi/hpx/hpx/repo_origin/hpx/lcos/base_lco_with_value.hpp:52:29: error: overriding ‘hpx::lcos::base_lco_with_value<Result, RemoteResult>::result_type hpx::lcos::base_lco_with_value<Result, RemoteResult>::get_value(hpx::error_code&) [with Result = hpx::util::unused_type; RemoteResult = hpx::util::unused_type; hpx::lcos::base_lco_with_value<Result, RemoteResult>::result_type = hpx::util::unused_type]’
virtual result_type get_value(error_code& ec = throws) = 0;
^
src/components/dataflow/CMakeFiles/dataflow_component.dir/build.make:57: recipe for target 'src/components/dataflow/CMakeFiles/dataflow_component.dir/dataflow_component.cpp.o' failed
make[2]: *** [src/components/dataflow/CMakeFiles/dataflow_component.dir/dataflow_component.cpp.o] Error 1
CMakeFiles/Makefile2:1991: recipe for target 'src/components/dataflow/CMakeFiles/dataflow_component.dir/all' failed
make[1]: *** [src/components/dataflow/CMakeFiles/dataflow_component.dir/all] Error 2
Makefile:126: recipe for target 'all' failed
make: *** [all] Error 2

@sithhell

This comment has been minimized.

Show comment
Hide comment
@sithhell

sithhell Oct 23, 2014

Member

Fixed with 6131858

Member

sithhell commented Oct 23, 2014

Fixed with 6131858

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment