-
Notifications
You must be signed in to change notification settings - Fork 32
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
clang16 compatibility under C++17 #92
Comments
Thanks for the heads-up, I had actually not yet seen Thanks also for sharing the fix suggested by Brian Ripley. It is somewhat involved to release BH which is why I switched a few years ago to annual releases. Before making such a change I would have test it against all reverse-dependencies. Moreover there isn't really common configuration file for all of Boost (that I am aware of). So I am leaning towards asking the affected libraries to make this change, if at all possible. The local |
Bumping BH must be quite some work to do, I see. For As the fix is quite simple it is fair to ask for the There you find a Then maybe keep this issue here open until the next to be released |
For the record I am also a fan of https://apt.llvm.org/ -- an |
BH 1.84.0-0 is now at CRAN (after a pre-release made in December). Can you check if this is still an issue? |
|
Thanks for the update. In that case I will close this -- be sure to reopen if need be. |
CRAN has now started to test using clang 16 (a beta version) in C++17 mode for any C++ code on CRAN.
boost does not support clang 16... and there are issues due to the actual removal of pre-C++17 language features which have been removed by the C++17 standard. In the past compilers seemingly avoided to really remove language features even if put into C++17 mode, but clang 16 pulls the trigger now.
This leads to all
rstan
derived package to run into compile problems coming from the used phoenix headers. The compile issues can be resolved with these fixes as proposed by Prof Ripley:or one can add
If it is possible to address the matter in
BH
directly, then that would be great.The text was updated successfully, but these errors were encountered: