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

Compiler requirements for git?

From
CSCorey Stup <coreystup@gmail.com>
Date
Jan 14, 2009, 18:32 UTC
Message-ID
<128172e70901141032p6e830a85i344d72e1b3bb3a89@mail.gmail.com>

Newbie to the group. I couldn't find a reference to say what the requirements are to compile git. Certainly it works with GCC, but GCC allows for all sorts of non standard syntax.

When trying to compile with a C89 compliant compiler, I'm coming
across a couple issues:
- "inline" use
- trailing comma on the last member of enums

Are these oversights or does git require GCC or a C99 compiler? Thanks!

Next: Miklos Vajna
Message 1 of 7 in “Compiler requirements for git?”
  1. Corey StupJan 14, 2009
  2. Miklos VajnaJan 14, 2009
  3. Autoconf: Disable inline for compilers that don't support it.Allan Caffee, Mar 14, 2009
  4. Junio C HamanoMar 14, 2009
  5. Allan CaffeeMar 15, 2009
  6. Junio C HamanoMar 15, 2009
  7. Allan CaffeeMar 16, 2009

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.