Roumen Petrov <[EMAIL PROTECTED]> added the comment: 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. _______________________________________ Python tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue4370> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com