Subject: Re: [ANNOUNCE] GIT 1.0.7

From: Sergey Vlasov <[email-masked]>
Date: Sat, 7 Jan 2006 15:12:44 +0300

On Sat, 07 Jan 2006 01:56:41 -0800 Junio C Hamano wrote:

> +#if (__GNUC__ == 2) && (__GNUC_MINOR__ == 95)
> +#define FLEX_ARRAY 0
> +#else
> +#define FLEX_ARRAY /* empty */
> +#endif

There is also gcc 2.96, which also does not understand the C99 syntax.
So we should use something like this instead:

#if defined(__GNUC__) && (__GNUC__ < 3)
#define FLEX_ARRAY 0
#else
#define FLEX_ARRAY /* empty */
#endif

(and be prepared to get complaints from users of other compilers).