[Bug #644] compile error on win32ole with VC++6


#1

Bug #644: compile error on win32ole with VC++6
http://redmine.ruby-lang.org/issues/show/644

e$B5/I<<Te(B: Usaku NAKAMURA
e$B%9%F!<%?%9e(B: Open, e$BM%@hEYe(B: High
e$B%+%F%4%je(B: ext, Target version: 1.9.x

e$BI=Bj$NDL$j$G$9$,!"0J2<$N$h$&$J%(%i!<$,=P$F%3%s%Q%$%k$G$-$^$;$s!#e(B
IMultiLanguage2e$B$OHf3SE*:G6ae(B(e$B$D$C$F$be(B10e$BG/$/$i$$7P$C$F$k5$$,$7$^$9$,e(B)e$BDI2C$5$l$?$N$G$3$&$J$C$A$c$&$N$G$9$,e(B…
CP51932e$B$N$?$a$Ke(BVC++6e$B%5%]!<%H$r@Z$k$H$$$&$N$b$5$9$,$K9s$$$N$G!“e(Bextconfe$B$”$?$j$G%A%’%C%/$7$Fe(BIMultiLanguage2e$B$,B8:_$9$k$H$-$@$1;H$&$H$$$&$N$O$I$&$G$7$g$&$+e(B?

win32ole.c(220) : error C2143: e$B9=J8%(%i!<e(B : ‘{’ e$B$,e(B ‘*’
e$B$NA0$KI,MW$G$9!#e(B
win32ole.c(978) : error C2065: ‘IID_IMultiLanguage2’ :
e$BDj5A$5$l$F$$$J$$<1JL;R$Ge(B
e$B$9!#e(B
win32ole.c(978) : warning C4133: ‘function’ : ‘int *’ e$B$He(B 'const
struct _GUID *co
nst ’ e$B$N4V$G7?$K8_49@-$,$"$j$^$;$s!#e(B
win32ole.c(1101) : error C2223: ‘->lpVtbl’ :
e$B:8B&$,9=B$BN$+6&MQBN$KBP$9$k%]%$%s%?$Ge(B
e$B$O$"$j$^$;$s!#e(B
win32ole.c(1107) : error C2223: ‘->lpVtbl’ :
e$B:8B&$,9=B$BN$+6&MQBN$KBP$9$k%]%$%s%?$Ge(B
e$B$O$"$j$^$;$s!#e(B
win32ole.c(1343) : error C2223: ‘->lpVtbl’ :
e$B:8B&$,9=B$BN$+6&MQBN$KBP$9$k%]%$%s%?$Ge(B
e$B$O$"$j$^$;$s!#e(B
win32ole.c(1350) : error C2223: ‘->lpVtbl’ :
e$B:8B&$,9=B$BN$+6&MQBN$KBP$9$k%]%$%s%?$Ge(B
e$B$O$"$j$^$;$s!#e(B
win32ole.c(1375) : error C2223: ‘->lpVtbl’ :
e$B:8B&$,9=B$BN$+6&MQBN$KBP$9$k%]%$%s%?$Ge(B
e$B$O$"$j$^$;$s!#e(B
win32ole.c(1381) : error C2223: ‘->lpVtbl’ :
e$B:8B&$,9=B$BN$+6&MQBN$KBP$9$k%]%$%s%?$Ge(B
e$B$O$"$j$^$;$s!#e(B
NMAKE : fatal error U1077: ‘cl’ : e$B%j%?!<%se(B e$B%3!<%Ie(B ‘0x2’


#2

e$B=uED$G$9!#e(B

Usaku NAKAMURA wrote:

Bug #644: compile error on win32ole with VC++6
http://redmine.ruby-lang.org/issues/show/644

e$B5/I<<Te(B: Usaku NAKAMURA
e$B%9%F!<%?%9e(B: Open, e$BM%@hEYe(B: High
e$B%+%F%4%je(B: ext, Target version: 1.9.x

e$BI=Bj$NDL$j$G$9$,!"0J2<$N$h$&$J%(%i!<$,=P$F%3%s%Q%$%k$G$-$^$;$s!#e(B
IMultiLanguage2e$B$OHf3SE*:G6ae(B(e$B$D$C$F$be(B10e$BG/$/$i$$7P$C$F$k5$$,$7$^$9$,e(B)e$BDI2C$5$l$?$N$G$3$&$J$C$A$c$&$N$G$9$,e(B…
CP51932e$B$N$?$a$Ke(BVC++6e$B%5%]!<%H$r@Z$k$H$$$&$N$b$5$9$,$K9s$$$N$G!“e(Bextconfe$B$”$?$j$G%A%’%C%/$7$Fe(BIMultiLanguage2e$B$,B8:_$9$k$H$-$@$1;H$&$H$$$&$N$O$I$&$G$7$g$&$+e(B?

e$B$9$$$^$;$s!#e(B
e$B<j85$K4D6-$,L5$$$N$G$o$+$i$J$$$N$G$9$,!"e(B
IMultiLanguage e$B$Oe(BVC++6e$B$G$b%5%]!<%H$5$l$F$$$k$s$G$7$g$&$+!)e(B
e$B$=$N7k2L<!Bh$G<!$N0F$NCf$+$iBP1~$r7h$a$?$$$H;W$$$^$9!#e(B

e$B0Fe(B1
VC++6e$B$G$O!"e(BIMultiLanguagee$B$r;H$&!#e(B
e$B!J3NG’$O$3$l$+$i$G$9$,!KB>$be(BIMultiLanguagee$B$r;H$&!#e(B

e$B0Fe(B2
VC++6e$B$@$1!"e(BIMultiLanguagee$B$r;H$&!#e(B
e$BB>$O!"e(BIMultiLanguage2e$B$r;H$&!#e(B

e$B0Fe(B3
VC++6e$B$O!"e(BIMultiLanguagee$B$r;H$o$J$$!#e(B
e$BB>$O!"e(BIMultiLanguage2e$B$r;H$&!#e(B

e$B=uEDe(B e$B2m5*e(B


#3

e$B$3$s$K$A$O!"$J$+$`$ie(B(e$B$&e(B)e$B$G$9!#e(B

In message “[ruby-dev:36725] Re: [Bug #644] compile error on win32ole
with VC++6”
on Oct.14,2008 19:49:09, removed_email_address@domain.invalid wrote:

e$B$9$$$^$;$s!#e(B
e$B<j85$K4D6-$,L5$$$N$G$o$+$i$J$$$N$G$9$,!"e(B
IMultiLanguage e$B$Oe(BVC++6e$B$G$b%5%]!<%H$5$l$F$$$k$s$G$7$g$&$+!)e(B
e$B$=$N7k2L<!Bh$G<!$N0F$NCf$+$iBP1~$r7h$a$?$$$H;W$$$^$9!#e(B

e$B%5%]!<%H$5$l$F$^$9!#e(B

e$B$=$l$G$O!#e(B


#4

e$B=uED$G$9!#e(B

U.Nakamura wrote:

IMultiLanguage e$B$Oe(BVC++6e$B$G$b%5%]!<%H$5$l$F$$$k$s$G$7$g$&$+!)e(B
e$B$=$N7k2L<!Bh$G<!$N0F$NCf$+$iBP1~$r7h$a$?$$$H;W$$$^$9!#e(B

e$B%5%]!<%H$5$l$F$^$9!#e(B

e$B$"$j$,$H$&$4$6$$$^$9!#e(B
extconf.rb e$B$Ge(B IMultiLanguage2
e$B$,$"$k$+!“e(BIMultiLanguagee$B$,$”$k$+e(B
e$B%A%’%C%/$r$7$F!"$"$kJ}$r;H$&$h$&$K=$@5$7$F%3%_%C%H$7$^$7$?!#e(B

VC++6e$B$N4D6-$,L5$$$N$G;n$7$F$$$J$$$N$G%_%9$C$F$$$k$+$be(B
e$BCN$l$^$;$s$,e(B…

e$B=uEDe(B e$B2m5*e(B


#5

e$B%A%1%C%He(B #644 e$B$,99?7$5$l$^$7$?!#e(B (by Anonymous)

e$B%9%F!<%?%9e(B Opene$B$+$ie(BClosede$B$KJQ99e(B
e$B?JD=e(B % 0e$B$+$ie(B100e$B$KJQ99e(B

Applied in changeset r19782.

http://redmine.ruby-lang.org/issues/show/644