-
Notifications
You must be signed in to change notification settings - Fork 163
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
Compilation error in future.hpp using LLVM upstream clang #402
Comments
Yes, in my opinion it is a typo in boost. The line should read: that_=x.that_; |
I'm having trouble figuring out which release of boost the fix is included with. Based on release date and the date of the commit that fixes this I would have expected that 1.86 has the fix, but there is nothing in the release notes about the thread library at all. So I guess it missed the deadline? And the code is still broken in 1.86 tar ball unfortunately. Will there be a patch release with the fix? |
As far as I can see, @zlojvavan only put this in a fork: zlojvavan@3f91512, so it won't be in any release tarball yet, I guess. |
Ah I missed that detail. |
Currently this breaks compilation with Clang 19, which has been released as of 2024-09-17. I believe it would make sense for boost to make a hotfix release of some sort to address this. Clang is after all one of the three big C++ implementations. |
…plates) Fixes issue boostorg#402
After this patch in upstream LLVM, this line in
future.hpp
thread/include/boost/thread/future.hpp
Line 4671 in aec18d3
fails to compile with the following error
From looking at the error and the code surrounding the error, is this a bug in
future.hpp
where the code should be usingx.that_
given other nearby uses ofx.that_
?The text was updated successfully, but these errors were encountered: