Re: Fix C23 compiler warning - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Fix C23 compiler warning
Date
Msg-id 2779335.1729871309@sss.pgh.pa.us
Whole thread Raw
In response to Re: Fix C23 compiler warning  (Alvaro Herrera <alvherre@alvh.no-ip.org>)
Responses Re: Fix C23 compiler warning
List pgsql-hackers
Alvaro Herrera <alvherre@alvh.no-ip.org> writes:
> On 2024-Oct-22, Peter Eisentraut wrote:
>> One thing I didn't realize until today is that currently C23 compilations
>> only work with meson.  The autoconf version we are using doesn't support it,
>> and the configure results it produces are somehow faulty and then you get a
>> bunch of compilation errors.  So if we wanted to make this a supported
>> thing, it looks like we would need to use at least autoconf 2.72.

> Oh wow.  Should we at least update our autoconf requirement to 2.72 in
> master?

As I recall, we looked at adopting it some years ago and decided it
was too much churn for the value (seeing that the long-term plan is
to go to meson only).  Maybe C23 is a reason to rethink, but from
what I recall of that, it won't be a painless update.

            regards, tom lane



pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: Fix C23 compiler warning
Next
From: Tom Lane
Date:
Subject: Re: Alias of VALUES RTE in explain plan