Skip to content

Commit 746f93b

Browse files
committed
Merge bitcoin/bitcoin#31307: build: Temporarily disable compiling fuzz/utxo_snapshot.cpp with MSVC
b2d5361 build: Temporarily disable compiling `fuzz/utxo_snapshot.cpp` with MSVC (Hennadii Stepanov) Pull request description: This PR suggests a temporary workaround for a compiler bug [introduced](bitcoin/bitcoin#31303) in Visual Studio 2022 version 17.12. This workaround is required to fix the CI until the upstream compiler bug is resolved. ACKs for top commit: maflcko: lgtm ACK b2d5361 TheCharlatan: ACK b2d5361 brunoerg: ACK b2d5361 Tree-SHA512: 8f8b772253f6f61d9e24c6ae8692511c7c1229c7d20a45fe680ad6a3909c59b58b504589f06d3135d9708a61684be4aba6a426f7f5f60020551f52b9090d3030
2 parents ccc2d3a + b2d5361 commit 746f93b

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/test/fuzz/CMakeLists.txt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,10 @@ add_executable(fuzz
123123
tx_pool.cpp
124124
txorphan.cpp
125125
txrequest.cpp
126-
utxo_snapshot.cpp
126+
# Visual Studio 2022 version 17.12 introduced a bug
127+
# that causes an internal compiler error.
128+
# See: https://github.com/bitcoin/bitcoin/issues/31303
129+
$<$<VERSION_LESS:${MSVC_VERSION},1942>:utxo_snapshot.cpp>
127130
utxo_total_supply.cpp
128131
validation_load_mempool.cpp
129132
vecdeque.cpp

0 commit comments

Comments
 (0)