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 1794195.1758144410@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 17:00:42 -0400, Tom Lane wrote:
>> Well, we should either commit to it (and put -Wextra into our
>> standard switches) or not.

> I'd be mildly worried about -Wextra in older compilers (and clang, but just
> because I don't regularly track -Wextra with clang). But I'd be up for trying
> it out.

Yeah, I was imagining a trial in master only to see how noisy the
buildfarm gets ... we can either back it out or work at cleaning
up the warnings, depending on what we see.

            regards, tom lane



pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Re: New string-truncation warnings from GCC 15
Next
From: Michael Paquier
Date:
Subject: Re: [PATCH] Add tests for Bitmapset