From: Sergey Vlasov Date: Sat, 07 Jan 2006 12:12:44 GMT Subject: Re: [ANNOUNCE] GIT 1.0.7 Message-ID: <20060107151244.762e628f.vsu@altlinux.ru> In-Reply-To: <7vmzi8mkdi.fsf@assigned-by-dhcp.cox.net> 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).