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_ECDH=1 -DENABLE_MODULE_ELLSWIFT=1 -DENABLE_MODULE_EXTRAKEYS=1 -DENABLE_MODULE_MUSIG=1 -DENABLE_MODULE_SCHNORRSIG=1 -DUSE_ASM_X86_64=1 -DVERIFY -g -std=c90 -Wall -pedantic -Wcast-align -Wconditional-uninitialized -Wextra -Wnested-externs -Wno-long-long -Wno-overlength-strings -Wno-unused-function -Wreserved-identifier -Wshadow -Wstrict-prototypes -Wundef -MD -MT src/CMakeFiles/tests.dir/tests.c.o -MF src/CMakeFiles/tests.dir/tests.c.o.d -o src/CMakeFiles/tests.dir/tests.c.o -c /home/runner/work/nightly-builds/nightly-builds/src/tests.c
working_directory: "/home/runner/work/nightly-builds/nightly-builds/build"
Target: tests
Target Type: EXECUTABLE
Source: /home/runner/work/nightly-builds/nightly-builds/src/tests.c
Language: C
Config: Debug
stderr:
Warning: include-what-you-use reported diagnostics:
/home/runner/work/nightly-builds/nightly-builds/src/tests.c should add these lines:
#include <limits.h> // for INT_MAX
#include <stdint.h> // for int32_t
#include "ecdsa_impl.h" // for secp256k...
#include "eckey_impl.h" // for secp256k...
#include "ecmult.h" // for ECMULT_T...
#include "ecmult_const_impl.h" // for secp256k...
#include "ecmult_gen.h" // for secp256k...
#include "ecmult_gen_impl.h" // for secp256k...
#include "ecmult_impl.h" // for secp256k...
#include "field.h" // for SECP256K...
#include "field_5x52_impl.h" // for secp256k...
#include "field_impl.h" // for secp256k...
#include "group.h" // for secp256k...
#include "group_impl.h" // for secp256k...
#include "hash.h" // for secp256k...
#include "hash_impl.h" // for secp256k...
#include "hsort_impl.h" // for secp256k...
#include "int128_native.h" // for secp256k...
#include "int128_native_impl.h" // for secp256k...
#include "modinv32.h" // for secp256k...
#include "modinv64.h" // for secp256k...
#include "precomputed_ecmult.h" // for WINDOW_G
#include "scalar_4x64.h" // for secp256k...
#include "scalar_4x64_impl.h" // for secp256k...
#include "scalar_impl.h" // for secp256k...
#include "scratch.h" // for secp256k...
#include "scratch_impl.h" // for secp256k...
/home/runner/work/nightly-builds/nightly-builds/src/tests.c should remove these lines:
- #include <time.h> // lines 11-11
- #include "../include/secp256k1.h" // lines 22-22
- #include "../include/secp256k1_preallocated.h" // lines 23-23
- #include "int128_impl.h" // lines 35-35
- #include "util.h" // lines 27-27
The full include-list for /home/runner/work/nightly-builds/nightly-builds/src/tests.c:
#include <limits.h> // for INT_MAX
#include <stdint.h> // for int32_t
#include <stdio.h> // for NULL
#include <stdlib.h> // for free
#include <string.h> // for memset
#include "../contrib/lax_der_parsing.c" // for ecdsa_si...
#include "../contrib/lax_der_privatekey_parsing.c" // for ec_privk...
#include "checkmem.h" // for SECP256K...
#include "ecdsa_impl.h" // for secp256k...
#include "eckey_impl.h" // for secp256k...
#include "ecmult.h" // for ECMULT_T...
#include "ecmult_const_impl.h" // for secp256k...
#include "ecmult_gen.h" // for secp256k...
#include "ecmult_gen_impl.h" // for secp256k...
#include "ecmult_impl.h" // for secp256k...
#include "field.h" // for SECP256K...
#include "field_5x52_impl.h" // for secp256k...
#include "field_impl.h" // for secp256k...
#include "group.h" // for secp256k...
#include "group_impl.h" // for secp256k...
#include "hash.h" // for secp256k...
#include "hash_impl.h" // for secp256k...
#include "hsort_impl.h" // for secp256k...
#include "int128_native.h" // for secp256k...
#include "int128_native_impl.h" // for secp256k...
#include "modinv32.h" // for secp256k...
#include "modinv32_impl.h" // for secp256k...
#include "modinv64.h" // for secp256k...
#include "modinv64_impl.h" // for secp256k...
#include "modules/ecdh/tests_impl.h" // for run_ecdh...
#include "modules/ellswift/tests_impl.h" // for run_ells...
#include "modules/extrakeys/tests_impl.h" // for run_extr...
#include "modules/musig/tests_impl.h" // for run_musi...
#include "modules/schnorrsig/tests_impl.h" // for run_schn...
#include "precomputed_ecmult.h" // for WINDOW_G
#include "scalar_4x64.h" // for secp256k...
#include "scalar_4x64_impl.h" // for secp256k...
#include "scalar_impl.h" // for secp256k...
#include "scratch.h" // for secp256k...
#include "scratch_impl.h" // for secp256k...
#include "secp256k1.c" // for CHECK
#include "testrand_impl.h" // for testrand...
#include "testutil.h" // for testutil...
#include "wycheproof/ecdsa_secp256k1_sha256_bitcoin_test.h" // for SECP256K...
---