On an older Intel macOS 13.7 machine:
0cmake -B build
1-- The CXX compiler identification is AppleClang 14.0.3.14030022
2
3...
4
5cmake --build build -j7
6
7...
8
9In file included from /Users/sjors/dev/bitcoin/src/crypto/muhash.h:9:
10/Users/sjors/dev/bitcoin/src/uint256.h:133:19: error: call to consteval function 'util::ConstevalHexDigit' is not a constant expression
11 auto lo = util::ConstevalHexDigit(*(str_it++));
12 ^
13
14(etc)
Our minimum required clang is 16 so this is no surprise.
It would be good if cmake -B build
checks the minimum version and at least throws a warning.