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 -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/bench_ecmult.dir/bench_ecmult.c.o -MF src/CMakeFiles/bench_ecmult.dir/bench_ecmult.c.o.d -o src/CMakeFiles/bench_ecmult.dir/bench_ecmult.c.o -c /home/runner/work/nightly-builds/nightly-builds/src/bench_ecmult.c
working_directory: "/home/runner/work/nightly-builds/nightly-builds/build"
Target: bench_ecmult
Target Type: EXECUTABLE
Source: /home/runner/work/nightly-builds/nightly-builds/src/bench_ecmult.c
Language: C
Config: Debug
stderr:
Warning: include-what-you-use reported diagnostics:
/home/runner/work/nightly-builds/nightly-builds/src/bench_ecmult.c should add these lines:
#include <stdint.h> // for uint32_t
#include "ecmult_const_impl.h" // for secp256k1_ecmult_const, secp256k1_ecm...
#include "ecmult_gen_impl.h" // for secp256k1_ecmult_gen
#include "field_5x52.h" // for secp256k1_fe
#include "group.h" // for secp256k1_gej, secp256k1_ge
#include "hash.h" // for secp256k1_sha256
#include "scalar_4x64.h" // for secp256k1_scalar
#include "scalar_4x64_impl.h" // for secp256k1_scalar_add, secp256k1_scala...
#include "scratch.h" // for secp256k1_scratch_space
/home/runner/work/nightly-builds/nightly-builds/src/bench_ecmult.c should remove these lines:
- #include "../include/secp256k1.h" // lines 10-10
- #include "field_impl.h" // lines 14-14
- #include "util.h" // lines 12-12
The full include-list for /home/runner/work/nightly-builds/nightly-builds/src/bench_ecmult.c:
#include <stdint.h> // for uint32_t
#include <stdio.h> // for printf, NULL, sprintf, size_t, fprintf
#include <stdlib.h> // for free, malloc, EXIT_SUCCESS, EXIT_FAILURE
#include "bench.h" // for have_flag, run_benchmark, get_iters
#include "ecmult_const_impl.h" // for secp256k1_ecmult_const, secp256k1_ecm...
#include "ecmult_gen_impl.h" // for secp256k1_ecmult_gen
#include "ecmult_impl.h" // for secp256k1_ecmult, secp256k1_strauss_s...
#include "field_5x52.h" // for secp256k1_fe
#include "group.h" // for secp256k1_gej, secp256k1_ge
#include "group_impl.h" // for secp256k1_gej_add_var, secp256k1_ge_c...
#include "hash.h" // for secp256k1_sha256
#include "hash_impl.h" // for secp256k1_sha256_finalize, secp256k1_...
#include "scalar_4x64.h" // for secp256k1_scalar
#include "scalar_4x64_impl.h" // for secp256k1_scalar_add, secp256k1_scala...
#include "scalar_impl.h" // for secp256k1_scalar_zero
#include "scratch.h" // for secp256k1_scratch_space
#include "secp256k1.c" // for CHECK, secp256k1_context_create, secp...
---