pgsql: Try to enable C99 in configure, but do not rely on it (yet). - Mailing list pgsql-committers

From Andres Freund
Subject pgsql: Try to enable C99 in configure, but do not rely on it (yet).
Date
Msg-id E1fqDlX-0000t1-RF@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Try to enable C99 in configure, but do not rely on it (yet).

Based on recent discussion it seems possible that we might start to
rely on more of C99. A prerequisite for that is enabling support for
that on used compilers.

Let's see on which buildfarm members autoconf's AC_PROG_CC_C99() is
sufficient to do so. There's probably at least one member where the
compiler is too old, but that'd probably be OK.

If we go for this permanently we'd likely want to clean out / up a few
other configure tests.

Note this does not touch the msvc build infrastructure, which'd need
separate treatment.

Discussion: https://postgr.es/m/20180815222401.kxsupl5zie2jgi4x@alap3.anarazel.de

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/86d78ef50e0195f8181f2b0bd9540f4ddfb73480

Modified Files
--------------
configure    | 177 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
configure.in |   1 +
2 files changed, 178 insertions(+)


pgsql-committers by date:

Previous
From: Michael Paquier
Date:
Subject: pgsql: Update comment in header of errcodes.txt
Next
From: Tomas Vondra
Date:
Subject: pgsql: Close the file descriptor in ApplyLogicalMappingFile