Missing inline in gmp-impl.h

Niels Möller nisse at lysator.liu.se
Mon Jul 30 22:58:30 CEST 2012


When including gmp-impl.h and compiling with gcc -Wall -DWANT_ASSERT, I get
the warnings:

/home/nisse/hack/gmp/gmp-impl.h:1885: warning: `_mpz_newalloc' defined but not used
/home/nisse/hack/gmp/gmp-impl.h:1946: warning: `log_n_max' defined but not used

Are these functions intended to be inline? Currently they're declared
static, but not inline.

Regards,
/Niels


-- 
Niels Möller. PGP-encrypted email is preferred. Keyid C0B98E26.
Internet email is subject to wholesale government surveillance.



More information about the gmp-devel mailing list