[macruby-changes] [1396] MacRuby/branches/experimental
source_changes at macosforge.org
source_changes at macosforge.org
Tue Apr 7 16:01:55 PDT 2009
Revision: 1396
http://trac.macosforge.org/projects/ruby/changeset/1396
Author: lsansonetti at apple.com
Date: 2009-04-07 16:01:54 -0700 (Tue, 07 Apr 2009)
Log Message:
-----------
fixed gcc 4.2.1 compilation warnings/errors
Modified Paths:
--------------
MacRuby/branches/experimental/io.c
MacRuby/branches/experimental/roxor.cpp
Modified: MacRuby/branches/experimental/io.c
===================================================================
--- MacRuby/branches/experimental/io.c 2009-04-07 20:41:48 UTC (rev 1395)
+++ MacRuby/branches/experimental/io.c 2009-04-07 23:01:54 UTC (rev 1396)
@@ -854,7 +854,7 @@
CFStringRef pretty = CFStringCreateWithFormat(NULL, NULL,
CFSTR("Internal error while reading stream: %@"), failure_reason);
if(pretty != NULL)
- rb_raise(rb_eRuntimeError, (char*)CFStringGetCharactersPtr(pretty));
+ rb_raise(rb_eRuntimeError, "%s", (char*)CFStringGetCharactersPtr(pretty));
}
rb_raise(rb_eRuntimeError, "internal error while reading stream:");
}
Modified: MacRuby/branches/experimental/roxor.cpp
===================================================================
--- MacRuby/branches/experimental/roxor.cpp 2009-04-07 20:41:48 UTC (rev 1395)
+++ MacRuby/branches/experimental/roxor.cpp 2009-04-07 23:01:54 UTC (rev 1396)
@@ -6774,7 +6774,6 @@
RoxorVM::current = new RoxorVM();
}
-extern "C"
static VALUE
rb_toplevel_to_s(VALUE rcv, SEL sel)
{
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20090407/037973ff/attachment.html>
More information about the macruby-changes
mailing list