Hi, At Thu, 10 Jun 2004 08:43:39 +0900, Tim Hunter wrote in [ruby-talk:103007]: > > Should this be fixed in ruby.h? > > Offhand, it seems to me that nothing is broken (except for the C language > itself, of course :-). Now that I have access to the Ruby sources, I see > that VALUE is a typedef for a long. I guess longs are 64 bits on the > Opteron. Without a prototype or other declaration in scope, the compiler > assumes that rb_reg_regcomp returns an int. Including the right header > file is the fix. IMHO, It would be the only reasonable solution. If you use regexp engine stuffs you should include re.h, I guess, since ruby.h doesn't cover them. > Of course the final decision is nobu's. Not me. -- Nobu Nakada