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/sha3.cpp.o -MF _deps/bitcoin-build/src/crypto/CMakeFiles/bitcoin_crypto.dir/sha3.cpp.o.d -o _deps/bitcoin-build/src/crypto/CMakeFiles/bitcoin_crypto.dir/sha3.cpp.o -c /home/runner/work/btck/btck/build/_deps/bitcoin-src/src/crypto/sha3.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/sha3.cpp
Language: C++
Config: Release
stderr:
Warning: include-what-you-use reported diagnostics:
/home/runner/work/btck/btck/build/_deps/bitcoin-src/src/crypto/sha3.h should add these lines:
template <typename C> class Span;
/home/runner/work/btck/btck/build/_deps/bitcoin-src/src/crypto/sha3.h should remove these lines:
- #include <span.h> // lines 8-8
The full include-list for /home/runner/work/btck/btck/build/_deps/bitcoin-src/src/crypto/sha3.h:
#include <stdint.h> // for uint64_t
#include <cstdlib> // for size_t
template <typename C> class Span;
---
/home/runner/work/btck/btck/build/_deps/bitcoin-src/src/crypto/sha3.cpp should add these lines:
#include <assert.h> // for assert
#include <iterator> // for begin, end
/home/runner/work/btck/btck/build/_deps/bitcoin-src/src/crypto/sha3.cpp should remove these lines:
- #include <array> // lines 13-13
The full include-list for /home/runner/work/btck/btck/build/_deps/bitcoin-src/src/crypto/sha3.cpp:
#include <crypto/sha3.h>
#include <assert.h> // for assert
#include <crypto/common.h> // for ReadLE64, WriteLE64
#include <span.h> // for Span
#include <stdint.h> // for uint64_t
#include <algorithm> // for copy, fill
#include <bit> // for rotl
#include <iterator> // for begin, end
---