: Use '%Z' for size_t.
Subsystems (2)
Quoted 3 lines · Linux Kernel Mailing List
ChangeSet 1.1561.2.2, 2004/02/18 13:11:42-08:00, [email protected]
[APPLETALK]: Use '%Z' for
size_t.
%Zd is an ancient GNUism. Please use %zd in new code instead.
Signature · 1 line
dwmw2
Quoted 6 lines · On Thu, 19 Feb 2004 15:27:17 +0000 David Woodhouse <[email protected]> wrote:
Quoted 3 lines · Linux Kernel Mailing List
ChangeSet 1.1561.2.2, 2004/02/18 13:11:42-08:00, [email protected]
[APPLETALK]: Use '%Z' for
size_t.%Zd is an ancient GNUism. Please use %zd in new code instead.
As long as lib/vsprintf.c in the kernel supports it, there is no reason not to use it. They're never going to remove recognition of this thing from gcc printf's parsing.
If it really bothers you, then go sick a kernel janitor onto it, because there are thousands of uses of %Z, I know because I put most of them into the tree :-)
Quoted 6 lines · David S. Miller
As long as
lib/vsprintf.cin the kernel supports it, there is no reason not to use it. They're never going to remove recognition of this thing from gcc printf's parsing.If it really bothers you, then go sick a kernel janitor onto it, because there are thousands of uses of %Z, I know because I put most of them into the tree :-)
Never's a long time.... the request was that you refrain from putting _new_ ones in. That's not so hard, now is it?
Signature · 1 line
dwmw2
Quoted 2 lines · On Thu, 19 Feb 2004 18:50:15 +0000 David Woodhouse <[email protected]> wrote:
the request was that you refrain from putting
_new_ ones in. That's not so hard, now is it?
Sure, no problem.