bug-tar
[Top][All Lists]
Advanced

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

Re: maint: prefer ckd_add to INT_ADD_WRAPV


From: Lőrinczy
Subject: Re: maint: prefer ckd_add to INT_ADD_WRAPV
Date: Wed, 24 Jul 2024 09:59:17 +0200

On Tue, 2024-07-23 at 07:51 -0700, Paul Eggert wrote:
> On 2024-07-23 01:15, Lőrinczy via Bug reports for GNU Tar wrote:
> > On Sun, 2024-07-21 at 12:34 -0700, Collin Funk wrote:
> >> Since pretty much everywhere else uses C23 ckd_* instead of intprops
> >> *_WRAV macros now, here is a patch for tar.
> > 
> > Hi, I admit I don't know what it is, but checked the gcc versions on my
> > Linux-box, and found that only gcc-14.1 has this file, 12.2..13.22 (and
> > likely the earlier versions) do not.
> > So for compatibility reasons I'd like to suggest to delay this change
> > for a few years (say a decade or so).
> 
> Shouldn't be an issue, as Gnulib's stdckdint module supplies 
> replacements for old compilers. It has been tested on compilers that are 
> decades old.

That's good news, thank you.

(Coincidentally, it is gnulib that prevents me from compiling
tar-1.35 on Aix-7.2 with gc-8.3: gnulib's sttdef.h does some
clever trick to outmaneuver xlc regarding max_align_t --
sadly this clever trick doesn't work with gcc.)





reply via email to

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