From ae76e4106345035503466bf9dcfa3b0033a526c6 Mon Sep 17 00:00:00 2001 From: Gediminas Jakutis Date: Thu, 24 Oct 2019 17:06:52 +0300 Subject: diagnostic: implement printing function's name. Signed-off-by: Gediminas Jakutis --- include/rin/definitions.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/rin/definitions.h') diff --git a/include/rin/definitions.h b/include/rin/definitions.h index 9995e0f..75e4da0 100644 --- a/include/rin/definitions.h +++ b/include/rin/definitions.h @@ -28,7 +28,7 @@ # define WEAK_SYM __attribute__((weak)) /* allow the compiler to check varargs */ -# define FORMAT_STRING(a, b) __attribute__((format (printf, a, b))) +# define FORMAT_STRING(a, b) __attribute__((format (gnu_printf, a, b))) /* optimizing likely / unlikely branches */ # define likely(a) (__builtin_expect(!!(a), 1)) -- cgit v1.2.3