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

Re: [PATCH 1/1] git-compat-util.h: drop the `PRIuMAX` definition

From
Carlo Arenas <carenas@gmail.com>
Date
Nov 24, 2019, 17:40 UTC
Message-ID
<CAPUEspjAjR+QojRbC8dkoj=9adAKEv4StYYiy6hFmbMwQZ7CNw@mail.gmail.com>
In-Reply-To
<20191124170643.GA16907@sigill.intra.peff.net>
On Sun, Nov 24, 2019 at 9:11 AM Jeff King <peff@peff.net> wrote:
>
> We do sometimes get portability reports more than a year after the
> problem was introduced. But I think this one is pretty safe. PRIuMAX is
> in C99, and we've been picking up other C99-isms without complaint.

I think the problem might come from places where the default compiler is still not C99 by default (ex: old CentOS) and any other places using gcc < 5 which is less ancient

Carlo
Previous: Jeff KingNext: Carlo Arenas
Message 4 of 8 in “git-compat-util.h: drop the PRIuMAX definition”
  1. 0/1 git-compat-util.h: drop the PRIuMAX definitionHariom Verma via GitGitGadget, Nov 24, 2019
  2. 1/1 git-compat-util.h: drop the `PRIuMAX` definitionHariom Verma via GitGitGadget, Nov 24, 2019
  3. Jeff KingNov 24, 2019
  4. Carlo ArenasNov 24, 2019
  5. Carlo ArenasNov 24, 2019
  6. Junio C HamanoNov 25, 2019
  7. Junio C HamanoNov 25, 2019
  8. Jeff KingNov 25, 2019

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.