Re: Fix C23 compiler warning
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Alvaro Herrera <alvherre@alvh.no-ip.org>
Cc: Peter Eisentraut <peter@eisentraut.org>,
pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2024-10-25T15:48:29Z
Lists: 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
Commits
-
Fix C23 compiler warning
- f7a929a007e6 16.7 landed
- f3834c12afd8 17.3 landed
- d2b4b4c2259e 18.0 landed
-
Rename C23 keyword
- a67a49648d98 18.0 cited