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/__/script/script.cpp.o -MF _deps/bitcoin-build/src/kernel/CMakeFiles/bitcoinkernel.dir/__/script/script.cpp.o.d -o _deps/bitcoin-build/src/kernel/CMakeFiles/bitcoinkernel.dir/__/script/script.cpp.o -c /home/runner/work/btck/btck/build/_deps/bitcoin-src/src/script/script.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/script/script.cpp

Language: C++

Config: Release

stderr:

Warning: include-what-you-use reported diagnostics:

/home/runner/work/btck/btck/build/_deps/bitcoin-src/src/script/script.h should add these lines:
#include <algorithm>         // for max
#include <cstddef>           // for size_t, byte
#include <iterator>          // for cbegin, cend, input_iterator
#include "prevector.h"

/home/runner/work/btck/btck/build/_deps/bitcoin-src/src/script/script.h should remove these lines:
- #include <cstring>  // lines 18-18

The full include-list for /home/runner/work/btck/btck/build/_deps/bitcoin-src/src/script/script.h:
#include <attributes.h>      // for LIFETIMEBOUND
#include <crypto/common.h>   // for WriteLE16, WriteLE32
#include <prevector.h>       // for prevector
#include <serialize.h>       // for AsBase, READWRITE, SERIALIZE_METHODS
#include <uint256.h>         // for uint160
#include <util/hash_type.h>  // for BaseHash
#include <algorithm>         // for max
#include <cassert>           // for assert
#include <cstddef>           // for size_t, byte
#include <cstdint>           // for int64_t, uint64_t, uint32_t
#include <iterator>          // for cbegin, cend, input_iterator
#include <limits>            // for numeric_limits
#include <span>              // for span, as_bytes
#include <stdexcept>         // for runtime_error
#include <string>            // for allocator, string
#include <type_traits>       // for remove_cv_t, remove_reference_t
#include <utility>           // for forward
#include <vector>            // for vector
#include "prevector.h"
---

/home/runner/work/btck/btck/build/_deps/bitcoin-src/src/script/script.cpp should add these lines:
#include <cstring>            // for size_t
#include "span.h"             // for Span

/home/runner/work/btck/btck/build/_deps/bitcoin-src/src/script/script.cpp should remove these lines:

The full include-list for /home/runner/work/btck/btck/build/_deps/bitcoin-src/src/script/script.cpp:
#include <script/script.h>
#include <crypto/common.h>    // for ReadLE16, ReadLE32
#include <crypto/hex_base.h>  // for HexStr
#include <hash.h>             // for Hash160
#include <uint256.h>          // for uint160
#include <util/hash_type.h>   // for BaseHash
#include <cstring>            // for size_t
#include <string>             // for allocator, char_traits, operator+, string
#include "span.h"             // for Span
---
Status: 0
Loading...