Subject: Re: bug#42305: 28.0.50; Compilation warnings with mini-gmp

From: Lars Ingebrigtsen <[email-masked]>
Date: Sat, 17 Oct 2020 12:04:05 +0200

Eli Zaretskii <[email-masked]> writes:

> The configuration with mini-gmp, when GMP is not installed, doesn't
> compile cleanly.  First, compilation in lib/ emits this warning:
>
>     CC       mini-gmp-gnulib.o
>   mini-gmp-gnulib.c:28:10: warning: unknown option after ‘#pragma GCC diagnostic’ kind [-Wpragmas]
>   # pragma GCC diagnostic ignored "-Wsuggest-attribute=malloc"

Is this with

./configure --without-libgmp

?  If so, I'm not able to reproduce the bug on Debian bullseye.  But I
see that mini-gmp-gnulib.c was updated a couple of weeks after you
reported this.  Are you still seeing these warnings on your system?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no