I've just noticed that GMP provides mpz_inits, so that mpz_ptr is necessary: Since type checking cannot be done with variadic functions, one must provide types compatible with mpz_ptr, or the behavior is undefined. This is not an issue for mpz_t variables, but the last argument needs to be (mpz_ptr) 0 or equivalent.
-- Vincent Lefèvre <vinc...@vinc17.net> - 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-devel mailing list gmp-devel@gmplib.org https://gmplib.org/mailman/listinfo/gmp-devel