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

Akira Kitada report at bugs.python.org
Tue Nov 25 17:09:06 CET 2008


Akira Kitada <akitada at gmail.com> added the comment:

Roumen,
Thanks for the feedback!

This patch disables __attribute__ when PY_FORMAT_SIZE_T isn't defined,
not always.

About the name of the macro, I think you are right.
Py_GCC_FORMAT_ATTRIBUTE would be much better name if it is not used for
other uses. (I'm not sure)
I'll look into the code more and if it seems being safe to rename it,
I'll update the patch and resubmit it.

----------
components: +2to3 (2.x to 3.0 conversion tool), None

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


More information about the Python-bugs-list mailing list