Repository navigation
Conversation
The compilation of mempool.cpp was failing on macOS, and the explicit constructor should remedy that.
The compilation of validation.cpp was failing on macOS, and the explicit constructor should remedy that.
|
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers. ReviewsSee the guideline for information on the review process. |
|
I am not 100% sure how to test this specific change. Do you think testing against clang 15 in the CI matrix would do the trick, @fanquake? |
|
You'll have to upgrade your XCode, See: https://developer.apple.com/documentation/xcode-release-notes/xcode-16_2-release-notes E.g. |
|
I will certainly be upgrading my Xcode. In the interim, I take it I should abandon this fix for version 15? |
|
Yes, I think you are better off with a more recent version of XCode, than trying to modify the source code to work with older XCode versions that aren't tested by anyone (not even the CI). If upgrading your XCode works, then I think this can be closed. |
|
I will report back once I have the upgraded command line tools installed and tested the build. |
|
Xcode 16.4 with clang 17.0.0 works. |
|
Hi @vasild, I switched back to the old clang version and gave it a try, with the following output:
So looks like the feature checking worked. |
On macOS 15, with clang version 15.0.0, compilation was failing at mempool.cpp and validation.cpp. Adding explicit constructors to the
ConnectedBlockandEntrystructs appears to have remedied that.