From: Lars Ingebrigtsen <larsi@gnus.org>
To: emacs-devel@gnu.org
Cc: Stefan Monnier <monnier@iro.umontreal.ca>
Subject: Re: master be0f2de: * src/fns.c (hash_string): Speed up on large strings
Date: Wed, 09 Dec 2020 00:30:05 +0100 [thread overview]
Message-ID: <87v9db7u6a.fsf@gnus.org> (raw)
In-Reply-To: <20201208230859.CF8F120A15@vcs0.savannah.gnu.org> (Stefan Monnier's message of "Tue, 8 Dec 2020 18:08:59 -0500 (EST)")
monnier@iro.umontreal.ca (Stefan Monnier) writes:
> +#include <stdio.h>
Was that included by mistake? For some reason, if it's present, we get
these compilation warnings:
fns.c: In function ‘Fstring_search’:
fns.c:5541:15: warning: implicit declaration of function ‘memmem’; did you mean ‘memset’? [-Wimplicit-function-declaration]
5541 | res = memmem (haystart, haybytes,
| ^~~~~~
| memset
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
next parent reply other threads:[~2020-12-08 23:30 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20201208230858.2745.48500@vcs0.savannah.gnu.org>
[not found] ` <20201208230859.CF8F120A15@vcs0.savannah.gnu.org>
2020-12-08 23:30 ` Lars Ingebrigtsen [this message]
2020-12-08 23:55 ` master be0f2de: * src/fns.c (hash_string): Speed up on large strings Stefan Monnier
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=87v9db7u6a.fsf@gnus.org \
--to=larsi@gnus.org \
--cc=emacs-devel@gnu.org \
--cc=monnier@iro.umontreal.ca \
/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).