$B%3%s%Q%$%k%(%i!<(B

金本と申します。

今trunkをAIXでコンパイルするとdln.cのコンパイルに失敗します。
% make
gcc -O3 -g -Wall -Wno-unused-parameter -Wno-parentheses
-Wno-missing-field-initializers -Wpointer-arith -Wwrite-strings -I.
-I.ext/include/powerpc-aix5.3.0.0 -I…/trunk/include -I…/trunk
-DRUBY_EXPORT -o dln.o -c …/trunk/dln.c
…/trunk/dln.c: In function ‘dln_strerror’:
…/trunk/dln.c:1145: warning: no return statement in function returning
non-void
…/trunk/dln.c: In function ‘aix_loaderror’:
…/trunk/dln.c:1159: warning: initialization discards qualifiers from
pointer target type
…/trunk/dln.c:1160: warning: initialization discards qualifiers from
pointer target type
…/trunk/dln.c:1161: warning: initialization discards qualifiers from
pointer target type
…/trunk/dln.c:1163: warning: initialization discards qualifiers from
pointer target type
…/trunk/dln.c:1164: warning: initialization discards qualifiers from
pointer target type
…/trunk/dln.c:1166: warning: initialization discards qualifiers from
pointer target type
…/trunk/dln.c:1167: warning: initialization discards qualifiers from
pointer target type
…/trunk/dln.c:1168: warning: initialization discards qualifiers from
pointer target type
…/trunk/dln.c:1169: warning: initialization discards qualifiers from
pointer target type
…/trunk/dln.c:1179: error: ‘L_GETMESSAGE’ undeclared (first use in
this function)
…/trunk/dln.c:1179: error: (Each undeclared identifier is reported only
once
…/trunk/dln.c:1179: error: for each function it appears in.)
make: *** [dln.o] Error 1

添付のパッチでエラーとワーニングを消せます。

先日コミット権をいただきました。
コミットしてもよろしいでしょうか?

今後ともよろしくお願いいたします。

e$B$J$+$@$G$9!#e(B

At Sat, 19 Sep 2009 03:31:42 +0900,
Yutaka K. wrote in [ruby-dev:39351]:

e$B:#e(Btrunke$B$re(BAIXe$B$G%3%s%Q%$%k$9$k$He(Bdln.ce$B$N%3%s%Q%$%k$K<:GT$7$^$9!#e(B
e$BE:IU$N%Q%C%A$G%(%i!<$H%o!<%K%s%0$r>C$;$^$9!#e(B
e$B@hF|%3%%C%H8"$r$$$?$@$-$^$7$?!#e(B
e$B%3%
%C%H$7$F$b$h$m$7$$$G$7$g$&$+!)e(B

e$B$9$$$^$;$s!"$*4j$$$7$^$9!#e(B