diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2023-12-25 14:08:21 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2023-12-25 14:11:49 +0900 |
commit | b641b7e640b90292e8091348ca05def0a16904a8 (patch) | |
tree | 4b85faabd909947f5ef351d52ea745c29c40a942 /spec/ruby/optional/capi/ext/object_spec.c | |
parent | 863ded45a18773742cf3adab0f6deb4ba6b47c6e (diff) |
Move non-portable pragmas to rubyspec.h
In the extension libraries in spec/ruby/optional/capi, do not care
about deprecated declarations.
Diffstat (limited to 'spec/ruby/optional/capi/ext/object_spec.c')
-rw-r--r-- | spec/ruby/optional/capi/ext/object_spec.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/spec/ruby/optional/capi/ext/object_spec.c b/spec/ruby/optional/capi/ext/object_spec.c index 4c19ec12c7..7023c29bdb 100644 --- a/spec/ruby/optional/capi/ext/object_spec.c +++ b/spec/ruby/optional/capi/ext/object_spec.c @@ -155,13 +155,9 @@ static VALUE object_specs_rb_obj_method(VALUE self, VALUE obj, VALUE method) { } #ifndef RUBY_VERSION_IS_3_2 -// Suppress deprecations warnings for rb_obj_taint(), we want to test it while it exists -RBIMPL_WARNING_PUSH() -RBIMPL_WARNING_IGNORED(-Wdeprecated-declarations) static VALUE object_spec_rb_obj_taint(VALUE self, VALUE obj) { return rb_obj_taint(obj); } -RBIMPL_WARNING_POP() #endif static VALUE so_require(VALUE self) { |