[Kde-bindings] [Bug 277459] New: Ruby bindings produce huge amount of warnings in ruby 1.9
Stefano Crocco
stefano.crocco at alice.it
Sun Jul 10 08:44:00 UTC 2011
https://bugs.kde.org/show_bug.cgi?id=277459
Summary: Ruby bindings produce huge amount of warnings in ruby
1.9
Product: bindings
Version: unspecified
Platform: Gentoo Packages
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: NOR
Component: general
AssignedTo: kde-bindings at kde.org
ReportedBy: stefano.crocco at alice.it
Version: unspecified (using Devel)
OS: Linux
Requiring 'Qt4' or 'korundum4' using ruby 1.9 (this doesn't happen with ruby
1.8) with warnings enabled (using the -w switch) prints a huge amount of
warnings. There are two kind of warnings:
usr/lib64/ruby/site_ruby/1.9.1/Qt/qtruby4.rb:2527: warning: method redefined;
discarding old const_missing
/usr/lib64/ruby/site_ruby/1.9.1/Qt/qtruby4.rb:2527: warning: method redefined;
discarding old method_missing
Other warnings of these kinds are also shown later when running the ruby
script. This is very annoying as it makes it impossible to see warnings
produced by the script itself, as they're lost in the sea of warnings produced
by qtruby/korundum
Reproducible: Always
Steps to Reproduce:
run the command
ruby -w -e 'require "Qt4"'
using ruby 1.9
Actual Results:
A lot of warnings saying
usr/lib64/ruby/site_ruby/1.9.1/Qt/qtruby4.rb:2527: warning: method redefined;
discarding old const_missing
and
/usr/lib64/ruby/site_ruby/1.9.1/Qt/qtruby4.rb:2527: warning: method redefined;
discarding old method_missing
are shown
Expected Results:
No (or at least only a few) warnings shown
--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the Kde-bindings
mailing list