1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-06-30 19:12:48 -05:00

Tweak __attribute__((format)) for MinGW.

This silences a bunch of spurious format warnings on a Ubuntu 14.04
mingw-w64 cross-compilation.
This commit is contained in:
Jacob Nevins
2019-04-21 12:54:18 +01:00
parent 134dc0bcaf
commit 81be535f67
2 changed files with 18 additions and 2 deletions

View File

@ -131,7 +131,7 @@ void pageant_make_keylist2(BinarySink *bs)
static void plog(void *logctx, pageant_logfn_t logfn, const char *fmt, ...)
#ifdef __GNUC__
__attribute__ ((format (printf, 3, 4)))
__attribute__ ((format (PUTTY_PRINTF_ARCHETYPE, 3, 4)))
#endif
;