Hi,

I get the following error when compiling mini-gmp.c:

mini-gmp.c:3486:1: error: no previous prototype for 'mpz_lucas_mod' 
[-Werror=missing-prototypes]
 3486 | mpz_lucas_mod (mpz_t V, mpz_t Qk, long Q,
      | ^~~~~~~~~~~~~

Indeed, mini-gmp.c exports mpz_lucas_mod:

int
mpz_lucas_mod (mpz_t V, mpz_t Qk, long Q,
               mp_bitcnt_t b0, const mpz_t n)
{
[...]
}

but it is not declared in mini-gmp.h.

-- 
Vincent Lefèvre <[email protected]> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)
_______________________________________________
gmp-bugs mailing list
[email protected]
https://gmplib.org/mailman/listinfo/gmp-bugs

Reply via email to