summaryrefslogtreecommitdiffstats
path: root/meta-openstack/recipes-devtools/ruby/yard_git.bb
diff options
context:
space:
mode:
authorRobert P. J. Day <rpjday@crashcourse.ca>2020-12-26 15:29:22 -0500
committerBruce Ashfield <bruce.ashfield@gmail.com>2021-01-10 23:14:09 -0500
commit5c6ef32f59b92a1c1ff4636a413b6d3fe6208145 (patch)
tree6cffffb6f4eda8b4735e55977dd4524cc189b3bc /meta-openstack/recipes-devtools/ruby/yard_git.bb
parenteafa48b2398fc80f60d17483e44d6080a28efc23 (diff)
downloadmeta-cloud-services-5c6ef32f59b92a1c1ff4636a413b6d3fe6208145.tar.gz
json: fix Bignumn/Fixnum issue when using Ruby 2.5
There is a recognized problem with json_1.8.3 when used with Ruby 2.5; in summary: compiling generator.c generator.c: In function ‘generate_json’: generator.c:861:25: error: ‘rb_cFixnum’ undeclared (first use in this function); did you mean ‘mFixnum’? } else if (klass == rb_cFixnum) { ^~~~~~~~~~ mFixnum generator.c:861:25: note: each undeclared identifier is reported only once for each function it appears in generator.c:863:25: error: ‘rb_cBignum’ undeclared (first use in this function); did you mean ‘rb_cFixnum’? } else if (klass == rb_cBignum) { ^~~~~~~~~~ rb_cFixnum This is explained in detail at: https://makandracards.com/makandra/74544-how-to-fix-json-1-8-3-with-ruby-2-5 The simplest solution is to upgrade json just a wee bit to 1.8.5 to resolve this. Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Diffstat (limited to 'meta-openstack/recipes-devtools/ruby/yard_git.bb')
0 files changed, 0 insertions, 0 deletions