From fe9a3be2966b0e54b93e9349bf47d4e5b879a6e1 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Fri, 27 Jun 2025 16:29:11 +0900 Subject: [PATCH] Fix the unknown warning group on wasm --- thread.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/thread.c b/thread.c index 0f1a1d6b8b..feb4419726 100644 --- a/thread.c +++ b/thread.c @@ -4779,7 +4779,7 @@ rb_gc_set_stack_end(VALUE **stack_end_p) { VALUE stack_end; COMPILER_WARNING_PUSH -#ifdef __GNUC__ +#if RBIMPL_COMPILER_IS(GCC) COMPILER_WARNING_IGNORED(-Wdangling-pointer); #endif *stack_end_p = &stack_end;