diff options
author | 2019-10-24 17:06:52 +0300 | |
---|---|---|
committer | 2019-10-24 17:06:52 +0300 | |
commit | ae76e4106345035503466bf9dcfa3b0033a526c6 (patch) | |
tree | 50ebddc83138785ec775aeb8e1c7ac06c7395706 /include/rin/definitions.h | |
parent | 84cec7dc2c645e4d1bbab8e8496c4f6cd9562989 (diff) | |
download | librin-ae76e4106345035503466bf9dcfa3b0033a526c6.tar.gz librin-ae76e4106345035503466bf9dcfa3b0033a526c6.tar.bz2 librin-ae76e4106345035503466bf9dcfa3b0033a526c6.zip |
diagnostic: implement printing function's name.
Signed-off-by: Gediminas Jakutis <gediminas@varciai.lt>
Diffstat (limited to 'include/rin/definitions.h')
-rw-r--r-- | include/rin/definitions.h | 2 |
1 files changed, 1 insertions, 1 deletions
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)) |