From: nobu.nokada@... Date: 2005-05-08T01:27:33+09:00 Subject: Re: compiler error: argument of type "VALUE *" is incompatible with parameter of type "VALUE" Hi, At Fri, 6 May 2005 16:29:32 +0900, me2faster@excite.com wrote in [ruby-talk:141368]: > I'm trying to build on a Tandem (now HP) NonStop server, under a POSIX > environment. c89 is the C compiler that conforms to the 1989 C standard > (not c99). Here's my 'config.h': Does this patch help? Index: eval.c =================================================================== RCS file: /cvs/ruby/src/ruby/eval.c,v retrieving revision 1.616.2.90 diff -U2 -p -r1.616.2.90 eval.c --- eval.c 7 Apr 2005 08:47:04 -0000 1.616.2.90 +++ eval.c 7 May 2005 16:25:32 -0000 @@ -2105,5 +2105,5 @@ copy_node_scope(node, rval) # define TMP_PROTECT NODE * volatile tmp__protect_tmp=0 # define TMP_ALLOC(n) \ - (tmp__protect_tmp = rb_node_newnode(NODE_ALLOCA, \ + (tmp__protect_tmp = NEW_NODE(NODE_ALLOCA, \ ALLOC_N(VALUE,n),tmp__protect_tmp,n), \ (void*)tmp__protect_tmp->nd_head) -- Nobu Nakada