bug-make
[Top][All Lists]
Advanced

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

Re: [PATCH] Fix src/function.c build failure on gcc-12.


From: Sergei Trofimovich
Subject: Re: [PATCH] Fix src/function.c build failure on gcc-12.
Date: Tue, 22 Feb 2022 08:48:59 +0000

On Mon, 21 Feb 2022, 15:29 Paul Smith, <psmith@gnu.org> wrote:
>
> On Mon, 2022-02-21 at 08:59 +0000, Edward Welbourne wrote:
> > and that's assuming a 32-bit int; the signed range is from -
> > 2,147,483,647 to 2,147,483,648.  However, may I suggest the following
> > (which I know included in the GPL'd cfengine sources at some point):
>
> This computation is already included in GNU make (in Git) as the
> constant INTSTR_LENGTH (which uses sizeof(uintmax_t) as the basis),
> from a previous, similar suggestion you made a few months ago :).
>
> I modified this and a few other buffers that used static lengths, to
> use the INTSTR_LENGTH macro.

Sounds good. Which repository I should use to pull changes like that?
I looked at https://git.savannah.gnu.org/cgit/make.git and did not find it.



reply via email to

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