This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
glibc %I printf flag
- To: libc-alpha at sources dot redhat dot com
- Subject: glibc %I printf flag
- From: "Joseph S. Myers" <jsm28 at cam dot ac dot uk>
- Date: Tue, 22 Aug 2000 20:50:29 +0100 (BST)
glibc supports an undocumented 'I' flag on printf formats.
(a) Given that it is undocumented, is it a feature that is going to stay
around?
(b) In what locales does this make any difference to the output?
(c) Does it make sense to make GCC's format checking recognise it?
(d) If the answer to (c) is yes, then are decimal integer formats (%d, %i,
%u) to only ones to accept it on, and should the oddity that glibc also
accepts it after width or precision, unlike other flags, be followed by
GCC?
--
Joseph S. Myers
jsm28@cam.ac.uk