From: ko1@... Date: 2018-12-24T02:03:25+00:00 Subject: [ruby-core:90692] [Ruby trunk Bug#15300] rb_frame_method_id_and_class deprecated in 2.6 Issue #15300 has been updated by ko1 (Koichi Sasada). sorry for long absent. I remove "deprecated" for this API. Could you check it? Thanks, Koichi ---------------------------------------- Bug #15300: rb_frame_method_id_and_class deprecated in 2.6 https://bugs.ruby-lang.org/issues/15300#change-75866 * Author: paddor (Patrik Wenger) * Status: Closed * Priority: Normal * Assignee: ko1 (Koichi Sasada) * Target version: * ruby -v: ruby 2.6.0preview3 (2018-11-06 trunk 65578) [x86_64-linux] * Backport: 2.3: UNKNOWN, 2.4: UNKNOWN, 2.5: UNKNOWN ---------------------------------------- Coming from [jasonroelofs/rice#105](https://github.com/jasonroelofs/rice/issues/105), related to #14192. As far as I understand, this API has been deprecated, thus Rice won't compile anymore. ~~~ detail/method_data.cpp:19:48: error: ���int rb_frame_method_id_and_class(ID*, VALUE*)��� is deprecated [-Werror=deprecated-declarations] if (!rb_frame_method_id_and_class(&id, &klass)) ^ In file included from /home/p/.rubies/ruby-2.6.0-preview3/include/ruby-2.6.0/ruby/ruby.h:24:0, from /home/p/.rubies/ruby-2.6.0-preview3/include/ruby-2.6.0/ruby.h:33, from detail/ruby.hpp:19, from detail/method_data.hpp:4, from detail/method_data.cpp:1: /home/p/.rubies/ruby-2.6.0-preview3/include/ruby-2.6.0/ruby/backward.h:53:16: note: declared here DEPRECATED(int rb_frame_method_id_and_class(ID *idp, VALUE *klassp)); ~~~ Back in December 2017, there was [no replacement API fixed](https://github.com/jasonroelofs/rice/issues/105#issuecomment-348664508) yet. @ko1, are there any updates to this? -- https://bugs.ruby-lang.org/ Unsubscribe: