-
-
Notifications
You must be signed in to change notification settings - Fork 19
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
removal of deprecated std::unary_function
in libcxx 16
#114
Comments
This is not a regression to my mind. It just means that boost<1.81 depends on libcxx<16.
I think boost should be buildable with newer compilers (not sure what ABI issues there were, but the issue doesn't mention them in detail...), but perhaps it's easier to backport it only to 1.80? |
As an aside, I'm kinda shocked how boost still depended on a C++ feature that's been deprecated in C++17, until basically like 1 version ago. |
Sure, poor choice of words on my side. I totally agree, I just wanted to document this somewhere given the fact that boost is quite used and the change happened due to an update on libcxx, not an update on boost. But yeah, probably there is not a lot of actions that we can adopt here, and it would be better to discuss on the boost feedstock. |
Reopening this for reference purposes, since several projects seem to be hitting this. |
std::unary_function
in libcxx 16
To summarize the options here if some project is still using the now-removed functions:
|
A possible fix in the boost-cpp recipe is proposed in conda-forge/boost-cpp-feedstock#135 . |
Fixed by conda-forge/boost-cpp-feedstock#135, I think that we can close, feel free to re-open if necessary. |
Comment:
The recently released libcxx 16 causes a regression in boost 1.78 container_hash, result in errors such as:
In a nutshell, libcxx 16 removed
std::unary_function
(see https://releases.llvm.org/16.0.0/projects/libcxx/docs/ReleaseNotes.html#deprecations-and-removals). boost's container_hash 1.78.0 does not compile withoutstd::unary_function
, as a fix for libcxx 16 was added just in boost 1.81 (boostorg/config#440). I tought of backporting the fix to boost 1.78, but it seems that merging any pr to boost 1.78 feedstock is blocked by https://github.com/conda-forge/boost-cpp-feedstock/pull/130/files, so I am currently out of ideas on how to proceed.The text was updated successfully, but these errors were encountered: