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/__/core_read.cpp.o -MF _deps/bitcoin-build/src/kernel/CMakeFiles/bitcoinkernel.dir/__/core_read.cpp.o.d -o _deps/bitcoin-build/src/kernel/CMakeFiles/bitcoinkernel.dir/__/core_read.cpp.o -c /home/runner/work/btck/btck/build/_deps/bitcoin-src/src/core_read.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/core_read.cpp
Language: C++
Config: Release
stderr:
Warning: include-what-you-use reported diagnostics:
/home/runner/work/btck/btck/build/_deps/bitcoin-src/src/core_read.cpp should add these lines:
#include <stdint.h> // for int64_t
#include <compare> // for operator<, operator>
#include <exception> // for exception
#include <map> // for map, operator==, _Rb_tree_const_...
#include <optional> // for operator<=>, optional
#include <span> // for span
#include <stdexcept> // for runtime_error
#include <utility> // for move, pair
#include <vector> // for vector
#include "script/interpreter.h" // for SIGHASH_ANYONECANPAY, SIGHASH_ALL
#include "span.h" // for Span
#include "util/string.h" // for SplitString
#include "util/translation.h" // for Untranslated
class CBlock;
class CBlockHeader;
/home/runner/work/btck/btck/build/_deps/bitcoin-src/src/core_read.cpp should remove these lines:
- #include <primitives/block.h> // lines 7-7
- #include <script/sign.h> // lines 10-10
- #include <string> // lines 17-17
The full include-list for /home/runner/work/btck/btck/build/_deps/bitcoin-src/src/core_read.cpp:
#include <core_io.h> // for DecodeHexBlk, DecodeHexBlockHeader
#include <primitives/transaction.h> // for CMutableTransaction, CTxIn, CTxOut
#include <script/script.h> // for CScript, opcodetype, GetOpName
#include <serialize.h> // for ParamsWrapper
#include <stdint.h> // for int64_t
#include <streams.h> // for DataStream
#include <util/result.h> // for Result, Error
#include <util/strencodings.h> // for basic_string, allocator, string
#include <algorithm> // for all_of, copy
#include <compare> // for operator<, operator>
#include <exception> // for exception
#include <map> // for map, operator==, _Rb_tree_const_...
#include <optional> // for operator<=>, optional
#include <span> // for span
#include <stdexcept> // for runtime_error
#include <utility> // for move, pair
#include <vector> // for vector
#include "script/interpreter.h" // for SIGHASH_ANYONECANPAY, SIGHASH_ALL
#include "span.h" // for Span
#include "util/string.h" // for SplitString
#include "util/translation.h" // for Untranslated
class CBlock;
class CBlockHeader;
---