From dddc618d3076de2c1b27d01f106bf0bf126d4677 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=8D=9C=E9=83=A8=E6=98=8C=E5=B9=B3?= Date: Thu, 9 Sep 2021 14:05:11 +0900 Subject: suppress GCC's -Wsuggest-attribute=format I was not aware of this because I use clang these days. --- vm_debug.h | 1 + 1 file changed, 1 insertion(+) (limited to 'vm_debug.h') diff --git a/vm_debug.h b/vm_debug.h index a3631c0309..2840e70646 100644 --- a/vm_debug.h +++ b/vm_debug.h @@ -87,6 +87,7 @@ extern enum ruby_debug_log_mode { ruby_debug_log_file = 0x04, } ruby_debug_log_mode; +RBIMPL_ATTR_FORMAT(RBIMPL_PRINTF_FORMAT, 4, 5) void ruby_debug_log(const char *file, int line, const char *func_name, const char *fmt, ...); void ruby_debug_log_print(unsigned int n); bool ruby_debug_log_filter(const char *func_name); -- cgit v1.2.1