This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c/15444] New: Bad warning message in printf format checking


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]