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

Re: [Nit] Lots of enumerated type warnings

From
Junio C Hamano <gitster@pobox.com>
Date
Jan 22, 2018, 22:41 UTC
Message-ID
<xmqqo9lljz3l.fsf@gitster.mtv.corp.google.com>
In-Reply-To
<001601d3917b$c1ade3c0$4509ab40$@nexbridge.com>
"Randall S. Becker" <rsbecker@nexbridge.com> writes:
> I'm seeing an increase in the enumerated type warnings
> coming from my use of the c99 compiler for compiling git over time (loads
> more for 2.16.0 compared to 2.3.7 when I took it on).

What exactly do these "warnings" complain about? Without knowing that, the remainder of your question cannot be answered.

Does it complain against enum FOO {A,B,C,} saying that the comma after C is not kosher in older C standard, for example?

Previous: Randall S. BeckerNext: Randall S. Becker
Message 2 of 5 in “[Nit] Lots of enumerated type warnings”
  1. Randall S. BeckerJan 19, 2018
  2. Junio C HamanoJan 22, 2018
  3. Randall S. BeckerJan 22, 2018
  4. Junio C HamanoJan 22, 2018
  5. Randall S. BeckerJan 23, 2018

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.