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$-$A$s$H3HD%%i%$%V%i%j$,%3%s%Q%$%k$G$-$F$$$^$9!#e(B
configuree$B;~$K;XDj$7$F$*$/$N$,%]%$%s%H$+$H;W$$$^$9!#e(B

zsh % ./config.status --recheck
running CONFIG_SHELL=/bin/sh /bin/sh /home/shyouhei/ruby/trunk/configure
–cache-file=…/config.cache --prefix=/home/shyouhei/target/trunk
–with-baseruby=/home/shyouhei/target/trunk/bin/ruby --with-valgrind
–disable-install-doc debugflags=-g3 optflags=-O0 -march=athlon64
-mcmodel=medium warnflags=-pedantic -Wall -Wextra -Wundef -Wno-format
-Wno-long-long -Wno-parentheses -Wno-unused -Wno-sign-compare
-Wno-missing-field-initializers CPPFLAGS=-DRUBY_DEBUG_ENV
-D_FORTIFY_SOURCE=2 CFLAGS=-pipe -ansi -std=iso9899:199409 --no-create
–no-recursion
(e$B0J2<N,e(B)


#3

e$B?\F#$G$9!#e(B

In removed_email_address@domain.invalid
“[ruby-dev:37580] Re: can’t build with GCC’s -ansi option” on Wed, 24
Dec 2008 20:26:57 +0900,
Urabe S. removed_email_address@domain.invalid wrote:

Kouhei S. e$B$5$s$O=q$-$^$7$?e(B:

e$B:#F|!"e(BSubversione$B$N?M$?$A$Ke(BRubye$B%P%$%s%G%#%s%0$,%S%k%I$G$-$J$$e(B
e$B$H8@$o$l$F5$IU$$$?$N$G$9$,!"e(BGCCe$B$Ne(B-ansie$B%*%W%7%g%s$r$D$1$k$H3He(B
e$BD%%i%$%V%i%j$,%S%k%I$G$-$^$;$s!#e(B

e$B<+J,$N<j85$G$Oe(B
configure CFLAGS="-pipe -ansi -std=iso9899:199409"
e$B$G$-$A$s$H3HD%%i%$%V%i%j$,%3%s%Q%$%k$G$-$F$$$^$9!#e(B
configuree$B;~$K;XDj$7$F$*$/$N$,%]%$%s%H$+$H;W$$$^$9!#e(B

e$B$"!“K\Ev$G$9$M!#e(B
configure.ine$B$Ne(BAC_C_INLINEe$B$,8z$$$F$/$k$s$G$9$M!#e(B
e$B$”$j$,$H$&$4$6$$$^$9!#e(B

Subversione$B$N?M$?$A$K$b!"e(B-ansie$B%%W%7%g%s$r$D$1$k$H$-$Oe(BRubye$BK\BNe(B
e$B$be(B-ansie$B%
%W%7%g%sIU$-$G%S%k%I$7$F$$+$J$$$H$$$1$J$$!"$H$$$&$3e(B
e$B$H$r65$($F$
$-$^$7$?!#e(B