Merge bitcoin/bitcoin#31307: build: Temporarily disable compiling fuzz/utxo_snapshot.cpp with MSVC
Some checks are pending
CI / test each commit (push) Waiting to run
CI / macOS 14 native, arm64, no depends, sqlite only, gui (push) Waiting to run
CI / Win64 native, VS 2022 (push) Waiting to run
CI / ASan + LSan + UBSan + integer, no depends, USDT (push) Waiting to run

b2d5361002 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](https://github.com/bitcoin/bitcoin/issues/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 b2d5361002
  TheCharlatan:
    ACK b2d5361002
  brunoerg:
    ACK b2d5361002

Tree-SHA512: 8f8b772253f6f61d9e24c6ae8692511c7c1229c7d20a45fe680ad6a3909c59b58b504589f06d3135d9708a61684be4aba6a426f7f5f60020551f52b9090d3030
This commit is contained in:
merge-script 2024-11-19 10:38:24 +00:00
commit 746f93b4f0
No known key found for this signature in database
GPG key ID: 2EEB9F5CC09526C1

View file

@ -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