# Do ruby 1.9 require C99 compliant compiler?

**URL:** <https://www.ruby-forum.com/t/do-ruby-1-9-require-c99-compliant-compiler/116289>\
**Category:** Development\
**Created:** [October 4, 2007, 5:53am UTC](https://www.ruby-forum.com/t/do-ruby-1-9-require-c99-compliant-compiler/116289 "2007-10-04T05:53:36Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![KIMURA\_Koichi](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/ce7236/32.png) [@KIMURA\_Koichi](https://www.ruby-forum.com/u/KIMURA_Koichi)\
**Post date:** [October 4, 2007, 5:53am UTC](https://www.ruby-forum.com/t/do-ruby-1-9-require-c99-compliant-compiler/116289/1 "2007-10-04T05:53:36Z")

</div>

e$BLZB\<$G$9!#e(B

e$B$^$D$b$H$5$s%3%\_%C%H$N0J2\<$NFsE@$N=$@5$G!"e(BC99e$B$G$J$$e(BCe$B%3%s%Q%$%i$Ge(B  
e$B%3%s%Q%$%k$G$-$J$/$J$C$F$$$^$9!#e(B

[http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/array.c?r1=13588&r2=13590](http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/array.c?r1=13588&r2=13590)

rb\_ary\_permutation(VALUE ary, VALUE num)  
{  
RETURN\_ENUMERATOR(ary, 1, &num); /\* Return enumerator if no block  
_/  
long r = NUM2LONG(num); /_ Permutation size from argument  
\*/

[http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/array.c?r1=13591&r2=13598](http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/array.c?r1=13591&r2=13598)  
static VALUE  
rb\_ary\_product(int argc, VALUE _argv, VALUE ary)  
{  
int n = argc+1; /_ How many arrays we’re operating on _/  
VALUE arrays[n]; /_ The arrays we’re computing the product of _/  
int counters[n]; /_ The current position in each one _/  
VALUE result; /_ The array we’ll be returning \*/

e$BA0\<T$O%m!\<%+%kJQ?t$N@k8@$NA0$K\<B9TJ8e(B(do  
{})e$B$,$"$k$?$a!"8e\<T$Oe(B  
e$B2DJQD9G[Ns$r;H$C$F$$$k$?$a$G$9$,!"A0\<T$O$H$b$+$/8e\<T$O$I$&$7$?$b$N$G$7$ge(B  
e$B$&$+e(B?  
e$B0B0W$Ke(B  
alloca(e$B$+$=$N%i%C%Q!\<e(B)e$B$r;H$&$H$^$?e(Bsegve$B$N85$K$J$k$G$7$g$&$7!#e(B
