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

Difficulty compiling `HPX_REGISTER_CHANNEL_DECLARATION(double)` #2869

Closed
bremerm31 opened this issue Aug 29, 2017 · 0 comments

Comments

Projects
None yet
2 participants
@bremerm31
Copy link
Contributor

commented Aug 29, 2017

The crux of the error seems to lie in the compiler macro for HPX_REGISTER_CHANNEL_DECLARATION(double) and HPX_REGISTER_CHANNEL(double)

One work around that seems to work is using

 using my_type = double;
 HPX_REGISTER_CHANNEL_DECLARATION(my_type);

The compilation fails for gcc/7.1.0 with boost/1.64. With I believe the main error being

/work/02578/bremer/stampede2/dgswemv2_local_install_Release/include/hpx/lcos/base_lco_with_value.hpp:259:20: error: conflicting declaration ‘typedef class hpx::lcos::base_lco_with_value<double, double, hpx::traits::detail::component_tag> base_lco_with_value_double’

However, I have attached the full compiler error.
cmplrerr.txt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.