bug-diffutils
[Top][All Lists]
Advanced

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

[bug-diffutils] bug#64811: [PATCH] build: avoid use of C11 specific %t f


From: Pádraig Brady
Subject: [bug-diffutils] bug#64811: [PATCH] build: avoid use of C11 specific %t format size spec
Date: Sat, 12 Aug 2023 11:31:43 +0100
User-agent: Mozilla Thunderbird

On 02/08/2023 00:11, Paul Eggert wrote:
On 2023-08-01 06:28, Pádraig Brady wrote:
perhaps we can now use %j, %t, and %z now?

I hope so, particularly as we haven't seen any issues with Coreutils 9.1
or later.

I haven't run into problems using these printf formats for a while.
Gnulib doc is ambiguous, but suggests it could be an issue on AIX 5.1,
HP-UX 11.23, IRIX 6.5, Solaris 9, Cygwin 1.5.24, mingw, MSVC 14. Of
these, the only platforms that are not obsolete are mingw and MSVC 14,
and Stack Overflow[1] suggests that this is only with older MS-Windows
versions and can be worked around easily on those older versions by
whoever's doing the port.

Diffutils doesn't work on MS-Windows now anyway, as per Bug#64811, so
I'll cc to that bug report to give Gisle Vanem a heads-up about this
other issue.

[1]:
https://stackoverflow.com/questions/44382862/how-to-printf-a-size-t-without-warning-in-mingw-w64-gcc-7-1

Thanks for the info.
I'll apply the following to allow use of all C99 size specs so.

cheers,
Pádraig

Attachment: coreutils-allow-c99-size-specs.patch
Description: Text Data


reply via email to

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