emacs-diffs
[Top][All Lists]
Advanced

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

Re: master updated (b0d095b -> 0689a4a)


From: Alan Third
Subject: Re: master updated (b0d095b -> 0689a4a)
Date: Sun, 4 Apr 2021 12:35:53 +0100

On Sun, Apr 04, 2021 at 01:26:43PM +0200, Lars Ingebrigtsen wrote:
> Alan Third <alan@idiocy.org> writes:
> 
> > Thanks, Lars. I've pushed a fix, but I don't know why the warning
> > about lcss disappeared, so if you could check that that warning has
> > gone at your end too I'd appreciate it.
> 
> Yup; gone now.
> 
> But I'm getting this warning on a different system:
> 
>   CC       image.o
> image.c: In function ‘lookup_image’:
> image.c:2445:31: warning: implicit declaration of function ‘malloc’ 
> [-Wimplicit-function-declaration]
>  2445 |       img->face_font_family = malloc (strlen (font_family) + 1);
>       |                               ^~~~~~
> image.c:2445:31: warning: incompatible implicit declaration of built-in 
> function ‘malloc’
> image.c:62:1: note: include ‘<stdlib.h>’ or provide a declaration of ‘malloc’
>    61 | #include TERM_HEADER
>   +++ |+#include <stdlib.h>
>    62 | #endif /* HAVE_WINDOW_SYSTEM */
> 
> It's also a Debian/bullseye system, but has very few libraries
> installed, so we land inside a different #ifdef section...

Does changing the malloc to xmalloc make it go away?
-- 
Alan Third



reply via email to

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