"mlg ." <[email protected]> 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.

See
https://gmplib.org/manual/Headers-and-Libraries.html#Headers-and-Libraries.

: 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.

Regards,
/Niels

-- 
Niels Möller. PGP-encrypted email is preferred. Keyid 368C6677.
Internet email is subject to wholesale government surveillance.
_______________________________________________
gmp-bugs mailing list
[email protected]
https://gmplib.org/mailman/listinfo/gmp-bugs

Reply via email to