[Kde-bindings] [Bug 247943] New: korundum doesn't compile with ruby 1.9.2-rc2

Stefano Crocco stefano.crocco at alice.it
Sun Aug 15 10:06:58 UTC 2010


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

           Summary: korundum doesn't compile with ruby 1.9.2-rc2
           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 KDE 4.5.0) 
OS:                Linux

Compiling korundum with ruby 1.9.2-rc2 fails in
korundum/src/krubypluginfactory.cpp because of the use of the STR2CSTR macro
which has been removed. The macro is used four times and only in the
show_exception_message function.

To make korundum compile, I did the following:
* replaced the first and the last two calls (lines 56, 58 and 64) with
StringValueCStr (which I saw used elsewhere in the sources)
* replaced the second call to STR2CSTR (line 57) with RSTRING_PTR (using
StringValueCStr here didn't work because gcc complained about needing an lvalue

I don't know whether the changes I made will cause troubles when running
korundum application, as I just finished installing it and haven't tried it as
yet

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