git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [ANNOUNCE] GIT 1.0.7

From
Sergey Vlasov <vsu@altlinux.ru>
Date
Jan 7, 2006, 12:12 UTC
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:
Show 5 quoted lines
> +#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).
Previous: Junio C HamanoNext: Junio C Hamano
Message 7 of 11 in “[ANNOUNCE] GIT 1.0.7”
  1. Junio C HamanoJan 7, 2006
  2. YOSHIFUJI Hideaki / 吉藤英明Jan 7, 2006
  3. David S. MillerJan 7, 2006
  4. YOSHIFUJI Hideaki / 吉藤英明Jan 7, 2006
  5. Junio C HamanoJan 7, 2006
  6. Junio C HamanoJan 7, 2006
  7. Sergey VlasovJan 7, 2006
  8. Junio C HamanoJan 7, 2006
  9. H. Peter AnvinJan 7, 2006
  10. Junio C HamanoJan 7, 2006
  11. H. Peter AnvinJan 7, 2006

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.