Re: Warning-suppression fixes we ought to back-patch - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Warning-suppression fixes we ought to back-patch
Date
Msg-id 185183.1772035058@sss.pgh.pa.us
Whole thread Raw
In response to Re: Warning-suppression fixes we ought to back-patch  (Peter Eisentraut <peter@eisentraut.org>)
List pgsql-hackers
Peter Eisentraut <peter@eisentraut.org> writes:
> On 24.02.26 17:24, Tom Lane wrote:
>> While we've done a lot of const-cleanliness work recently, this patch
>> should be enough to silence most of the cast-away-const warnings I'm
>> seeing in the BF back branches.  Only "midge" is showing them at the
>> moment, but more people will be seeing them as gcc 16 gets more
>> widespread.

> These warnings came in from the new glibc version 2.43, not from the 
> compiler.

Ah.  Although I suppose you also need a sufficiently late-model
compiler, to understand the annotations on strchr() and friends.
Anyway, thanks for the correction.

            regards, tom lane



pgsql-hackers by date:

Previous
From: Maxim Orlov
Date:
Subject: Re: POC: make mxidoff 64 bits
Next
From: Antonin Houska
Date:
Subject: Re: Adding REPACK [concurrently]