[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(-)