minor noises made by gcc and -std=iso9899:1999 with -Wall -pedantic -Wextra -pedantic-errors

Marco Bodrato bodrato at mail.dm.unipi.it
Tue Jul 2 21:57:50 UTC 2019


Il Lun, 1 Luglio 2019 6:11 pm, Dennis Clarke ha scritto:
> On 7/1/19 8:09 AM, Vincent Lefevre wrote:
>> On 2019-06-29 20:32:07 -0400, Dennis Clarke wrote:
>>> Of course with silly strict C99 I end up with :

>>> Where I know we have seen that before.
>> MPFR uses in a #else part:
>> /* Avoid an empty translation unit (see ISO C99, 6.9) */
>> typedef int foo;

> That is precisely all I did to printf/repl-vsnprintf.c was to toss in
> the typedef on the last line and the complaint went away.

I think the issue has already been handled in the current development
repository ( https://gmplib.org/devel/repo-usage.html ), by the changeset

If you have the time, an want to test also a current snapshot (
https://gmplib.org/download/snapshot/ ), it may be more useful.



More information about the gmp-discuss mailing list