[issue4370] warning: unknown conversion type character `z' in format

Amaury Forgeot d'Arc report at bugs.python.org
Sun Nov 23 23:52:54 CET 2008


Amaury Forgeot d'Arc <amauryfa at gmail.com> added the comment:

You receive these messages because PyString_FromFormat is declared with 
a special directive __attribute__(format(printf, 1, 2)).
Gcc then takes the format string as a regular printf format and 
validates it against the passed arguments.

You can safely ignore these warnings.
Maybe python should disable this __attribute__ for old compilers.

----------
nosy: +amaury.forgeotdarc

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue4370>
_______________________________________


More information about the Python-bugs-list mailing list