[前][次][番号順一覧][スレッド一覧]

ruby-changes:17484

From: nobu <ko1@a...>
Date: Wed, 13 Oct 2010 23:17:04 +0900 (JST)
Subject: [ruby-changes:17484] Ruby:r29489 (trunk): * tool/enc-unicode.rb: get rid of lots of warnings.

nobu	2010-10-13 23:16:49 +0900 (Wed, 13 Oct 2010)

  New Revision: 29489

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=29489

  Log:
    * tool/enc-unicode.rb: get rid of lots of warnings.

  Modified files:
    trunk/ChangeLog
    trunk/enc/unicode/name2ctype.h
    trunk/enc/unicode/name2ctype.h.blt
    trunk/enc/unicode/name2ctype.kwd
    trunk/enc/unicode/name2ctype.src
    trunk/tool/enc-unicode.rb

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 29488)
+++ ChangeLog	(revision 29489)
@@ -1,5 +1,7 @@
-Wed Oct 13 23:07:19 2010  Nobuyoshi Nakada  <nobu@r...>
+Wed Oct 13 23:16:46 2010  Nobuyoshi Nakada  <nobu@r...>
 
+	* tool/enc-unicode.rb: get rid of lots of warnings.
+
 	* iseq.c (insn_operand_intern, rb_iseq_disasm): fix format specifiers.
 
 	* vm.c (thread_free): ditto.
Index: enc/unicode/name2ctype.kwd
===================================================================
--- enc/unicode/name2ctype.kwd	(revision 29488)
+++ enc/unicode/name2ctype.kwd	(revision 29489)
@@ -1,4 +1,5 @@
 %{
+#define long size_t
 
 #ifdef USE_UNICODE_PROPERTIES
 /* 'Any': - */
Index: enc/unicode/name2ctype.h
===================================================================
--- enc/unicode/name2ctype.h	(revision 29488)
+++ enc/unicode/name2ctype.h	(revision 29489)
@@ -34,6 +34,7 @@
 #endif
 
 
+#define long size_t
 
 #ifdef USE_UNICODE_PROPERTIES
 #ifdef USE_UNICODE_PROPERTIES
Index: enc/unicode/name2ctype.h.blt
===================================================================
--- enc/unicode/name2ctype.h.blt	(revision 29488)
+++ enc/unicode/name2ctype.h.blt	(revision 29489)
@@ -34,6 +34,7 @@
 #endif
 
 
+#define long size_t
 
 #ifdef USE_UNICODE_PROPERTIES
 #ifdef USE_UNICODE_PROPERTIES
Index: enc/unicode/name2ctype.src
===================================================================
--- enc/unicode/name2ctype.src	(revision 29488)
+++ enc/unicode/name2ctype.src	(revision 29489)
@@ -1,4 +1,5 @@
 %{
+#define long size_t
 
 #ifdef USE_UNICODE_PROPERTIES
 /* 'Any': - */
Index: tool/enc-unicode.rb
===================================================================
--- tool/enc-unicode.rb	(revision 29488)
+++ tool/enc-unicode.rb	(revision 29489)
@@ -205,6 +205,7 @@
 
 # Write Data
 puts '%{'
+puts '#define long size_t'
 props, data = parse_unicode_data(get_file('UnicodeData.txt'))
 print "\n#ifdef USE_UNICODE_PROPERTIES"
 props.each do |name|

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]