compile
command_line: /opt/hostedtoolcache/cmake/4.0.3/x64/cmake-4.0.3-linux-x86_64/bin/cmake -E __run_co_compile --iwyu=iwyu;--driver-mode=g++ -- /usr/bin/clang++-17 -DBOOST_MULTI_INDEX_DISABLE_SERIALIZATION -DBOOST_NO_CXX98_FUNCTION_BASE -I/home/runner/work/btck/btck/build/_deps/bitcoin-build/src -I/home/runner/work/btck/btck/build/_deps/bitcoin-src/src -I/home/runner/work/btck/btck/build/_deps/bitcoin-src/src/leveldb/include -I/home/runner/work/btck/btck/build/_deps/bitcoin-src/src/secp256k1/include -O2 -std=c++20 -fPIC -fvisibility=default -fdebug-prefix-map=/home/runner/work/btck/btck/build/_deps/bitcoin-src/src=. -fmacro-prefix-map=/home/runner/work/btck/btck/build/_deps/bitcoin-src/src=. -Wall -Wextra -Wgnu -Wformat -Wformat-security -Wvla -Wshadow-field -Wthread-safety -Wloop-analysis -Wredundant-decls -Wunused-member-function -Wdate-time -Wconditional-uninitialized -Woverloaded-virtual -Wsuggest-override -Wimplicit-fallthrough -Wunreachable-code -Wdocumentation -Wself-assign -Wundef -Wno-unused-parameter -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -Wstack-protector -fstack-protector-all -fcf-protection=full -fstack-clash-protection -MD -MT _deps/bitcoin-build/src/kernel/CMakeFiles/bitcoinkernel.dir/__/node/chainstate.cpp.o -MF _deps/bitcoin-build/src/kernel/CMakeFiles/bitcoinkernel.dir/__/node/chainstate.cpp.o.d -o _deps/bitcoin-build/src/kernel/CMakeFiles/bitcoinkernel.dir/__/node/chainstate.cpp.o -c /home/runner/work/btck/btck/build/_deps/bitcoin-src/src/node/chainstate.cpp
working_directory: "/home/runner/work/btck/btck/build"
Target: bitcoinkernel
Target Type: STATIC_LIBRARY
Source: /home/runner/work/btck/btck/build/_deps/bitcoin-src/src/node/chainstate.cpp
Language: C++
Config: Release
stderr:
Warning: include-what-you-use reported diagnostics:
(/home/runner/work/btck/btck/build/_deps/bitcoin-src/src/node/chainstate.h has correct #includes/fwd-decls)
/home/runner/work/btck/btck/build/_deps/bitcoin-src/src/node/chainstate.cpp should add these lines:
#include "dbwrapper.h" // for dbwrapper_error
/home/runner/work/btck/btck/build/_deps/bitcoin-src/src/node/chainstate.cpp should remove these lines:
- #include <threadsafety.h> // lines 15-15
- #include <util/fs.h> // lines 19-19
The full include-list for /home/runner/work/btck/btck/build/_deps/bitcoin-src/src/node/chainstate.cpp:
#include <node/chainstate.h>
#include <arith_uint256.h> // for arith_uint256, UintToArith256, ope...
#include <chain.h> // for CChain, CBlockIndex, MAX_FUTURE_BL...
#include <coins.h> // for CCoinsViewCache, CCoinsViewErrorCa...
#include <consensus/params.h> // for Params
#include <kernel/caches.h> // for CacheSizes
#include <logging.h> // for LogPrintFormatInternal, LogPrintf
#include <node/blockstorage.h> // for BlockManager
#include <sync.h> // for MaybeCheckNotHeld, EXCLUSIVE_LOCKS...
#include <tinyformat.h> // for strprintf
#include <txdb.h> // for CCoinsViewDB
#include <uint256.h> // for uint256
#include <util/signalinterrupt.h> // for SignalInterrupt
#include <util/time.h> // for GetTime
#include <util/translation.h> // for _, TranslatedLiteral, Untranslated
#include <validation.h> // for ChainstateManager, Chainstate, cs_...
#include <algorithm> // for any_of
#include <cassert> // for assert
#include <vector> // for vector, allocator
#include "dbwrapper.h" // for dbwrapper_error
---