[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] fix GCC 8 compile error
From: |
Christian Schoenebeck |
Subject: |
Re: [PATCH] fix GCC 8 compile error |
Date: |
Sat, 18 Sep 2021 13:18:13 +0200 |
On Samstag, 18. September 2021 00:30:01 CEST Paul Eggert wrote:
> On 9/17/21 9:33 AM, Christian Schoenebeck wrote:
> > attached patch fixes a compile error with GCC 8, whining about missing
> > malloc function attribute.
>
> As I understand it, this patch is not needed for recent GCC, which is smart
> enough to not require programmers to specify attributes that GCC can easily
> deduce on its own. Let's not bother with a patch, as it's not worth
> complicating the code merely to pacify older GCC.
Yes, this patch is just needed if you care that tar does no longer compile on
a substantial amount of systems out there.
This GCC version is as ancient as two years BTW.
Best regards,
Christian Schoenebeck