diff --git a/ChangeLog b/ChangeLog index 561445045e..3a2714a046 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,4 +1,6 @@ -Wed Oct 13 23:07:19 2010 Nobuyoshi Nakada +Wed Oct 13 23:16:46 2010 Nobuyoshi Nakada + + * tool/enc-unicode.rb: get rid of lots of warnings. * iseq.c (insn_operand_intern, rb_iseq_disasm): fix format specifiers. diff --git a/enc/unicode/name2ctype.h b/enc/unicode/name2ctype.h index 2248b8f7cb..df6f02e826 100644 --- a/enc/unicode/name2ctype.h +++ b/enc/unicode/name2ctype.h @@ -34,6 +34,7 @@ error "gperf generated tables don't work with this execution character set. Plea #endif +#define long size_t #ifdef USE_UNICODE_PROPERTIES #ifdef USE_UNICODE_PROPERTIES diff --git a/enc/unicode/name2ctype.h.blt b/enc/unicode/name2ctype.h.blt index 2248b8f7cb..df6f02e826 100644 --- a/enc/unicode/name2ctype.h.blt +++ b/enc/unicode/name2ctype.h.blt @@ -34,6 +34,7 @@ error "gperf generated tables don't work with this execution character set. Plea #endif +#define long size_t #ifdef USE_UNICODE_PROPERTIES #ifdef USE_UNICODE_PROPERTIES diff --git a/enc/unicode/name2ctype.kwd b/enc/unicode/name2ctype.kwd index ff136177ca..f4341722fd 100644 --- a/enc/unicode/name2ctype.kwd +++ b/enc/unicode/name2ctype.kwd @@ -1,4 +1,5 @@ %{ +#define long size_t #ifdef USE_UNICODE_PROPERTIES /* 'Any': - */ diff --git a/enc/unicode/name2ctype.src b/enc/unicode/name2ctype.src index ff136177ca..f4341722fd 100644 --- a/enc/unicode/name2ctype.src +++ b/enc/unicode/name2ctype.src @@ -1,4 +1,5 @@ %{ +#define long size_t #ifdef USE_UNICODE_PROPERTIES /* 'Any': - */ diff --git a/tool/enc-unicode.rb b/tool/enc-unicode.rb index b7f5bb57e7..351d40ed84 100755 --- a/tool/enc-unicode.rb +++ b/tool/enc-unicode.rb @@ -205,6 +205,7 @@ end # 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|