This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author rpetrov
Recipients akitada, amaury.forgeotdarc, brett.cannon, loewis, rpetrov
Date 2008-11-29.16:54:35
SpamBayes Score 5.2968207e-05
Marked as misclassified No
Message-id <1227977677.39.0.672522631408.issue4370@psf.upfronthosting.co.za>
In-reply-to
Content
My idea was not to remove Py_GCC_ATTRIBUTE but the new macro with
specific name that use Py_GCC_ATTRIBUTE.

If macro name is Py_GCC_FORMAT_ATTRIBUTE then something similar to :
#if !defined(PY_FORMAT_SIZE_T)
#define Py_GCC_FORMAT_ATTRIBUTE(type, str_idx, arg_idx)
#else
#define Py_GCC_FORMAT_ATTRIBUTE(type, str_idx, arg_idx)
Py_GCC_ATTRIBUTE((format(type, str_idx, arg_idx))
#endif

and next in the code
s/Py_GCC_ATTRIBUTE(...)/Py_GCC_FORMAT_ATTRIBUTE(...)/g as rest of the
proposed patch.
History
Date User Action Args
2008-11-29 16:54:37rpetrovsetrecipients: + rpetrov, loewis, brett.cannon, amaury.forgeotdarc, akitada
2008-11-29 16:54:37rpetrovsetmessageid: <1227977677.39.0.672522631408.issue4370@psf.upfronthosting.co.za>
2008-11-29 16:54:36rpetrovlinkissue4370 messages
2008-11-29 16:54:35rpetrovcreate