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
HPX_WITH_DATAPAR_BACKEND=EVE causes compile errors with C++17 #6164
Comments
Excellent catch! Thanks! @srinivasyadav18 I guess this one is for you to fix ;-) |
Hi, I would like to contribute to this. I'm new to open source so if you could please guide me on solving this, |
Sure, that'd be great! Please let us know if you need any additional information. |
What should the desired behavior be for this case ? I currently implemented a fatal_error using hpx_error that stops the Cmake generation if we're using both |
Yes, I think it's the best we can do to circumvent it from happening. I'd use our existing |
EVE requires C++20 to compile and thus is not compatible with HPX when using the
HPX_WITH_CXX_STANDARD=17
setting. This is especially problematic given thatHPX_WITH_CXX_STANDARD=17
is the default and provides the best binary compatibility for applications that use HPX and may be compiled with newer standards. This combination causes compiler errors when building HPX. TheHPX_WITH_DATAPAR_BACKEND=EVE
option should be disabled when the C++ standard is set to a value < 20.Steps to Reproduce the Problem
Attempt to configure and build hpx with both the
HPX_WITH_CXX_STANDARD=17
andHPX_WITH_DATAPAR_BACKEND=EVE
optionsSpecifications
... Please describe your environment
The text was updated successfully, but these errors were encountered: