Incorrect warning about printf %0<fieldwidth>p format
Joseph S. Myers
jsm28@cam.ac.uk
Thu May 8 16:44:00 GMT 2003
On Thu, 8 May 2003, Jim Avera wrote:
> The actual implementation in glibc does in
> fact support a field width with %p, and gcc should
> not prevent accessing this functionality.
While the format checking supports genuine GNU extensions in glibc (where
they do not conflict with the standards), it doesn't support features that
just happen to be accidents of the current implementation. The glibc
manual is quite explicit that the 0 flag is not defined for %p, so this
counts as an implementation accident, not a feature that GCC should
support.
--
Joseph S. Myers
jsm28@cam.ac.uk
More information about the Gcc-bugs
mailing list