遠藤です。ruby-list では初めまして。 2009/02/06 0:58 NISHIMATSU Takeshi <t_nissie / yahoo.co.jp>: > 西松と申します。 > > #elifを#elseの代りに使うとgcc-4.4からはエラーになるらしいので。 > > $ LANG=C svn diff > Index: cont.c > =================================================================== > --- cont.c (revision 22080) > +++ cont.c (working copy) > @@ -87,7 +87,7 @@ > #ifdef CAPTURE_JUST_VALID_VM_STACK > rb_gc_mark_locations(cont->vm_stack, > cont->vm_stack + cont->vm_stack_slen + cont->vm_stack_clen); > -#elif > +#else > rb_gc_mark_localtion(cont->vm_stack, > cont->vm_stack, cont->saved_thread.stack_size); > #endif > @@ -267,7 +267,7 @@ > cont->vm_stack = ALLOC_N(VALUE, cont->vm_stack_slen + cont->vm_stack_clen); > MEMCPY(cont->vm_stack, th->stack, VALUE, cont->vm_stack_slen); > MEMCPY(cont->vm_stack + cont->vm_stack_slen, (VALUE*)th->cfp, VALUE, cont->vm_stack_clen); > -#elif > +#else > cont->vm_stack = ALLOC_N(VALUE, th->stack_size); > MEMCPY(cont->vm_stack, th->stack, VALUE, th->stack_size); > #endif > @@ -314,7 +314,7 @@ > MEMCPY(th->stack, cont->vm_stack, VALUE, cont->vm_stack_slen); > MEMCPY(th->stack + sth->stack_size - cont->vm_stack_clen, > cont->vm_stack + cont->vm_stack_slen, VALUE, cont->vm_stack_clen); > -#elif > +#else > MEMCPY(th->stack, cont->vm_stack, VALUE, sth->stack_size); > #endif > } うわ、ありがとうございます、すみません。取り込みました。 -- Yusuke ENDOH <mame / tsg.ne.jp>