[#89806] [Ruby trunk Bug#15306] Generate prelude.c using miniruby — v.ondruch@...
Issue #15306 has been reported by vo.x (Vit Ondruch).
3 messages
2018/11/15
[ruby-core:89789] [Ruby trunk Bug#15300] rb_frame_method_id_and_class deprecated in 2.6
From:
takashikkbn@...
Date:
2018-11-13 23:57:44 UTC
List:
ruby-core #89789
Issue #15300 has been updated by k0kubun (Takashi Kokubun).
Assignee set to ko1 (Koichi Sasada)
----------------------------------------
Bug #15300: rb_frame_method_id_and_class deprecated in 2.6
https://bugs.ruby-lang.org/issues/15300#change-74852
* Author: paddor (Patrik Wenger)
* Status: Open
* 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: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>