Skip to content

Commit b2d5361

Browse files
committed
build: Temporarily disable compiling fuzz/utxo_snapshot.cpp with MSVC
Visual Studio 2022 version 17.12 introduced a bug that causes an internal compiler error. See: bitcoin/bitcoin#31303.
1 parent ccc2d3a commit b2d5361

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/test/fuzz/CMakeLists.txt

+4-1
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)