gmp-6.1.2 Bug Report (gmp_fprintf(), "implicit declaration of function" warning)

Niels Möller nisse at
Sun Apr 21 07:55:33 UTC 2019

"mlg ." <mlg556 at> writes:

> Long story short, with gcc, the function/macro "gmp_fprintf()" gives
> an"implicit declaration of function" warning. Please see the attached file
> for the complete report.


: Note however that prototypes for GMP functions with FILE * parameters
: are only provided if <stdio.h> is included too. 

> #include <gmp.h>
> #include <stdio.h>

These two includes need to be in the opposite order.


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

More information about the gmp-bugs mailing list