Re: New string-truncation warnings from GCC 15 - Mailing list pgsql-hackers

From Tom Lane
Subject Re: New string-truncation warnings from GCC 15
Date
Msg-id 1791528.1758142842@sss.pgh.pa.us
Whole thread Raw
In response to Re: New string-truncation warnings from GCC 15  (Andres Freund <andres@anarazel.de>)
Responses Re: New string-truncation warnings from GCC 15
List pgsql-hackers
Andres Freund <andres@anarazel.de> writes:
> On 2025-09-17 16:38:56 -0400, Tom Lane wrote:
>> Oh!  Hmm... I am not sure that we want to commit to being -Wextra
>> clean across-the-board.

> We've been -Wextra clean for years, with a few temporary exceptions. IME a lot
> of warnings added to -Wextra in one year, get promoted to -Wall a few releases
> later. I found plenty mistakes with -Wextra stuff, so I'd be sad if we decided
> we're not trying to fix them...

Well, we should either commit to it (and put -Wextra into our
standard switches) or not.

            regards, tom lane



pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Re: New string-truncation warnings from GCC 15
Next
From: "David G. Johnston"
Date:
Subject: REPACK and naming