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_internal.dir/bench_internal.c.o -MF src/CMakeFiles/bench_internal.dir/bench_internal.c.o.d -o src/CMakeFiles/bench_internal.dir/bench_internal.c.o -c /home/runner/work/nightly-builds/nightly-builds/src/bench_internal.c
working_directory: "/home/runner/work/nightly-builds/nightly-builds/build"
Target: bench_internal
Target Type: EXECUTABLE
Source: /home/runner/work/nightly-builds/nightly-builds/src/bench_internal.c
Language: C
Config: Debug
stderr:
Warning: include-what-you-use reported diagnostics:
/home/runner/work/nightly-builds/nightly-builds/src/bench_internal.c should add these lines:
#include <string.h> // for memcpy
#include "field.h" // for secp256k1_fe_add, secp256k1_fe_normali...
#include "group.h" // for secp256k1_ge, secp256k1_gej
#include "hash.h" // for secp256k1_hmac_sha256, secp256k1_rfc69...
#include "scalar_4x64.h" // for secp256k1_scalar
#include "scalar_4x64_impl.h" // for secp256k1_scalar_add, secp256k1_scalar...
/home/runner/work/nightly-builds/nightly-builds/src/bench_internal.c should remove these lines:
- #include "../include/secp256k1.h" // lines 10-10
- #include "assumptions.h" // lines 12-12
- #include "util.h" // lines 13-13
The full include-list for /home/runner/work/nightly-builds/nightly-builds/src/bench_internal.c:
#include <stdio.h> // for NULL, printf
#include <stdlib.h> // for EXIT_SUCCESS
#include <string.h> // for memcpy
#include "bench.h" // for have_flag, run_benchmark, get_iters
#include "ecmult_impl.h" // for secp256k1_ecmult_wnaf, WINDOW_A
#include "field.h" // for secp256k1_fe_add, secp256k1_fe_normali...
#include "field_impl.h" // for secp256k1_fe_sqrt
#include "group.h" // for secp256k1_ge, secp256k1_gej
#include "group_impl.h" // for secp256k1_ge_set_xo_var, secp256k1_gej...
#include "hash.h" // for secp256k1_hmac_sha256, secp256k1_rfc69...
#include "hash_impl.h" // for secp256k1_hmac_sha256_finalize, secp25...
#include "scalar_4x64.h" // for secp256k1_scalar
#include "scalar_4x64_impl.h" // for secp256k1_scalar_add, secp256k1_scalar...
#include "scalar_impl.h" // for secp256k1_scalar_split_lambda
#include "secp256k1.c" // for CHECK, secp256k1_context_create, secp2...
---