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: Paul Eggert
Subject: [bug-diffutils] bug#64811: [PATCH] build: avoid use of C11 specific %t format size spec
Date: Tue, 1 Aug 2023 16:11:08 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0

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





reply via email to

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