Skip to content

Commit

Permalink
Merge bitcoin#31307: build: Temporarily disable compiling `fuzz/utxo_…
Browse files Browse the repository at this point in the history
…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#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
  • Loading branch information
fanquake committed Nov 19, 2024
2 parents ccc2d3a + b2d5361 commit 746f93b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/test/fuzz/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,10 @@ add_executable(fuzz
tx_pool.cpp
txorphan.cpp
txrequest.cpp
utxo_snapshot.cpp
# Visual Studio 2022 version 17.12 introduced a bug
# that causes an internal compiler error.
# See: https://github.com/bitcoin/bitcoin/issues/31303
$<$<VERSION_LESS:${MSVC_VERSION},1942>:utxo_snapshot.cpp>
utxo_total_supply.cpp
validation_load_mempool.cpp
vecdeque.cpp
Expand Down

0 comments on commit 746f93b

Please sign in to comment.