Re: Fix C23 compiler warning

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>
Cc: Peter Eisentraut <peter(at)eisentraut(dot)org>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Fix C23 compiler warning
Date: 2024-10-25 15:48:29
Message-ID: 2779335.1729871309@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Melanie Plageman 2024-10-25 16:37:09 Re: Can rs_cindex be < 0 for bitmap heap scans?
Previous Message Alvaro Herrera 2024-10-25 15:17:35 Re: Fix C23 compiler warning