From df3f52a6331f1a47af9933b77311a8650727d8d1 Mon Sep 17 00:00:00 2001 From: nagachika Date: Tue, 29 Sep 2020 22:43:25 +0900 Subject: merge revision(s) 996af2ce086249e904b2ce95ab2fcd1de7d757be: [Backport #16345] [Backport #17000] Disable deprecation warning by the default [Feature #16345] And `-w` option turns it on. --- internal.h | 1 + 1 file changed, 1 insertion(+) (limited to 'internal.h') diff --git a/internal.h b/internal.h index b431c47e9a..5053422cc8 100644 --- a/internal.h +++ b/internal.h @@ -1561,6 +1561,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; rb_warning_category_t rb_warning_category_from_name(VALUE category); bool rb_warning_category_enabled_p(rb_warning_category_t category); -- cgit v1.2.3