From: Niklas Frykholm Date: 2001-10-06T20:29:35+09:00 Subject: [ruby-talk:22155] Re: FXRuby does not compile -- problem with ruby source On Sat, Oct 06, 2001 at 02:29:39AM +0900, Niklas Frykholm wrote: > FXRuby 1.74 does not compile for me, under the latest ruby CVS using gcc > 2.96-0.62 on Mandrake. [...] > The problem seems to be that ruby uses > > #define ANYARGS ... > > as the argument list for a callback function with unspecified arguments. > But g++ does not interpret this as a callback function with > unspecified arguments, but as a callback function with (...) as > argument. Well, I have fixed the immediate problem by tweaking the header files manually and inserting the needed prototypes. It seems like g++ accepts (...) as the argument list in function prototypes, but not in callback function prototypes. I wonder why. // Niklas