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

[PATCH 0/2] fix NO_C99_FORMAT on 64-bit systems

From
Jonathan Nieder <jrnieder@gmail.com>
Date
Mar 16, 2011, 05:12 UTC
Message-ID
<20110316051232.GA1932@elie>
In-Reply-To
<27484.1172021696@lotus.CS.Berkeley.EDU>
Hi,
Jason Riedy wrote:
> There are no direct
> C99 translations for other uses of NO_C99_FORMAT in git, alas.
So here's an indirect one. :)

The goal of this series is to unbreak "make CC=c89 NO_C99_FORMAT=yeah" on my amd64 machine. Side-effects include uglifying mktag a little and eliminating the NO_C99_FORMAT knob.

Thoughts welcome, as always.
Jonathan Nieder (2):
  mktag: avoid %td in format string
  unbreak and eliminate NO_C99_FORMAT
 Makefile        |   14 --------------
 alloc.c         |   11 ++---------
 builtin/mktag.c |   48 ++++++++++++++++++++++--------------------------
 config.mak.in   |    1 -
 configure.ac    |   24 ------------------------
 sha1_file.c     |    9 ++-------
 6 files changed, 26 insertions(+), 81 deletions(-)
Previous: Jason RiedyNext: Jonathan Nieder
Message 2 of 5 in “Check for PRIuMAX rather than NO_C99_FORMAT in fast-import.c.”
  1. Check for PRIuMAX rather than NO_C99_FORMAT in fast-import.c.Jason Riedy, Feb 21, 2007
  2. 0/2 fix NO_C99_FORMAT on 64-bit systemsJonathan Nieder, Mar 16, 2011
  3. 1/2 mktag: avoid %td in format stringJonathan Nieder, Mar 16, 2011
  4. Junio C HamanoMar 20, 2011
  5. 2/2 unbreak and eliminate NO_C99_FORMATJonathan Nieder, Mar 16, 2011

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.