bug-make
[Top][All Lists]
Advanced

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

Re: GNU make 4.3.90 release candidate available


From: Eli Zaretskii
Subject: Re: GNU make 4.3.90 release candidate available
Date: Sun, 25 Sep 2022 13:30:01 +0300

> From: Paul Smith <psmith@gnu.org>
> Cc: bug-make@gnu.org
> Date: Sat, 24 Sep 2022 16:44:44 -0400
> 
> On Sat, 2022-09-24 at 16:41 -0400, Paul Smith wrote:
> > makeint.h already has HAVE_MAKEINT_H
> 
> Doh, I meant HAVE_INTTYPES_H of course.

Is the below OK?

--- src/makeint.h~0     2022-09-18 22:06:17.000000000 +0300
+++ src/makeint.h       2022-09-25 13:24:52.537750000 +0300
@@ -290,6 +290,14 @@ char *strerror (int errnum);
 
 #if HAVE_INTTYPES_H
 # include <inttypes.h>
+#else
+# ifndef PRId64
+#  ifdef WINDOWS32
+#   define PRId64 "I64d"
+#  else
+#   define PRId64 "lld"
+#  endif
+# endif
 #endif
 #if HAVE_STDINT_H
 # include <stdint.h>

--- src/function.c~0    2022-09-18 22:06:17.000000000 +0300
+++ src/function.c      2022-09-25 13:26:45.881500000 +0300
@@ -825,11 +825,11 @@ func_wordlist (char *o, char **argv, con
 
   if (start < 1)
     ON (fatal, *expanding_var,
-        "invalid first argument to 'wordlist' function: '%lld'", start);
+        "invalid first argument to 'wordlist' function: '%" PRId64 "'", start);
 
   if (stop < 0)
     ON (fatal, *expanding_var,
-        "invalid second argument to 'wordlist' function: '%lld'", stop);
+        "invalid second argument to 'wordlist' function: '%" PRId64 "'", stop);
 
   count = stop - start + 1;
 



reply via email to

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