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 -DENABLE_AVX2 -DENABLE_SSE41 -DENABLE_X86_SHANI -I/home/runner/work/btck/btck/build/_deps/bitcoin-build/src -I/home/runner/work/btck/btck/build/_deps/bitcoin-src/src -O2 -std=c++20 -fPIC -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/crypto/CMakeFiles/bitcoin_crypto.dir/siphash.cpp.o -MF _deps/bitcoin-build/src/crypto/CMakeFiles/bitcoin_crypto.dir/siphash.cpp.o.d -o _deps/bitcoin-build/src/crypto/CMakeFiles/bitcoin_crypto.dir/siphash.cpp.o -c /home/runner/work/btck/btck/build/_deps/bitcoin-src/src/crypto/siphash.cpp
working_directory: "/home/runner/work/btck/btck/build"
Target: bitcoin_crypto
Target Type: STATIC_LIBRARY
Source: /home/runner/work/btck/btck/build/_deps/bitcoin-src/src/crypto/siphash.cpp
Language: C++
Config: Release
stderr:
Warning: include-what-you-use reported diagnostics:
/home/runner/work/btck/btck/build/_deps/bitcoin-src/src/crypto/siphash.h should add these lines:
class uint256;
template <typename C> class Span;
/home/runner/work/btck/btck/build/_deps/bitcoin-src/src/crypto/siphash.h should remove these lines:
- #include <span.h> // lines 10-10
- #include <uint256.h> // lines 11-11
The full include-list for /home/runner/work/btck/btck/build/_deps/bitcoin-src/src/crypto/siphash.h:
#include <stdint.h> // for uint64_t, uint32_t, uint8_t
class uint256;
template <typename C> class Span;
---
/home/runner/work/btck/btck/build/_deps/bitcoin-src/src/crypto/siphash.cpp should add these lines:
#include <assert.h> // for assert
#include "span.h" // for Span
#include "uint256.h" // for uint256
/home/runner/work/btck/btck/build/_deps/bitcoin-src/src/crypto/siphash.cpp should remove these lines:
The full include-list for /home/runner/work/btck/btck/build/_deps/bitcoin-src/src/crypto/siphash.cpp:
#include <crypto/siphash.h>
#include <assert.h> // for assert
#include <bit> // for rotl
#include "span.h" // for Span
#include "uint256.h" // for uint256
---