[prev in list] [next in list] [prev in thread] [next in thread]
List: gmp-bugs
Subject: Re: gmp-6.1.2 Bug Report (gmp_fprintf(), "implicit declaration of function" warning)
From: nisse () lysator ! liu ! se (Niels =?utf-8?Q?M=C3=B6ller?=)
Date: 2019-04-21 7:55:33
Message-ID: cpf5zr7u70q.fsf () armitage ! lysator ! liu ! se
[Download RAW message or body]
"mlg ." <mlg556@gmail.com> 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
gmp-bugs@gmplib.org
https://gmplib.org/mailman/listinfo/gmp-bugs
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic