-
Notifications
You must be signed in to change notification settings - Fork 37.7k
Avoid the use of P0083R3 std::set::merge #22342
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
Conversation
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 3052341
3052341
to
6cf4ea7
Compare
re-ACK 6cf4ea7 |
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 6cf4ea7
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 6cf4ea7, successfully compiled on the following systems:
- macOS Mojave 10.14.6 (18G9216)
$ clang --version
Apple LLVM version 10.0.1 (clang-1001.0.46.4)
Target: x86_64-apple-darwin18.7.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin
- Debian 9.13 (stretch)
$ make -C depends NO_QT=1 CC=clang-7 CXX='clang++-7 -stdlib=libc++'
$ ./autogen.sh && CONFIG_SITE=$PWD/depends/x86_64-pc-linux-gnu/share/config.site ./configure -q --disable-tests --disable-bench CC=clang-7 CXX='clang++-7 -stdlib=libc++' && make clean > /dev/null
$ make
Should this be tagged for 22.0? |
Before:
After: (passes) |
6cf4ea7 Avoid the use of P0083R3 std::set::merge (Pieter Wuille) Pull request description: This use was introduced in bitcoin#21365, but as pointed out in bitcoin#22339, this causes compatibility problems. Just avoid its use for now. ACKs for top commit: jonatack: re-ACK 6cf4ea7 benthecarman: ACK 6cf4ea7 hebasto: ACK 6cf4ea7, successfully compiled on the following systems: Tree-SHA512: 2b3fdcadb7de98963ebb0b192bd956aa68526457fe5b374c74a69ea10d5b68902763148f11abbcc471010bcdc799e0804faef5f8e8ff8a509b3a053c0cb0ba39
We probably could have almost left this as is for 22.0, #22339 also didn't cover the actual hard compatibility issue, which would have been needing to bump the minimum required macOS to 10.15. In any case, I think we can revert this for 0.23, as we are going to bump our macOS and lib(std)c++ requirements to use |
This use was introduced in #21365, but as pointed out in #22339, this causes compatibility problems.
Just avoid its use for now.