Re: -Wstrict-prototypes for extensions

From: nobu.nokada@...
Date: 2004-05-25 01:26:11 UTC
List: ruby-core #2941
Hi,

At Tue, 25 May 2004 09:10:06 +0900,
Jeff Mitchell wrote in [ruby-core:02938]:
> -#define ANYARGS
> +# ifdef RUBY_STRICT_PROTOTYPES
> +#  define ANYARGS void
> +# else
> +#  define ANYARGS
> +# endif
>  #endif

ANYARGS doesn't always mean that the function takes no
arguments.

-- 
Nobu Nakada

In This Thread