[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [screen-devel] suppress GCC 10 warnings
From: |
Amadeusz Sławiński |
Subject: |
Re: [screen-devel] suppress GCC 10 warnings |
Date: |
Mon, 3 Feb 2020 20:10:17 +0100 |
On Sat, 1 Feb 2020 13:53:29 -0800
Christophe Meyering <address@hidden> wrote:
> Hello,
>
> Using GCC10 on Fedora 31, I built screen from a git clone of the latest
> sources.
> After running
> $cd src && ./autogen.sh && ./configure && make
> I got multiple warnings in acls.c:
>
(...)
> I fixed the incompatible-pointer-type warning by adding const to the macro
> on line 45 in test-winmsgbuf (patch 0003).
> Finally, I replaced the alloca call to a malloc/free pair to fix the
> implicit-funtion-declaration warning (patch 0004).
> Another option would be to #include <alloca.h>
>
> Chris Meyering
Hi,
thanks for patches, I applied them.
Amadeusz