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

Compile error in addressing_service.cpp #2697

Closed
dmarce1 opened this issue Jun 14, 2017 · 4 comments
Closed

Compile error in addressing_service.cpp #2697

dmarce1 opened this issue Jun 14, 2017 · 4 comments

Comments

@dmarce1
Copy link
Member

dmarce1 commented Jun 14, 2017

I am getting a compile error with master (SuperMIC, GCC 7.1) when CXX14 is OFF. Should HPX compile with C++11 ?

https://gist.github.com/dmarce1/f8c9911ca379af2ba09a6bdb91b485aa

@hkaiser
Copy link
Member

hkaiser commented Jun 14, 2017

This is a boost problem which I don't know how to solve at this point. Everything should work with gcc 6.x or older versions of Boost.

@hkaiser
Copy link
Member

hkaiser commented Jun 14, 2017

We see the same problem on our buildbot system, btw (http://rostam.cct.lsu.edu/builders/hpx_gcc_7_1_0_boost_1_64_centos_x86_64_debug).

@hkaiser
Copy link
Member

hkaiser commented Jun 14, 2017

@dmarce1 From what I can see, this error started to occur once we added support for C++17 to our build system. Could you try to explicitly force it to use C++11 or C++14, please (add -DHPX_WITH_CXX11=On or -DHPX_WITH_CXX14=On to the cmake command line)?

@hkaiser
Copy link
Member

hkaiser commented Jul 3, 2017

I'm going to close this issue as it is caused by Boost and we have found a workaround. Please feel free to reopen, if needed.

@hkaiser hkaiser closed this as completed Jul 3, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants