From 996af2ce086249e904b2ce95ab2fcd1de7d757be Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Mon, 31 Aug 2020 14:58:31 +0900 Subject: Disable deprecation warning by the default [Feature #16345] And `-w` option turns it on. --- internal/error.h | 1 + 1 file changed, 1 insertion(+) (limited to 'internal') diff --git a/internal/error.h b/internal/error.h index ff60d0075d..cf6495fbd0 100644 --- a/internal/error.h +++ b/internal/error.h @@ -44,6 +44,7 @@ typedef enum { RB_WARN_CATEGORY_NONE, RB_WARN_CATEGORY_DEPRECATED, RB_WARN_CATEGORY_EXPERIMENTAL, + RB_WARN_CATEGORY_ALL_BITS = 0x6, /* no RB_WARN_CATEGORY_NONE bit */ } rb_warning_category_t; extern long rb_backtrace_length_limit; -- cgit v1.2.3