Skip to content
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

data_actions quickstart example calls missing function decorate_action of data_get_action #1097

Closed
zao opened this issue Mar 31, 2014 · 0 comments
Assignees
Labels
category: examples difficulty: easy Good issues for starting out with HPX development type: defect
Milestone

Comments

@zao
Copy link
Contributor

zao commented Mar 31, 2014

VS2012, Boost 1.54, HPX ad05ce7

1>------ Build started: Project: ZERO_CHECK, Configuration: Debug x64 ------
2>------ Skipped Build: Project: RUN_TESTS, Configuration: Debug x64 ------
2>Project not selected to build for this solution configuration 
3>------ Skipped Build: Project: Continuous, Configuration: Debug x64 ------
3>Project not selected to build for this solution configuration 
4>------ Build started: Project: ALL_BUILD, Configuration: Debug x64 ------
4>  Build all projects
5>------ Build started: Project: data_actions_exe, Configuration: Debug x64 ------
5>  data_actions.cpp
6>------ Skipped Build: Project: Experimental, Configuration: Debug x64 ------
6>Project not selected to build for this solution configuration 
7>------ Skipped Build: Project: INSTALL, Configuration: Debug x64 ------
7>Project not selected to build for this solution configuration 
8>------ Skipped Build: Project: Nightly, Configuration: Debug x64 ------
8>Project not selected to build for this solution configuration 
9>------ Skipped Build: Project: NightlyMemoryCheck, Configuration: Debug x64 ------
9>Project not selected to build for this solution configuration 
5>c:\users\lars\bounce\hpx-git\examples\quickstart\data_actions.cpp(103): error C2039: 'decorate_action' : is not a member of 'data_get_action<T,Data>'
5>          with
5>          [
5>              T=int *,
5>              Data=& data
5>          ]
5>          c:\users\lars\bounce\hpx-git\hpx\runtime\actions\action_support.hpp(516) : see reference to function template instantiation 'hpx::util::function_nonser<Sig> data_get_action<T,Data>::construct_thread_function<hpx::util::tuple<>>(hpx::naming::address::address_type,Arguments &&)' being compiled
5>          with
5>          [
5>              Sig=hpx::threads::thread_function_type,
5>              T=int *,
5>              Data=& data,
5>              Arguments=hpx::util::tuple<>
5>          ]
5>          c:\users\lars\bounce\hpx-git\hpx\runtime\actions\action_support.hpp(516) : see reference to function template instantiation 'hpx::util::function_nonser<Sig> data_get_action<T,Data>::construct_thread_function<hpx::util::tuple<>>(hpx::naming::address::address_type,Arguments &&)' being compiled
5>          with
5>          [
5>              Sig=hpx::threads::thread_function_type,
5>              T=int *,
5>              Data=& data,
5>              Arguments=hpx::util::tuple<>
5>          ]
5>          c:\users\lars\bounce\hpx-git\hpx\runtime\actions\action_support.hpp(514) : while compiling class template member function 'hpx::util::function_nonser<Sig> hpx::actions::transfer_action<Action>::get_thread_function(hpx::naming::address::address_type)'
5>          with
5>          [
5>              Sig=hpx::threads::thread_function_type,
5>              Action=action_type
5>          ]
5>          c:\users\lars\bounce\hpx-git\hpx\runtime\applier\apply_callback.hpp(113) : see reference to class template instantiation 'hpx::actions::transfer_action<Action>' being compiled
5>          with
5>          [
5>              Action=action_type
5>          ]
5>          c:\users\lars\bounce\hpx-git\hpx\runtime\applier\apply_callback.hpp(178) : see reference to function template instantiation 'bool hpx::applier::detail::apply_r_p_cb<Action,_Ty>(hpx::naming::address &,hpx::actions::continuation *,const hpx::naming::id_type &,hpx::threads::thread_priority,Callback &&)' being compiled
5>          with
5>          [
5>              Action=data_get_action<int *,& data>,
5>              _Ty=hpx::util::detail::bound<void (__cdecl *)(boost::intrusive_ptr<hpx::components::managed_component<hpx::lcos::detail::promise<result_type,int>>>,const boost::system::error_code &),hpx::util::tuple<boost::intrusive_ptr<hpx::components::managed_component<hpx::lcos::detail::promise<result_type,int>>>,hpx::util::detail::placeholder<0x01>,void,void,void,void,void,void>>,
5>              Callback=hpx::util::detail::bound<void (__cdecl *)(boost::intrusive_ptr<hpx::components::managed_component<hpx::lcos::detail::promise<result_type,int>>>,const boost::system::error_code &),hpx::util::tuple<boost::intrusive_ptr<hpx::components::managed_component<hpx::lcos::detail::promise<result_type,int>>>,hpx::util::detail::placeholder<0x01>,void,void,void,void,void,void>>
5>          ]
5>          c:\users\lars\bounce\hpx-git\hpx\runtime\applier\apply_callback.hpp(260) : see reference to function template instantiation 'bool hpx::apply_p_cb<Action,_Ty>(hpx::actions::continuation *,const hpx::naming::id_type &,hpx::threads::thread_priority,Callback &&)' being compiled
5>          with
5>          [
5>              Action=data_get_action<int *,& data>,
5>              _Ty=hpx::util::detail::bound<void (__cdecl *)(boost::intrusive_ptr<hpx::components::managed_component<hpx::lcos::detail::promise<result_type,int>>>,const boost::system::error_code &),hpx::util::tuple<boost::intrusive_ptr<hpx::components::managed_component<hpx::lcos::detail::promise<result_type,int>>>,hpx::util::detail::placeholder<0x01>,void,void,void,void,void,void>>,
5>              Callback=hpx::util::detail::bound<void (__cdecl *)(boost::intrusive_ptr<hpx::components::managed_component<hpx::lcos::detail::promise<result_type,int>>>,const boost::system::error_code &),hpx::util::tuple<boost::intrusive_ptr<hpx::components::managed_component<hpx::lcos::detail::promise<result_type,int>>>,hpx::util::detail::placeholder<0x01>,void,void,void,void,void,void>>
5>          ]
5>          c:\users\lars\bounce\hpx-git\hpx\lcos\packaged_action.hpp(109) : see reference to function template instantiation 'bool hpx::apply_c_cb<data_get_action<T,Data>,hpx::util::detail::bound<F,BoundArgs>>(const hpx::naming::id_type &,const hpx::naming::id_type &,Callback &&)' being compiled
5>          with
5>          [
5>              T=int *,
5>              Data=& data,
5>              F=void (__cdecl *)(boost::intrusive_ptr<hpx::components::managed_component<hpx::lcos::detail::promise<result_type,int>>>,const boost::system::error_code &),
5>              BoundArgs=hpx::util::tuple<boost::intrusive_ptr<hpx::components::managed_component<hpx::lcos::detail::promise<result_type,int>>>,hpx::util::detail::placeholder<0x01>,void,void,void,void,void,void>,
5>              Callback=hpx::util::detail::bound<void (__cdecl *)(boost::intrusive_ptr<hpx::components::managed_component<hpx::lcos::detail::promise<result_type,int>>>,const boost::system::error_code &),hpx::util::tuple<boost::intrusive_ptr<hpx::components::managed_component<hpx::lcos::detail::promise<result_type,int>>>,hpx::util::detail::placeholder<0x01>,void,void,void,void,void,void>>
5>          ]
5>          c:\users\lars\bounce\hpx-git\hpx\lcos\packaged_action.hpp(104) : while compiling class template member function 'void hpx::lcos::packaged_action<Action,Result>::apply(hpx::launch,const hpx::naming::id_type &)'
5>          with
5>          [
5>              Action=action_type,
5>              Result=result_type
5>          ]
5>          c:\users\lars\bounce\hpx-git\hpx\lcos\async.hpp(88) : see reference to function template instantiation 'void hpx::lcos::packaged_action<Action,Result>::apply(hpx::launch,const hpx::naming::id_type &)' being compiled
5>          with
5>          [
5>              Action=action_type,
5>              Result=result_type
5>          ]
5>          c:\users\lars\bounce\hpx-git\hpx\lcos\async.hpp(82) : see reference to class template instantiation 'hpx::lcos::packaged_action<Action,Result>' being compiled
5>          with
5>          [
5>              Action=action_type,
5>              Result=result_type
5>          ]
5>          c:\users\lars\bounce\hpx-git\hpx\lcos\async.hpp(130) : see reference to function template instantiation 'hpx::lcos::future<R> hpx::async<Derived>(hpx::launch,const hpx::naming::id_type &)' being compiled
5>          with
5>          [
5>              R=int,
5>              Derived=data_get_action<int *,& data>
5>          ]
5>          c:\users\lars\bounce\hpx-git\examples\quickstart\data_actions.cpp(237) : see reference to function template instantiation 'hpx::lcos::future<R> hpx::async<plain_data<Action>,int,hpx::util::tuple<>,Derived>(const hpx::actions::action<Component,Result,Arguments,Derived> &,const hpx::naming::id_type &)' being compiled
5>          with
5>          [
5>              R=int,
5>              Action=get_action,
5>              Derived=data_get_action<int *,& data>,
5>              Component=plain_data<get_action>,
5>              Result=int,
5>              Arguments=hpx::util::tuple<>
5>          ]
5>c:\users\lars\bounce\hpx-git\examples\quickstart\data_actions.cpp(103): error C3861: 'decorate_action': identifier not found
5>c:\users\lars\bounce\hpx-git\examples\quickstart\data_actions.cpp(116): error C2039: 'decorate_action' : is not a member of 'data_get_action<T,Data>'
5>          with
5>          [
5>              T=int *,
5>              Data=& data
5>          ]
5>          c:\users\lars\bounce\hpx-git\hpx\runtime\actions\action_support.hpp(539) : see reference to function template instantiation 'hpx::util::function_nonser<Sig> data_get_action<T,Data>::construct_thread_function<hpx::util::tuple<>>(hpx::actions::continuation_type &,hpx::naming::address::address_type,Arguments &&)' being compiled
5>          with
5>          [
5>              Sig=hpx::threads::thread_function_type,
5>              T=int *,
5>              Data=& data,
5>              Arguments=hpx::util::tuple<>
5>          ]
5>          c:\users\lars\bounce\hpx-git\hpx\runtime\actions\action_support.hpp(539) : see reference to function template instantiation 'hpx::util::function_nonser<Sig> data_get_action<T,Data>::construct_thread_function<hpx::util::tuple<>>(hpx::actions::continuation_type &,hpx::naming::address::address_type,Arguments &&)' being compiled
5>          with
5>          [
5>              Sig=hpx::threads::thread_function_type,
5>              T=int *,
5>              Data=& data,
5>              Arguments=hpx::util::tuple<>
5>          ]
5>          c:\users\lars\bounce\hpx-git\hpx\runtime\actions\action_support.hpp(537) : while compiling class template member function 'hpx::util::function_nonser<Sig> hpx::actions::transfer_action<Action>::get_thread_function(hpx::actions::continuation_type &,hpx::naming::address::address_type)'
5>          with
5>          [
5>              Sig=hpx::threads::thread_function_type,
5>              Action=action_type
5>          ]
5>c:\users\lars\bounce\hpx-git\examples\quickstart\data_actions.cpp(116): error C3861: 'decorate_action': identifier not found
========== Build: 2 succeeded, 1 failed, 250 up-to-date, 6 skipped ==========
@hkaiser hkaiser added this to the 0.9.9 milestone Mar 31, 2014
@hkaiser hkaiser self-assigned this Mar 31, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category: examples difficulty: easy Good issues for starting out with HPX development type: defect
Projects
None yet
Development

No branches or pull requests

2 participants