在 2024-05-16 17:05, Martin Storsjö 写道:
Prefer declaring these attributes with such macros, rather than spelling out the full attribute.These macros were added in 73e50d0577c2111a1810b21de8d61022dbbf2411 in 2013, but haven't been used in mingw-w64 headers since (although they may have been used in user code). These macros, which expand to the full attribute, differ slightly from the other preexisting macros (which are used quite widely) like __MINGW_PRINTF_FORMAT, which expand only to the type string "gnu_printf", "ms_printf" or "printf". However as we do have these existing macros in this form, for declaring a specific form of these format attributes, take them into use where applicable. Signed-off-by: Martin Storsjö <mar...@martin.st> --- mingw-w64-headers/crt/stdio.h | 140 +++++++++++++++++----------------- 1 file changed, 70 insertions(+), 70 deletions(-)
LGTM. Thanks. -- Best regards, LIU Hao
OpenPGP_signature.asc
Description: OpenPGP digital signature
_______________________________________________ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public