1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Disable deprecation warning by the default [Feature #16345]

And `-w` option turns it on.
This commit is contained in:
Nobuyoshi Nakada 2020-08-31 14:58:31 +09:00
parent 83ff0f74bf
commit 996af2ce08
Notes: git 2020-09-25 09:50:59 +09:00
19 changed files with 100 additions and 156 deletions

View file

@ -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;