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/script_pubkey.cpp.o -MF CMakeFiles/btck.dir/src/script_pubkey.cpp.o.d @CMakeFiles/btck.dir/src/script_pubkey.cpp.o.modmap -o CMakeFiles/btck.dir/src/script_pubkey.cpp.o -c /home/runner/work/btck/btck/src/script_pubkey.cpp

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

Target: btck

Target Type: SHARED_LIBRARY

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

Language: C++

Config: Release

stderr:

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

/home/runner/work/btck/btck/src/script_pubkey.hpp should add these lines:
#include <cstdint>               // for uint8_t

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

The full include-list for /home/runner/work/btck/btck/src/script_pubkey.hpp:
#include <script/script.h>       // for CScript
#include <cstdint>               // for uint8_t
#include <span>                  // for span
#include "util/ref_counted.hpp"  // for RefCounted
---

/home/runner/work/btck/btck/src/script_pubkey.cpp should add these lines:
#include "btck/btck.h"        // for btck_ScriptPubkey_AsBytes, btck_ScriptP...
#include "script/script.h"    // for CScript, prevector

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

The full include-list for /home/runner/work/btck/btck/src/script_pubkey.cpp:
#include "script_pubkey.hpp"
#include <cstddef>            // for size_t
#include <cstdint>            // for uint8_t
#include <span>               // for span
#include "btck/btck.h"        // for btck_ScriptPubkey_AsBytes, btck_ScriptP...
#include "script/script.h"    // for CScript, prevector
#include "util/as_bytes.hpp"  // for (anonymous), AsBytes
---
Status: 0
Loading...