-
Notifications
You must be signed in to change notification settings - Fork 36.3k
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
build: remove usage of BOOST_NO_CXX98_FUNCTION_BASE #30189
Conversation
Supposedly this is no-longer needed (and hasn't been ported to CMake), so remove it's usage here.
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers. Code CoverageFor detailed information about the code coverage, see the test coverage report. ReviewsSee the guideline for information on the review process.
If your review is incorrectly listed, please react with 👎 to this comment and the bot will ignore it on the next update. |
Did you test this with the minimum required boost version 1.71? |
Only with 1.81.0. (depends) which still has the problematic behaviour. Used a CMake CI (which has already dropped this) with Boost 1.73.0 as a proxy for anything lower (https://github.com/hebasto/bitcoin/actions/runs/9257726144/job/25466464660). |
The cmake run is using g++-11, but g++-12 is required according to https://github.com/boostorg/config/pull/430/files |
@hebasto how did you test this macro is no-longer required in the CMake build (given it wasn't ported)? |
|
It is 1.73 since #29066. |
Concept ACK. |
Looks like 880d4aa affected depends, not sure if it even reproduces outside of that? |
I could only reproduce inside of depends, which has boost 1.81, which is fixed, so LGTM, I guess. 🤷 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ACK fc47935.
I stopped seeing the warning after commit 3b2acfc |
It would be good to properly explain this, because this still happens, at least with at least
|
The explanation is that it still happens, it never should have been incorrectly dropped from the CMake build (where it can now be re-added), and this can be closed. |
Does Should |
If it is clear, that this can only happen inside of depends, where it is fixed after 1.81, then I think it is fine to merge. However, I am trying to figure out if this can happen outside of depends. |
It should not be depends specific.
That depends on what we are trying to achieve, and if we are planning on patching external libraries / code and upstreaming relevant changes etc. It's also likely to lead to more CI "breakage" on distro version, or other changes, that may not be relevant for us. |
Wouldn't it be good to know about issues, such as the one here ( |
I think if we are going to do that, then enabling it on a rolling / nightly distro type CI, i.e fedora rawhide, would be the most useful, otherwise, I think it's unlikely to actually turn much up, given packages are pinned in depends, and in the distro. Note that |
at least for the sanitizer builds, the compiler is bumped regularly, so it seems good to check those bumps when they happen. |
Supposedly this is no-longer needed (and hasn't been ported to CMake), so remove it's usage here. Oringinally used to suppress warnings about functionality deprecated/removed from the standard library, which was still supported by some compilers.