GNU bug report logs - #42305
28.0.50; Compilation warnings with mini-gmp

Previous Next

Package: emacs;

Reported by: Eli Zaretskii <eliz <at> gnu.org>

Date: Fri, 10 Jul 2020 07:21:02 UTC

Severity: normal

Found in version 28.0.50

Full log


Message #8 received at 42305 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 42305 <at> debbugs.gnu.org
Subject: Re: bug#42305: 28.0.50; Compilation warnings with mini-gmp
Date: Sat, 17 Oct 2020 12:04:05 +0200
Eli Zaretskii <eliz <at> gnu.org> 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




This bug report was last modified 4 years and 243 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.