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

Re: [PATCH] git-compat-util.h: GCC deprecated only takes a message in GCC 4.5+

From
Alejandro R. Sedeño <asedeno@mit.edu>
Date
Oct 5, 2022, 22:22 UTC
Message-ID
<CAOO-Oz1gQJJDiweWjeJAKq1ooVDwH629sXUAGPRd=efxJHK6yA@mail.gmail.com>
In-Reply-To
<xmqqilkynd91.fsf@gitster.g>

Sorry for the subject line change; I had hoped that --in-reply-to would get it threaded properly and wanted to trim it down a bit.

-> "[PATCH] git-compat-util.h: GCC deprecated message arg only in GCC 4.5+"
-Alejandro
On Wed, Oct 5, 2022 at 5:59 PM Junio C Hamano <gitster@pobox.com> wrote:
Show 25 quoted lines
>
> "brian m. carlson" <sandals@crustytoothpaste.net> writes:
>
> > On 2022-10-03 at 21:23:18, Aleajndro R Sedeño wrote:
> >> From: Alejandro R. Sedeño <asedeno@mit.edu>
> >>
> >> Signed-off-by: Alejandro R. Sedeño <asedeno@mit.edu>
> >> Signed-off-by: Alejandro R Sedeño <asedeno@google.com>
> >
> > It might be helpful to explain what system you're targeting when you see
> > this.  CentOS 7 has GCC 4.8, and I'm not aware of any systems with an
> > older compiler receiving publicly available updates still.  We've fairly
> > recently only been testing and targeting GCC 4.8 for that reason.
>
> I do agree with you that an update to give "why" in the proposed log
> message would be very welcome, e.g. "Even though such an ancient
> compiler may not matter much in real life, a workaround is simple
> enough." or something along that line.
>
> As to the change in the patch, I think it is good.
>
> Thanks, all.  Expecting an updated version which hopefully would
> become the final version ;-)
>
>
Previous: Alejandro R. Sedeño
Message 4 of 4 in “git-compat-util.h: GCC deprecated message arg only in GCC 4.5+”
  1. git-compat-util.h: GCC deprecated message arg only in GCC 4.5+Aleajndro R Sedeño, Oct 5, 2022
  2. Ævar Arnfjörð BjarmasonOct 6, 2022
  3. Alejandro R. SedeñoOct 6, 2022
  4. Alejandro R. SedeñoOct 5, 2022

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.