From: matz@... (Yukihiro Matsumoto) Date: 2003-03-21T01:27:37+09:00 Subject: Re: Solaris2.5.1, ruby-1.8.0 snapshot 19-MAR-2003 In message "Solaris2.5.1, ruby-1.8.0 snapshot 19-MAR-2003" on 03/03/21, Hugh Sasse Staff Elec Eng writes: | |I have just tried to build the nightly snapshot I picked up |yesterday under Solaris 2.5.1, with GCC-3.2.2 (which seemed to build |OK), and I get this: | |brains hgs 22 %> gmake |/usr/local/bin/gcc -g -O2 -I. -I. -c array.c |In file included from ruby.h:655, | from array.c:15: |missing.h:122: parse error before "va_list" |gmake: *** [array.o] Error 1 How about this? --- missing.h 20 Feb 2003 06:49:00 -0000 1.7 +++ missing.h 20 Mar 2003 16:26:31 -0000 @@ -120,2 +120,7 @@ extern unsigned long strtoul _((char *, #ifndef HAVE_VSNPRINTF +# ifdef HAVE_STDARG_PROTOTYPES +# include +# else +# include +# endif extern snprintf __((char *, size_t n, char const *, ...)); matz.