This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/15444] New: Bad warning message in printf format checking
- From: "james-gcc-bugzilla-501qll3d at and dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 14 May 2004 18:07:19 -0000
- Subject: [Bug c/15444] New: Bad warning message in printf format checking
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
Although gcc can check i18n parameter specifiers in printf format strings, the
warning given if you mix them is the confusing 'warning: unknown conversion type
character `$' in format'. Admitedly SuSv3 does say...
The format can contain either numbered argument conversion specifications (that
is, "%n$" and "*m$"), or unnumbered argument conversion specifications (that is,
% and * ), but not both.
...however glibc does work in this mode, as do a number of other implementations
of printf.
--
Summary: Bad warning message in printf format checking
Product: gcc
Version: 3.3.2
Status: UNCONFIRMED
Severity: enhancement
Priority: P2
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: james-gcc-bugzilla-501qll3d at and dot org
CC: gcc-bugs at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15444