emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: master be0f2de: * src/fns.c (hash_string): Speed up on large strings


From: Lars Ingebrigtsen
Subject: Re: master be0f2de: * src/fns.c (hash_string): Speed up on large strings
Date: Wed, 09 Dec 2020 00:30:05 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]