bug-binutils
[Top][All Lists]
Advanced

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

[Bug binutils/29972] inconsistent format specification in singular form


From: bruno at clisp dot org
Subject: [Bug binutils/29972] inconsistent format specification in singular form
Date: Sat, 07 Jan 2023 15:18:36 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=29972

--- Comment #2 from Bruno Haible <bruno at clisp dot org> ---
> Work-around: to update translated text to use PRIu64 format.

I don't know what you mean. The bug is not the translation; the bug is in the
source code that led to the POT file with this contents:

#: readelf.c:11554
#, c-format
msgid ""
"\n"
"Dynamic section at offset %#<PRIx64> contains %<PRId64> entry:\n"
msgid_plural ""
"\n"
"Dynamic section at offset %#<PRIx64> contains %<PRIu64> entries:\n"
msgstr[0] ""
msgstr[1] ""

The second argument to the C format string can be EITHER signed OR unsigned,
not both. It makes no sense for the programmer to specify that it is signed in
one case and unsigned in the other case.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

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