[Kde-bindings] [Bug 243565] New: kross ruby doesn't compile with ruby 1.9

Stefano Crocco stefano.crocco at alice.it
Sun Jul 4 09:16:33 UTC 2010


https://bugs.kde.org/show_bug.cgi?id=243565

           Summary: kross ruby doesn't compile with 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

Kross ruby can only be compiled with ruby 1.8. With ruby 1.9 there are several
compiling error. These errors fall into two categories:
1. direct access to struct fields. For example, calling RFLOAT(val)->value or
RARRAY(value)->len, which worked in ruby 1.8 doesn't work with ruby 1.9. These
problems can be solved by replacing direct access with calls to functions like
RFLOAT_VALUE and RARRAY_LEN. This works both with ruby 1.9 and 1.8.7. I don't
know with ruby 1.8.6.
2. include files and use external variables and functions which don't exist
anymore in ruby 1.9 (for example, the ruby_in_eval and ruby_nerrs external
variables doesn't seem to exist anymore).


Reproducible: Always

-- 
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