[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
- master updated (b0d095b -> 0689a4a), Alan Third, 2021/04/03
- master 4e1f92f 1/4: Implement frame-scale-factor, Alan Third, 2021/04/03
- master 40842f6 2/4: Fix NSTRACE failure, Alan Third, 2021/04/03
- master 1fdbeff 3/4: Set CSS for SVG files, Alan Third, 2021/04/03
- master 0689a4a 4/4: Make new SVG widgets match character height (bug#47074), Alan Third, 2021/04/03
- Re: master updated (b0d095b -> 0689a4a), Lars Ingebrigtsen, 2021/04/03