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=gcc -- /usr/bin/clang-17 -DCOMB_BLOCKS=43 -DCOMB_TEETH=6 -DECMULT_WINDOW_SIZE=15 -DENABLE_MODULE_ELLSWIFT=1 -DENABLE_MODULE_EXTRAKEYS=1 -DENABLE_MODULE_RECOVERY=1 -DENABLE_MODULE_SCHNORRSIG=1 -DUSE_ASM_X86_64=1 -I/home/runner/work/btck/btck/build/_deps/bitcoin-build/src -I/home/runner/work/btck/btck/build/_deps/bitcoin-src/src -O2 -g -std=c90 -fPIC -fvisibility=hidden -pedantic -Wall -Wcast-align -Wconditional-uninitialized -Wextra -Wnested-externs -Wno-long-long -Wno-overlength-strings -Wno-unused-function -Wreserved-identifier -Wshadow -Wstrict-prototypes -Wundef -MD -MT _deps/bitcoin-build/src/secp256k1/src/CMakeFiles/secp256k1.dir/secp256k1.c.o -MF _deps/bitcoin-build/src/secp256k1/src/CMakeFiles/secp256k1.dir/secp256k1.c.o.d -o _deps/bitcoin-build/src/secp256k1/src/CMakeFiles/secp256k1.dir/secp256k1.c.o -c /home/runner/work/btck/btck/build/_deps/bitcoin-src/src/secp256k1/src/secp256k1.c
working_directory: "/home/runner/work/btck/btck/build"
Target: secp256k1
Target Type: STATIC_LIBRARY
Source: /home/runner/work/btck/btck/build/_deps/bitcoin-src/src/secp256k1/src/secp256k1.c
Language: C
Config: Release
stderr:
Warning: include-what-you-use reported diagnostics:
(/home/runner/work/btck/btck/build/_deps/bitcoin-src/src/secp256k1/include/secp256k1.h has correct #includes/fwd-decls)
/home/runner/work/btck/btck/build/_deps/bitcoin-src/src/secp256k1/src/secp256k1.c should add these lines:
#include <stdlib.h> // for free
#include <string.h> // for memset, memcpy
#include "secp256k1/src/ecmult_gen.h" // for secp256k1_ecmult_gen_...
#include "secp256k1/src/field.h" // for secp256k1_fe_is_zero
#include "secp256k1/src/group.h" // for secp256k1_ge, secp256...
#include "secp256k1/src/hash.h" // for secp256k1_rfc6979_hma...
#include "secp256k1/src/scalar_4x64.h" // for secp256k1_scalar
#include "secp256k1/src/scalar_4x64_impl.h" // for secp256k1_scalar_set_b32
#include "secp256k1/src/scratch.h" // for secp256k1_scratch_space
/home/runner/work/btck/btck/build/_deps/bitcoin-src/src/secp256k1/src/secp256k1.c should remove these lines:
- #include "assumptions.h" // lines 23-23
- #include "ecmult_const_impl.h" // lines 31-31
- #include "ecmult_impl.h" // lines 30-30
- #include "field_impl.h" // lines 27-27
- #include "int128_impl.h" // lines 36-36
The full include-list for /home/runner/work/btck/btck/build/_deps/bitcoin-src/src/secp256k1/src/secp256k1.c:
#include "../include/secp256k1.h"
#include <stdlib.h> // for free
#include <string.h> // for memset, memcpy
#include "../include/secp256k1_preallocated.h" // for secp256k1_context_pre...
#include "checkmem.h" // for SECP256K1_CHECKMEM_DE...
#include "ecdsa_impl.h" // for secp256k1_ecdsa_sig_p...
#include "eckey_impl.h" // for secp256k1_eckey_privk...
#include "ecmult_gen_impl.h" // for secp256k1_ecmult_gen_...
#include "group_impl.h" // for secp256k1_ge_set_gej
#include "hash_impl.h" // for secp256k1_rfc6979_hma...
#include "hsort_impl.h" // for secp256k1_hsort
#include "modules/ellswift/main_impl.h" // lines 830-830
#include "modules/extrakeys/main_impl.h" // lines 818-818
#include "modules/recovery/main_impl.h" // lines 814-814
#include "modules/schnorrsig/main_impl.h" // lines 822-822
#include "scalar_impl.h" // for secp256k1_scalar_clear
#include "scratch_impl.h" // for secp256k1_scratch_create
#include "secp256k1/src/ecmult_gen.h" // for secp256k1_ecmult_gen_...
#include "secp256k1/src/field.h" // for secp256k1_fe_is_zero
#include "secp256k1/src/group.h" // for secp256k1_ge, secp256...
#include "secp256k1/src/hash.h" // for secp256k1_rfc6979_hma...
#include "secp256k1/src/scalar_4x64.h" // for secp256k1_scalar
#include "secp256k1/src/scalar_4x64_impl.h" // for secp256k1_scalar_set_b32
#include "secp256k1/src/scratch.h" // for secp256k1_scratch_space
#include "selftest.h" // for secp256k1_selftest_pa...
#include "util.h" // for secp256k1_callback_call
---