[macruby-changes] [885] MacRuby/branches/experimental

source_changes at macosforge.org source_changes at macosforge.org
Wed Mar 11 18:59:14 PDT 2009


Revision: 885
          http://trac.macosforge.org/projects/ruby/changeset/885
Author:   pthomson at apple.com
Date:     2009-03-11 18:59:14 -0700 (Wed, 11 Mar 2009)
Log Message:
-----------
Fixed compilation problems.

Modified Paths:
--------------
    MacRuby/branches/experimental/error.c
    MacRuby/branches/experimental/include/ruby/intern.h
    MacRuby/branches/experimental/test_roxor.rb

Modified: MacRuby/branches/experimental/error.c
===================================================================
--- MacRuby/branches/experimental/error.c	2009-03-12 01:47:48 UTC (rev 884)
+++ MacRuby/branches/experimental/error.c	2009-03-12 01:59:14 UTC (rev 885)
@@ -192,8 +192,8 @@
 rb_warn_m(VALUE self, VALUE mesg)
 {
     if (!NIL_P(ruby_verbose)) {
-	rb_io_write(rb_stderr, mesg);
-	rb_io_write(rb_stderr, rb_default_rs);
+	rb_io_write(rb_stderr, (SEL)0, mesg);
+	rb_io_write(rb_stderr, (SEL)0, rb_default_rs);
     }
     return Qnil;
 }

Modified: MacRuby/branches/experimental/include/ruby/intern.h
===================================================================
--- MacRuby/branches/experimental/include/ruby/intern.h	2009-03-12 01:47:48 UTC (rev 884)
+++ MacRuby/branches/experimental/include/ruby/intern.h	2009-03-12 01:59:14 UTC (rev 885)
@@ -281,8 +281,7 @@
 VALUE rb_proc_call(VALUE, VALUE);
 int rb_proc_arity(VALUE);
 VALUE rb_binding_new(void);
-VALUE rb_obj_method(VALUE, VALUE);
-VALUE rb_method_call(int, VALUE*, VALUE);
+VALUE rb_method_call(VALUE, SEL, int, VALUE*);
 int rb_mod_method_arity(VALUE, ID);
 int rb_obj_method_arity(VALUE, ID);
 VALUE rb_protect(VALUE (*)(VALUE), VALUE, int*);

Modified: MacRuby/branches/experimental/test_roxor.rb
===================================================================
--- MacRuby/branches/experimental/test_roxor.rb	2009-03-12 01:47:48 UTC (rev 884)
+++ MacRuby/branches/experimental/test_roxor.rb	2009-03-12 01:59:14 UTC (rev 885)
@@ -5,7 +5,7 @@
 # use the rubyspec directory instead.
 
 $test_ruby = File.join(Dir.pwd, 'miniruby')
-$test_ruby_archs = ['i386']
+$test_ruby_archs = ['i386', 'x86_64']
 $test_only = ARGV
 $problems = []
 $assertions_count = 0
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20090311/0ac763bd/attachment.html>


More information about the macruby-changes mailing list