diff options
author | 卜部昌平 <shyouhei@ruby-lang.org> | 2021-09-09 14:05:11 +0900 |
---|---|---|
committer | 卜部昌平 <shyouhei@ruby-lang.org> | 2021-09-10 20:00:06 +0900 |
commit | dddc618d3076de2c1b27d01f106bf0bf126d4677 (patch) | |
tree | 57b13edb169ca85ce5eac81dee47147bbbefc35c /vm_core.h | |
parent | fd12bc1896bd4a78b9ff376fd685a009254b153f (diff) |
suppress GCC's -Wsuggest-attribute=format
I was not aware of this because I use clang these days.
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/4815
Diffstat (limited to 'vm_core.h')
-rw-r--r-- | vm_core.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -1661,6 +1661,7 @@ extern void rb_vmdebug_debug_print_post(const rb_execution_context_t *ec, const #define SDR2(cfp) rb_vmdebug_stack_dump_raw(GET_EC(), (cfp)) void rb_vm_bugreport(const void *); typedef void (*ruby_sighandler_t)(int); +RBIMPL_ATTR_FORMAT(RBIMPL_PRINTF_FORMAT, 4, 5) NORETURN(void rb_bug_for_fatal_signal(ruby_sighandler_t default_sighandler, int sig, const void *, const char *fmt, ...)); /* functions about thread/vm execution */ |