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 -Dsecp256k1_EXPORTS -g -std=c90 -fPIC -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/secp256k1.dir/secp256k1.c.o -MF src/CMakeFiles/secp256k1.dir/secp256k1.c.o.d -o src/CMakeFiles/secp256k1.dir/secp256k1.c.o -c /home/runner/work/nightly-builds/nightly-builds/src/secp256k1.c

working_directory: "/home/runner/work/nightly-builds/nightly-builds/build"

Target: secp256k1

Target Type: SHARED_LIBRARY

Source: /home/runner/work/nightly-builds/nightly-builds/src/secp256k1.c

Language: C

Config: Debug

stderr:

Warning: include-what-you-use reported diagnostics:

(/home/runner/work/nightly-builds/nightly-builds/include/secp256k1.h has correct #includes/fwd-decls)

/home/runner/work/nightly-builds/nightly-builds/src/secp256k1.c should add these lines:
#include <stdlib.h>                             // for free
#include <string.h>                             // for memset, memcpy
#include "ecmult_gen.h"                         // for secp256k1_ecmult_gen_...
#include "field.h"                              // for secp256k1_fe_is_zero
#include "group.h"                              // for secp256k1_ge, secp256...
#include "hash.h"                               // for secp256k1_rfc6979_hma...
#include "scalar_4x64.h"                        // for secp256k1_scalar
#include "scalar_4x64_impl.h"                   // for secp256k1_scalar_set_b32
#include "scratch.h"                            // for secp256k1_scratch_space

/home/runner/work/nightly-builds/nightly-builds/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
- #include "modules/musig/main_impl.h"  // lines 814-814

The full include-list for /home/runner/work/nightly-builds/nightly-builds/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.h"                         // for secp256k1_ecmult_gen_...
#include "ecmult_gen_impl.h"                    // for secp256k1_ecmult_gen_...
#include "field.h"                              // for secp256k1_fe_is_zero
#include "group.h"                              // for secp256k1_ge, secp256...
#include "group_impl.h"                         // for secp256k1_ge_set_gej
#include "hash.h"                               // for secp256k1_rfc6979_hma...
#include "hash_impl.h"                          // for secp256k1_rfc6979_hma...
#include "hsort_impl.h"                         // for secp256k1_hsort
#include "modules/ecdh/main_impl.h"  // lines 798-798
#include "modules/ellswift/main_impl.h"  // lines 818-818
#include "modules/extrakeys/main_impl.h"  // lines 806-806
#include "modules/schnorrsig/main_impl.h"  // lines 810-810
#include "scalar_4x64.h"                        // for secp256k1_scalar
#include "scalar_4x64_impl.h"                   // for secp256k1_scalar_set_b32
#include "scalar_impl.h"                        // for secp256k1_scalar_clear
#include "scratch.h"                            // for secp256k1_scratch_space
#include "scratch_impl.h"                       // for secp256k1_scratch_create
#include "selftest.h"                           // for secp256k1_selftest_pa...
#include "util.h"                               // for secp256k1_callback_call
---
Status: 0
Loading...