From: Eli Zaretskii <eliz@gnu.org>
To: Paul Eggert <eggert@cs.ucla.edu>
Cc: emacs-devel@gnu.org
Subject: Warning in lib/malloc.c
Date: Wed, 18 Dec 2024 15:30:19 +0200 [thread overview]
Message-ID: <86msgtm844.fsf@gnu.org> (raw)
Recent update from Gnulib causes the following compilation warning
when building with MinGW:
malloc.c:32:1: warning: no previous prototype for 'rpl_malloc' [-Wmissing-prototypes]
32 | rpl_malloc (size_t n)
| ^~~~~~~~~~
I'm guessing that this is because nt/gnulib-cfg.mk does
OMIT_GNULIB_MODULE_malloc-posix = true
OMIT_GNULIB_MODULE_realloc-gnu = true
OMIT_GNULIB_MODULE_realloc-posix = true
and thus does not include (and probably doesn't generate) some Gnulib
header. I also think that the MinGW build should not compile
malloc.c, as I've seen no callers of rpl_malloc. So maybe
nt/gnulib-cfg.mk should also do
OMIT_GNULIB_MODULE_malloc-gnu = true
? If you agree, I will make that change.
Thanks.
next reply other threads:[~2024-12-18 13:30 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-12-18 13:30 Eli Zaretskii [this message]
2024-12-18 17:48 ` Warning in lib/malloc.c Paul Eggert
2024-12-18 19:17 ` Eli Zaretskii
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=86msgtm844.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=eggert@cs.ucla.edu \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).