From 8667b34da6eda883364ece8eb1edbb98bdcdd1ea Mon Sep 17 00:00:00 2001 From: Philippe Teuwen Date: Tue, 2 Jun 2020 23:12:29 +0200 Subject: [PATCH] document mingw tweak --- client/deps/tinycbor/cbor.h | 1 + 1 file changed, 1 insertion(+) diff --git a/client/deps/tinycbor/cbor.h b/client/deps/tinycbor/cbor.h index 081597fec..6890ee597 100644 --- a/client/deps/tinycbor/cbor.h +++ b/client/deps/tinycbor/cbor.h @@ -555,6 +555,7 @@ enum CborPrettyFlags { CborPrettyDefaultFlags = CborPrettyIndicateIndeterminateLength }; +/* cf https://sourceforge.net/p/mingw-w64/wiki2/gnu%20printf/ */ typedef CborError(*CborStreamFunction)(void *token, const char *fmt, ...) #if defined(__MINGW32__) || defined(__MINGW64__) __attribute__((format (__MINGW_PRINTF_FORMAT, 2, 3)));