ruby-changes:38778
From: nobu <ko1@a...>
Date: Sat, 13 Jun 2015 11:00:14 +0900 (JST)
Subject: [ruby-changes:38778] nobu:r50859 (trunk): win32_vk.inc: suppress warnings
nobu 2015-06-13 10:59:58 +0900 (Sat, 13 Jun 2015) New Revision: 50859 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=50859 Log: win32_vk.inc: suppress warnings * ext/io/console/depend (win32_vk.inc): use offsetof() to suppress warnings against cast from pointer to integer of different size. Modified files: trunk/ext/io/console/depend trunk/ext/io/console/win32_vk.inc Index: ext/io/console/depend =================================================================== --- ext/io/console/depend (revision 50858) +++ ext/io/console/depend (revision 50859) @@ -7,11 +7,13 @@ $(OBJS): $(HDRS) $(ruby_headers) \ https://github.com/ruby/ruby/blob/trunk/ext/io/console/depend#L7 win32_vk.inc: win32_vk.list .list.inc: - gperf --ignore-case -E -C -P -p -j1 -i 1 -g -o -t -K ofs -N console_win32_vk -k* --output-file=$(@F) $< + gperf --ignore-case -E -C -P -p -j1 -i 1 -g -o -t -K ofs -N console_win32_vk -k* $< \ + | sed 's/(int)(long)&((\(struct stringpool_t\) *\*)0)->\(stringpool_[a-z0-9]*\)/offsetof(\1, \2)/g' \ + > $(@F) -.SUFFIXES: .chksum .list +.SUFFIXES: .chksum .list .inc .list.chksum: @$(RUBY) -I$(top_srcdir)/tool -rchecksum \ -e "Checksum.update(ARGV) {|k|k.copy(k.target) rescue k.make(k.target)}" \ - -- --make=$(MAKE) -I$(srcdir) $(<F) $(@F:.chksum=.inc) + -- --make="$(MAKE)" -I$(srcdir) $(<F) $(@F:.chksum=.inc) Index: ext/io/console/win32_vk.inc =================================================================== --- ext/io/console/win32_vk.inc (revision 50858) +++ ext/io/console/win32_vk.inc (revision 50859) @@ -1,5 +1,5 @@ https://github.com/ruby/ruby/blob/trunk/ext/io/console/win32_vk.inc#L1 /* C code produced by gperf version 3.0.4 */ -/* Command-line: gperf --ignore-case -E -C -P -p -j1 -i 1 -g -o -t -K ofs -N console_win32_vk -k'*' --output-file=win32_vk.inc win32_vk.list */ +/* Command-line: gperf --ignore-case -E -C -P -p -j1 -i 1 -g -o -t -K ofs -N console_win32_vk -k'*' win32_vk.list */ #if !((' ' == 32) && ('!' == 33) && ('"' == 34) && ('#' == 35) \ && ('%' == 37) && ('&' == 38) && ('\'' == 39) && ('(' == 40) \ @@ -535,368 +535,368 @@ console_win32_vk (str, len) https://github.com/ruby/ruby/blob/trunk/ext/io/console/win32_vk.inc#L535 {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, {-1}, #line 40 "win32_vk.list" - {(int)(long)&((struct stringpool_t *)0)->stringpool_str12, VK_UP}, + {offsetof(struct stringpool_t, stringpool_str12), VK_UP}, #line 52 "win32_vk.list" - {(int)(long)&((struct stringpool_t *)0)->stringpool_str13, VK_APPS}, + {offsetof(struct stringpool_t, stringpool_str13), VK_APPS}, #line 159 "win32_vk.list" - {(int)(long)&((struct stringpool_t *)0)->stringpool_str14, VK_CRSEL}, + {offsetof(struct stringpool_t, stringpool_str14), VK_CRSEL}, #line 34 "win32_vk.list" - {(int)(long)&((struct stringpool_t *)0)->stringpool_str15, VK_SPACE}, + {offsetof(struct stringpool_t, stringpool_str15), VK_SPACE}, #line 95 "win32_vk.list" - {(int)(long)&((struct stringpool_t *)0)->stringpool_str16, VK_SCROLL}, + {offsetof(struct stringpool_t, stringpool_str16), VK_SCROLL}, #line 29 "win32_vk.list" - {(int)(long)&((struct stringpool_t *)0)->stringpool_str17, VK_ESCAPE}, + {offsetof(struct stringpool_t, stringpool_str17), VK_ESCAPE}, #line 9 "win32_vk.list" - {(int)(long)&((struct stringpool_t *)0)->stringpool_str18, VK_CANCEL}, + {offsetof(struct stringpool_t, stringpool_str18), VK_CANCEL}, #line 32 "win32_vk.list" - {(int)(long)&((struct stringpool_t *)0)->stringpool_str19, VK_ACCEPT}, + {offsetof(struct stringpool_t, stringpool_str19), VK_ACCEPT}, #line 66 "win32_vk.list" - {(int)(long)&((struct stringpool_t *)0)->stringpool_str20, VK_SEPARATOR}, + {offsetof(struct stringpool_t, stringpool_str20), VK_SEPARATOR}, #line 43 "win32_vk.list" - {(int)(long)&((struct stringpool_t *)0)->stringpool_str21, VK_SELECT}, + {offsetof(struct stringpool_t, stringpool_str21), VK_SELECT}, #line 18 "win32_vk.list" - {(int)(long)&((struct stringpool_t *)0)->stringpool_str22, VK_CONTROL}, + {offsetof(struct stringpool_t, stringpool_str22), VK_CONTROL}, #line 166 "win32_vk.list" - {(int)(long)&((struct stringpool_t *)0)->stringpool_str23, VK_OEM_CLEAR}, + {offsetof(struct stringpool_t, stringpool_str23), VK_OEM_CLEAR}, #line 145 "win32_vk.list" - {(int)(long)&((struct stringpool_t *)0)->stringpool_str24, VK_OEM_RESET}, + {offsetof(struct stringpool_t, stringpool_str24), VK_OEM_RESET}, #line 155 "win32_vk.list" - {(int)(long)&((struct stringpool_t *)0)->stringpool_str25, VK_OEM_AUTO}, + {offsetof(struct stringpool_t, stringpool_str25), VK_OEM_AUTO}, #line 151 "win32_vk.list" - {(int)(long)&((struct stringpool_t *)0)->stringpool_str26, VK_OEM_CUSEL}, + {offsetof(struct stringpool_t, stringpool_str26), VK_OEM_CUSEL}, {-1}, #line 22 "win32_vk.list" - {(int)(long)&((struct stringpool_t *)0)->stringpool_str28, VK_KANA}, + {offsetof(struct stringpool_t, stringpool_str28), VK_KANA}, #line 127 "win32_vk.list" - {(int)(long)&((struct stringpool_t *)0)->stringpool_str29, VK_OEM_PLUS}, + {offsetof(struct stringpool_t, stringpool_str29), VK_OEM_PLUS}, #line 35 "win32_vk.list" - {(int)(long)&((struct stringpool_t *)0)->stringpool_str30, VK_PRIOR}, + {offsetof(struct stringpool_t, stringpool_str30), VK_PRIOR}, #line 152 "win32_vk.list" - {(int)(long)&((struct stringpool_t *)0)->stringpool_str31, VK_OEM_ATTN}, + {offsetof(struct stringpool_t, stringpool_str31), VK_OEM_ATTN}, #line 20 "win32_vk.list" - {(int)(long)&((struct stringpool_t *)0)->stringpool_str32, VK_PAUSE}, + {offsetof(struct stringpool_t, stringpool_str32), VK_PAUSE}, #line 13 "win32_vk.list" - {(int)(long)&((struct stringpool_t *)0)->stringpool_str33, VK_BACK}, + {offsetof(struct stringpool_t, stringpool_str33), VK_BACK}, #line 144 "win32_vk.list" - {(int)(long)&((struct stringpool_t *)0)->stringpool_str34, VK_PACKET}, + {offsetof(struct stringpool_t, stringpool_str34), VK_PACKET}, #line 105 "win32_vk.list" - {(int)(long)&((struct stringpool_t *)0)->stringpool_str35, VK_RCONTROL}, + {offsetof(struct stringpool_t, stringpool_str35), VK_RCONTROL}, #line 104 "win32_vk.list" - {(int)(long)&((struct stringpool_t *)0)->stringpool_str36, VK_LCONTROL}, + {offsetof(struct stringpool_t, stringpool_str36), VK_LCONTROL}, #line 37 "win32_vk.list" - {(int)(long)&((struct stringpool_t *)0)->stringpool_str37, VK_END}, + {offsetof(struct stringpool_t, stringpool_str37), VK_END}, #line 38 "win32_vk.list" - {(int)(long)&((struct stringpool_t *)0)->stringpool_str38, VK_HOME}, + {offsetof(struct stringpool_t, stringpool_str38), VK_HOME}, #line 44 "win32_vk.list" - {(int)(long)&((struct stringpool_t *)0)->stringpool_str39, VK_PRINT}, + {offsetof(struct stringpool_t, stringpool_str39), VK_PRINT}, #line 94 "win32_vk.list" - {(int)(long)&((struct stringpool_t *)0)->stringpool_str40, VK_NUMLOCK}, + {offsetof(struct stringpool_t, stringpool_str40), VK_NUMLOCK}, #line 39 "win32_vk.list" - {(int)(long)&((struct stringpool_t *)0)->stringpool_str41, VK_LEFT}, + {offsetof(struct stringpool_t, stringpool_str41), VK_LEFT}, #line 25 "win32_vk.list" - {(int)(long)&((struct stringpool_t *)0)->stringpool_str42, VK_JUNJA}, + {offsetof(struct stringpool_t, stringpool_str42), VK_JUNJA}, #line 19 "win32_vk.list" - {(int)(long)&((struct stringpool_t *)0)->stringpool_str43, VK_MENU}, + {offsetof(struct stringpool_t, stringpool_str43), VK_MENU}, #line 150 "win32_vk.list" - {(int)(long)&((struct stringpool_t *)0)->stringpool_str44, VK_OEM_WSCTRL}, + {offsetof(struct stringpool_t, stringpool_str44), VK_OEM_WSCTRL}, #line 156 "win32_vk.list" - {(int)(long)&((struct stringpool_t *)0)->stringpool_str45, VK_OEM_ENLW}, + {offsetof(struct stringpool_t, stringpool_str45), VK_OEM_ENLW}, #line 36 "win32_vk.list" - {(int)(long)&((struct stringpool_t *)0)->stringpool_str46, VK_NEXT}, + {offsetof(struct stringpool_t, stringpool_str46), VK_NEXT}, #line 51 "win32_vk.list" - {(int)(long)&((struct stringpool_t *)0)->stringpool_str47, VK_RWIN}, + {offsetof(struct stringpool_t, stringpool_str47), VK_RWIN}, #line 50 "win32_vk.list" - {(int)(long)&((struct stringpool_t *)0)->stringpool_str48, VK_LWIN}, + {offsetof(struct stringpool_t, stringpool_str48), VK_LWIN}, #line 21 "win32_vk.list" - {(int)(long)&((struct stringpool_t *)0)->stringpool_str49, VK_CAPITAL}, + {offsetof(struct stringpool_t, stringpool_str49), VK_CAPITAL}, #line 49 "win32_vk.list" - {(int)(long)&((struct stringpool_t *)0)->stringpool_str50, VK_HELP}, + {offsetof(struct stringpool_t, stringpool_str50), VK_HELP}, #line 164 "win32_vk.list" - {(int)(long)&((struct stringpool_t *)0)->stringpool_str51, VK_NONAME}, + {offsetof(struct stringpool_t, stringpool_str51), VK_NONAME}, #line 8 "win32_vk.list" - {(int)(long)&((struct stringpool_t *)0)->stringpool_str52, VK_RBUTTON}, + {offsetof(struct stringpool_t, stringpool_str52), VK_RBUTTON}, #line 7 "win32_vk.list" - {(int)(long)&((struct stringpool_t *)0)->stringpool_str53, VK_LBUTTON}, + {offsetof(struct stringpool_t, stringpool_str53), VK_LBUTTON}, #line 96 "win32_vk.list" - {(int)(long)&((struct stringpool_t *)0)->stringpool_str54, VK_OEM_NEC_EQUAL}, + {offsetof(struct stringpool_t, stringpool_str54), VK_OEM_NEC_EQUAL}, {-1}, #line 47 "win32_vk.list" - {(int)(long)&((struct stringpool_t *)0)->stringpool_str56, VK_INSERT}, + {offsetof(struct stringpool_t, stringpool_str56), VK_INSERT}, #line 27 "win32_vk.list" - {(int)(long)&((struct stringpool_t *)0)->stringpool_str57, VK_HANJA}, + {offsetof(struct stringpool_t, stringpool_str57), VK_HANJA}, {-1}, {-1}, #line 46 "win32_vk.list" - {(int)(long)&((struct stringpool_t *)0)->stringpool_str60, VK_SNAPSHOT}, + {offsetof(struct stringpool_t, stringpool_str60), VK_SNAPSHOT}, #line 158 "win32_vk.list" - {(int)(long)&((struct stringpool_t *)0)->stringpool_str61, VK_ATTN}, + {offsetof(struct stringpool_t, stringpool_str61), VK_ATTN}, #line 14 "win32_vk.list" - {(int)(long)&((struct stringpool_t *)0)->stringpool_str62, VK_TAB}, + {offsetof(struct stringpool_t, stringpool_str62), VK_TAB}, #line 157 "win32_vk.list" - {(int)(long)&((struct stringpool_t *)0)->stringpool_str63, VK_OEM_BACKTAB}, + {offsetof(struct stringpool_t, stringpool_str63), VK_OEM_BACKTAB}, #line 143 "win32_vk.list" - {(int)(long)&((struct stringpool_t *)0)->stringpool_str64, VK_ICO_CLEAR}, + {offsetof(struct stringpool_t, stringpool_str64), VK_ICO_CLEAR}, #line 30 "win32_vk.list" - {(int)(long)&((struct stringpool_t *)0)->stringpool_str65, VK_CONVERT}, + {offsetof(struct stringpool_t, stringpool_str65), VK_CONVERT}, #line 16 "win32_vk.list" - {(int)(long)&((struct stringpool_t *)0)->stringpool_str66, VK_RETURN}, + {offsetof(struct stringpool_t, stringpool_str66), VK_RETURN}, #line 146 "win32_vk.list" - {(int)(long)&((struct stringpool_t *)0)->stringpool_str67, VK_OEM_JUMP}, + {offsetof(struct stringpool_t, stringpool_str67), VK_OEM_JUMP}, {-1}, {-1}, {-1}, #line 111 "win32_vk.list" - {(int)(long)&((struct stringpool_t *)0)->stringpool_str71, VK_BROWSER_STOP}, + {offsetof(struct stringpool_t, stringpool_str71), VK_BROWSER_STOP}, #line 26 "win32_vk.list" - {(int)(long)&((struct stringpool_t *)0)->stringpool_str72, VK_FINAL}, + {offsetof(struct stringpool_t, stringpool_str72), VK_FINAL}, #line 163 "win32_vk.list" - {(int)(long)&((struct stringpool_t *)0)->stringpool_str73, VK_ZOOM}, + {offsetof(struct stringpool_t, stringpool_str73), VK_ZOOM}, #line 28 "win32_vk.list" - {(int)(long)&((struct stringpool_t *)0)->stringpool_str74, VK_KANJI}, + {offsetof(struct stringpool_t, stringpool_str74), VK_KANJI}, #line 48 "win32_vk.list" - {(int)(long)&((struct stringpool_t *)0)->stringpool_str75, VK_DELETE}, + {offsetof(struct stringpool_t, stringpool_str75), VK_DELETE}, #line 128 "win32_vk.list" - {(int)(long)&((struct stringpool_t *)0)->stringpool_str76, VK_OEM_COMMA}, + {offsetof(struct stringpool_t, stringpool_str76), VK_OEM_COMMA}, #line 67 "win32_vk.list" - {(int)(long)&((struct stringpool_t *)0)->stringpool_str77, VK_SUBTRACT}, + {offsetof(struct stringpool_t, stringpool_str77), VK_SUBTRACT}, {-1}, #line 10 "win32_vk.list" - {(int)(long)&((struct stringpool_t *)0)->stringpool_str79, VK_MBUTTON}, + {offsetof(struct stringpool_t, stringpool_str79), VK_MBUTTON}, #line 78 "win32_vk.list" - {(int)(long)&((struct stringpool_t *)0)->stringpool_str80, VK_F9}, + {offsetof(struct stringpool_t, stringpool_str80), VK_F9}, #line 17 "win32_vk.list" - {(int)(long)&((struct stringpool_t *)0)->stringpool_str81, VK_SHIFT}, + {offsetof(struct stringpool_t, stringpool_str81), VK_SHIFT}, #line 103 "win32_vk.list" - {(int)(long)&((struct stringpool_t *)0)->stringpool_str82, VK_RSHIFT}, + {offsetof(struct stringpool_t, stringpool_str82), VK_RSHIFT}, #line 102 "win32_vk.list" - {(int)(long)&((struct stringpool_t *)0)->stringpool_str83, VK_LSHIFT}, + {offsetof(struct stringpool_t, stringpool_str83), VK_LSHIFT}, #line 65 "win32_vk.list" - {(int)(long)&((struct stringpool_t *)0)->stringpool_str84, VK_ADD}, + {offsetof(struct stringpool_t, stringpool_str84), VK_ADD}, #line 31 "win32_vk.list" - {(int)(long)&((struct stringpool_t *)0)->stringpool_str85, VK_NONCONVERT}, + {offsetof(struct stringpool_t, stringpool_str85), VK_NONCONVERT}, #line 160 "win32_vk.list" - {(int)(long)&((struct stringpool_t *)0)->stringpool_str86, VK_EXSEL}, + {offsetof(struct stringpool_t, stringpool_str86), VK_EXSEL}, #line 126 "win32_vk.list" - {(int)(long)&((struct stringpool_t *)0)->stringpool_str87, VK_OEM_1}, + {offsetof(struct stringpool_t, stringpool_str87), VK_OEM_1}, #line 138 "win32_vk.list" - {(int)(long)&((struct stringpool_t *)0)->stringpool_str88, VK_OEM_AX}, + {offsetof(struct stringpool_t, stringpool_str88), VK_OEM_AX}, #line 108 "win32_vk.list" - {(int)(long)&((struct stringpool_t *)0)->stringpool_str89, VK_BROWSER_BACK}, + {offsetof(struct stringpool_t, stringpool_str89), VK_BROWSER_BACK}, #line 137 "win32_vk.list" - {(int)(long)&((struct stringpool_t *)0)->stringpool_str90, VK_OEM_8}, + {offsetof(struct stringpool_t, stringpool_str90), VK_OEM_8}, #line 129 "win32_vk.list" - {(int)(long)&((struct stringpool_t *)0)->stringpool_str91, VK_OEM_MINUS}, + {offsetof(struct stringpool_t, stringpool_str91), VK_OEM_MINUS}, #line 162 "win32_vk.list" - {(int)(long)&((struct stringpool_t *)0)->stringpool_str92, VK_PLAY}, + {offsetof(struct stringpool_t, stringpool_str92), VK_PLAY}, #line 131 "win32_vk.list" - {(int)(long)&((struct stringpool_t *)0)->stringpool_str93, VK_OEM_2}, + {offsetof(struct stringpool_t, stringpool_str93), VK_OEM_2}, #line 15 "win32_vk.list" - {(int)(long)&((struct stringpool_t *)0)->stringpool_str94, VK_CLEAR}, + {offsetof(struct stringpool_t, stringpool_str94), VK_CLEAR}, #line 99 "win32_vk.list" - {(int)(long)&((struct stringpool_t *)0)->stringpool_str95, VK_OEM_FJ_TOUROKU}, + {offsetof(struct stringpool_t, stringpool_str95), VK_OEM_FJ_TOUROKU}, #line 147 "win32_vk.list" - {(int)(long)&((struct stringpool_t *)0)->stringpool_str96, VK_OEM_PA1}, + {offsetof(struct stringpool_t, stringpool_str96), VK_OEM_PA1}, #line 140 "win32_vk.list" - {(int)(long)&((struct stringpool_t *)0)->stringpool_str97, VK_ICO_HELP}, + {offsetof(struct stringpool_t, stringpool_str97), VK_ICO_HELP}, #line 112 "win32_vk.list" - {(int)(long)&((struct stringpool_t *)0)->stringpool_str98, VK_BROWSER_SEARCH}, + {offsetof(struct stringpool_t, stringpool_str98), VK_BROWSER_SEARCH}, #line 53 "win32_vk.list" - {(int)(long)&((struct stringpool_t *)0)->stringpool_str99, VK_SLEEP}, + {offsetof(struct stringpool_t, stringpool_str99), VK_SLEEP}, {-1}, #line 70 "win32_vk.list" - {(int)(long)&((struct stringpool_t *)0)->stringpool_str101, VK_F1}, + {offsetof(struct stringpool_t, stringpool_str101), VK_F1}, #line 148 "win32_vk.list" - {(int)(long)&((struct stringpool_t *)0)->stringpool_str102, VK_OEM_PA2}, + {offsetof(struct stringpool_t, stringpool_str102), VK_OEM_PA2}, #line 154 "win32_vk.list" - {(int)(long)&((struct stringpool_t *)0)->stringpool_str103, VK_OEM_COPY}, + {offsetof(struct stringpool_t, stringpool_str103), VK_OEM_COPY}, #line 77 "win32_vk.list" - {(int)(long)&((struct stringpool_t *)0)->stringpool_str104, VK_F8}, + {offsetof(struct stringpool_t, stringpool_str104), VK_F8}, #line 88 "win32_vk.list" - {(int)(long)&((struct stringpool_t *)0)->stringpool_str105, VK_F19}, + {offsetof(struct stringpool_t, stringpool_str105), VK_F19}, #line 41 "win32_vk.list" - {(int)(long)&((struct stringpool_t *)0)->stringpool_str106, VK_RIGHT}, + {offsetof(struct stringpool_t, stringpool_str106), VK_RIGHT}, #line 71 "win32_vk.list" - {(int)(long)&((struct stringpool_t *)0)->stringpool_str107, VK_F2}, + {offsetof(struct stringpool_t, stringpool_str107), VK_F2}, #line 135 "win32_vk.list" - {(int)(long)&((struct stringpool_t *)0)->stringpool_str108, VK_OEM_6}, + {offsetof(struct stringpool_t, stringpool_str108), VK_OEM_6}, #line 87 "win32_vk.list" - {(int)(long)&((struct stringpool_t *)0)->stringpool_str109, VK_F18}, + {offsetof(struct stringpool_t, stringpool_str109), VK_F18}, {-1}, #line 117 "win32_vk.list" - {(int)(long)&((struct stringpool_t *)0)->stringpool_str111, VK_VOLUME_UP}, + {offsetof(struct stringpool_t, stringpool_str111), VK_VOLUME_UP}, {-1}, {-1}, #line 120 "win32_vk.list" - {(int)(long)&((struct stringpool_t *)0)->stringpool_str114, VK_MEDIA_STOP}, + {offsetof(struct stringpool_t, stringpool_str114), VK_MEDIA_STOP}, #line 130 "win32_vk.list" - {(int)(long)&((struct stringpool_t *)0)->stringpool_str115, VK_OEM_PERIOD}, + {offsetof(struct stringpool_t, stringpool_str115), VK_OEM_PERIOD}, {-1}, #line 161 "win32_vk.list" - {(int)(long)&((struct stringpool_t *)0)->stringpool_str117, VK_EREOF}, + {offsetof(struct stringpool_t, stringpool_str117), VK_EREOF}, {-1}, {-1}, {-1}, #line 114 "win32_vk.list" - {(int)(long)&((struct stringpool_t *)0)->stringpool_str121, VK_BROWSER_HOME}, + {offsetof(struct stringpool_t, stringpool_str121), VK_BROWSER_HOME}, #line 75 "win32_vk.list" - {(int)(long)&((struct stringpool_t *)0)->stringpool_str122, VK_F6}, + {offsetof(struct stringpool_t, stringpool_str122), VK_F6}, {-1}, #line 110 "win32_vk.list" - {(int)(long)&((struct stringpool_t *)0)->stringpool_str124, VK_BROWSER_REFRESH}, + {offsetof(struct stringpool_t, stringpool_str124), VK_BROWSER_REFRESH}, {-1}, #line 165 "win32_vk.list" - {(int)(long)&((struct stringpool_t *)0)->stringpool_str126, VK_PA1}, + {offsetof(struct stringpool_t, stringpool_str126), VK_PA1}, #line 142 "win32_vk.list" - {(int)(long)&((struct stringpool_t *)0)->stringpool_str127, VK_PROCESSKEY}, + {offsetof(struct stringpool_t, stringpool_str127), VK_PROCESSKEY}, #line 68 "win32_vk.list" - {(int)(long)&((struct stringpool_t *)0)->stringpool_str128, VK_DECIMAL}, + {offsetof(struct stringpool_t, stringpool_str128), VK_DECIMAL}, #line 132 "win32_vk.list" - {(int)(long)&((struct stringpool_t *)0)->stringpool_str129, VK_OEM_3}, + {offsetof(struct stringpool_t, stringpool_str129), VK_OEM_3}, #line 107 "win32_vk.list" - {(int)(long)&((struct stringpool_t *)0)->stringpool_str130, VK_RMENU}, + {offsetof(struct stringpool_t, stringpool_str130), VK_RMENU}, #line 106 "win32_vk.list" - {(int)(long)&((struct stringpool_t *)0)->stringpool_str131, VK_LMENU}, + {offsetof(struct stringpool_t, stringpool_str131), VK_LMENU}, #line 98 "win32_vk.list" - {(int)(long)&((struct stringpool_ (... truncated) -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/