https://sourceware.org/bugzilla/show_bug.cgi?id=31863
--- Comment #6 from Sourceware Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Nick Alcock <n...@sourceware.org>: https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=f86f9fd85999c7a483855793b3efe85da1d6eb74 commit f86f9fd85999c7a483855793b3efe85da1d6eb74 Author: Nick Alcock <nick.alc...@oracle.com> Date: Tue Jun 3 13:39:33 2025 +0100 libctf: use __attribute__((__gnu_printf__)) where appropriate We don't use any GNU-specific printf args, but this prevents warnings about %z, observed on MinGW even though every libc anyone is likely to use there supports %z perfectly well, and we're not stopping using it just because MinGW complains. Doing this means we stand more chance of seeing *actual* problems on such platforms without them being drowned in noise. We turn this off on clang, which doesn't support __gnu_printf__. Suggested by Eli Zaretskii. libctf/ PR libctf/31863 * ctf-impl.h (_libctf_printflike_): Use __gnu_printf__. -- You are receiving this mail because: You are on the CC list for the bug.