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/chain.cpp.o -MF CMakeFiles/btck.dir/src/chain.cpp.o.d @CMakeFiles/btck.dir/src/chain.cpp.o.modmap -o CMakeFiles/btck.dir/src/chain.cpp.o -c /home/runner/work/btck/btck/src/chain.cpp
working_directory: "/home/runner/work/btck/btck/build"
Target: btck
Target Type: SHARED_LIBRARY
Source: /home/runner/work/btck/btck/src/chain.cpp
Language: C++
Config: Release
stderr:
Warning: include-what-you-use reported diagnostics:
/home/runner/work/btck/btck/src/chain.hpp should add these lines:
/home/runner/work/btck/btck/src/chain.hpp should remove these lines:
- #include <btck/btck.h> // lines 7-7
The full include-list for /home/runner/work/btck/btck/src/chain.hpp:
#include "util/ref_counted.hpp" // for RefCounted
---
/home/runner/work/btck/btck/src/chain.cpp should add these lines:
struct btck_Block;
/home/runner/work/btck/btck/src/chain.cpp should remove these lines:
The full include-list for /home/runner/work/btck/btck/src/chain.cpp:
#include "chain.hpp"
#include <btck/btck.h> // for btck_Chain_At, btck_Chain_Find, btck_Chain_Ge...
#include <cstddef> // for size_t, ptrdiff_t
struct btck_Block;
---