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 -Dbtck_EXPORTS -I/home/runner/work/btck/btck/include -I/home/runner/work/btck/btck/build/_deps/bitcoin-src/src -O2 -std=gnu++20 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -MD -MT CMakeFiles/btck.dir/src/block.cpp.o -MF CMakeFiles/btck.dir/src/block.cpp.o.d @CMakeFiles/btck.dir/src/block.cpp.o.modmap -o CMakeFiles/btck.dir/src/block.cpp.o -c /home/runner/work/btck/btck/src/block.cpp

working_directory: "/home/runner/work/btck/btck/build"

Target: btck

Target Type: SHARED_LIBRARY

Source: /home/runner/work/btck/btck/src/block.cpp

Language: C++

Config: Release

stderr:

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

/home/runner/work/btck/btck/src/block.hpp should add these lines:
#include <cstddef>               // for byte

/home/runner/work/btck/btck/src/block.hpp should remove these lines:
- #include <btck/btck.h>  // lines 9-9

The full include-list for /home/runner/work/btck/btck/src/block.hpp:
#include <primitives/block.h>    // for CBlock
#include <cstddef>               // for byte
#include <span>                  // for span
#include "util/ref_counted.hpp"  // for RefCounted
---

/home/runner/work/btck/btck/src/block.cpp should add these lines:
#include <vector>                    // for vector
#include "primitives/block.h"        // for CBlock
#include "serialize.h"               // for ParamsWrapper
#include "span.h"                    // for Span
#include "uint256.h"                 // for uint256

/home/runner/work/btck/btck/src/block.cpp should remove these lines:

The full include-list for /home/runner/work/btck/btck/src/block.cpp:
#include "block.hpp"
#include <btck/btck.h>               // for btck_BlockHash, btck_BlockHash_Init
#include <primitives/transaction.h>  // for TX_WITH_WITNESS, TransactionSerP...
#include <streams.h>                 // for DataStream
#include <algorithm>                 // for copy_n
#include <cassert>                   // for assert
#include <cstddef>                   // for size_t, byte
#include <cstdint>                   // for uint8_t
#include <span>                      // for span
#include <vector>                    // for vector
#include "primitives/block.h"        // for CBlock
#include "serialize.h"               // for ParamsWrapper
#include "span.h"                    // for Span
#include "transaction.hpp"           // for btck_Transaction
#include "uint256.h"                 // for uint256
---
Status: 0
Loading...