unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Re: master be0f2de: * src/fns.c (hash_string): Speed up on large strings
       [not found] ` <20201208230859.CF8F120A15@vcs0.savannah.gnu.org>
@ 2020-12-08 23:30   ` Lars Ingebrigtsen
  2020-12-08 23:55     ` Stefan Monnier
  0 siblings, 1 reply; 2+ messages in thread
From: Lars Ingebrigtsen @ 2020-12-08 23:30 UTC (permalink / raw)
  To: emacs-devel; +Cc: Stefan Monnier

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



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: master be0f2de: * src/fns.c (hash_string): Speed up on large strings
  2020-12-08 23:30   ` master be0f2de: * src/fns.c (hash_string): Speed up on large strings Lars Ingebrigtsen
@ 2020-12-08 23:55     ` Stefan Monnier
  0 siblings, 0 replies; 2+ messages in thread
From: Stefan Monnier @ 2020-12-08 23:55 UTC (permalink / raw)
  To: Lars Ingebrigtsen; +Cc: emacs-devel

>> +#include <stdio.h>
>
> Was that included by mistake?

Yes,


        Stefan




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-12-08 23:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20201208230858.2745.48500@vcs0.savannah.gnu.org>
     [not found] ` <20201208230859.CF8F120A15@vcs0.savannah.gnu.org>
2020-12-08 23:30   ` master be0f2de: * src/fns.c (hash_string): Speed up on large strings Lars Ingebrigtsen
2020-12-08 23:55     ` Stefan Monnier

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).