[Kde-bindings] on Ruby 1.9.2 preview1, build fails

Richard Dale rdale at foton.es
Thu Jul 23 18:08:26 UTC 2009


On Wednesday 22 July 2009 05:04:23 am airh2002 at oak.dti.ne.jp wrote:
> I build trunk QtRuby with Ruby 1.9.2 preview1, make fails at
> kdebindings/ruby/qtruby/src/marshall_types.cpp file.
>
> The cause is a obsolete API of "ruby.h". It's written in ChangeLog of
> Ruby-lang.
>
> http://svn.ruby-lang.org/repos/ruby/trunk/ChangeLog
>
> See the "Sat Jan 31 22:29:05 2009" Tanaka Akira's commit. And fix
> approch is also "written Wed Dec 31 14:52:33 2008" Tanaka Akira's
> commit.
>
> I rewrite kdebindings/ruby/qtruby/src/marshall_types.cpp and rebuild
> successfully. But I try it on ruby 1.9.2 preview1 only.
>
> I attach a diff of kdebindings/ruby/qtruby/src/marshall_types.cpp on
> this mail. please evaluate it.
Thanks that looks fine - I'll commit it.

I have StringValueCStr() my Ruby 1.8.6 ruby.h header. Maybe we can add a 
#define for it terms of STR2CSTR if StringValueCStr isn't defined in a Ruby 
older than 1.8.6?

PS: I haven't forgotten about your rbuic4 patches, and I will finally try to 
have a good look at them soon. I'm sorry to be so slow.

-- Richard




More information about the Kde-bindings mailing list