From: mame@... Date: 2018-01-31T00:45:54+00:00 Subject: [ruby-core:85267] [Ruby trunk Bug#14425] rb_funcall too strict on extra args Issue #14425 has been updated by mame (Yusuke Endoh). normalperson (Eric Wong) wrote: > Attached are over 500 gem-codesearch results of latest gems. nitpick: Your query includes `rb_funcall2`, `rb_funcall3`, and `rb_funcallv` which are safe to pass "`0, 0`". ---------------------------------------- Bug #14425: rb_funcall too strict on extra args https://bugs.ruby-lang.org/issues/14425#change-70032 * Author: normalperson (Eric Wong) * Status: Closed * Priority: Normal * Assignee: * Target version: * ruby -v: * Backport: 2.3: DONTNEED, 2.4: DONTNEED, 2.5: REQUIRED ---------------------------------------- Ruby 2.5 instroduces extra checking for rb_funcall checking, but apparently it is too strict for some compilers and extra args should not cause fatal problems (only warnings). Jeremy first reported this to me in: https://bogomips.org/kgio-public/20171215053434.GT7579@jeremyevans.local/ but there's apparently hundreds of instances on RubyGems.org alone. Attached are over 500 gem-codesearch results of latest gems. /me goes to setup a sid chroot again... ---Files-------------------------------- funcall-extra-zeros.txt (47.4 KB) 0001-ruby.h-relax-rb_funcall-check-on-extra-args-for-clan.patch (3.25 KB) -- https://bugs.ruby-lang.org/ Unsubscribe: