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

Re: [PATCH] ci: add job for gcc-4.8 to GitHub Actions

From
Junio C Hamano <gitster@pobox.com>
Date
Aug 17, 2021, 19:36 UTC
Message-ID
<xmqqbl5v50ev.fsf@gitster.g>
In-Reply-To
<20210817111512.GA2257957@szeder.dev>
SZEDER Gábor <szeder.dev@gmail.com> writes:
>> IMHO it may be more trouble than it's worth. If we can't find a compiler
>> that complains on this construct, then maybe it is not a construct worth
>> worrying too much about.

Absolutely. Of course, there are vendor compilers that are not GNU or clang that may throw us surprises ;-)

Show 6 quoted lines
> I for one like for loop initial declarations, because they allow us to
> limit the scope of the loop variable to the loop, and would love to
> see it used in more places (well, wherever possible, actually, but
> that'd be a lot of churn).  So I would prefer to just drop this job
> sooner rather than later, update CodingGuidelines, and, if deemed
> necessary, launch a weather balloon.

I'd agree in general, but it must be done in a bit different order, i.e. weather balloon first.

Previous: Jeff KingNext: Carlo Arenas
Message 6 of 7 in “ci: add job for gcc-4.8 to GitHub Actions”
  1. ci: add job for gcc-4.8 to GitHub ActionsCarlo Marcelo Arenas Belón, Aug 16, 2021
  2. Derrick StoleeAug 16, 2021
  3. Jeff KingAug 16, 2021
  4. SZEDER GáborAug 17, 2021
  5. Jeff KingAug 17, 2021
  6. Junio C HamanoAug 17, 2021
  7. Carlo ArenasAug 16, 2021

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.