This change only affects W32. GCC resolves "printf" format attribute to "gnu_printf"
or "ms_printf" depending on the host platform. Make sure it uses gnu_printf even on
W32, because all format strings GNUnet uses are in GNU format.
*/
void
GNUNET_log_nocheck (enum GNUNET_ErrorType kind, const char *message, ...)
- __attribute__ ((format (printf, 2, 3)));
+ __attribute__ ((format (gnu_printf, 2, 3)));
/* from glib */
#if defined(__GNUC__) && (__GNUC__ > 2) && defined(__OPTIMIZE__)