From: Andres Freund <andres@anarazel.de>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Require C99 (and thus MSCV 2013 upwards).
Date: Fri, 24 Aug 2018 01:41:19 +0000
Message-ID: <E1ft16F-0007FI-1d@gemulon.postgresql.org> (raw)
Require C99 (and thus MSCV 2013 upwards).
In 86d78ef50e01 I enabled configure to check for C99 support, with the
goal of checking which platforms support C99. While there are a few
machines without C99 support among our buildfarm animals,
de-supporting them for v12 was deemed acceptable.
While not tested in aforementioned commit, the biggest increase in
minimum compiler version comes from MSVC, which gained C99 support
fairly late. The subset in MSVC 2013 is sufficient for our needs, at
this point. While that is a significant increase in minimum version,
the existing windows binaries are already built with a new enough
version.
Make configure error out if C99 support could not be detected. For
MSVC builds, increase the minimum version to 2013.
The increase to MSVC 2013 allows us to get rid of VCBuildProject.pm,
as that was only required for MSVC 2005/2008.
Author: Andres Freund
Discussion: https://postgr.es/m/97d4b165-192d-3605-749c-f614a0c4e783@2ndquadrant.com
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/d9dd406fe281d22d5238d3c26a7182543c711e74
Modified Files
--------------
configure | 49 ++++++
configure.in | 10 ++
doc/src/sgml/install-windows.sgml | 26 ++--
doc/src/sgml/installation.sgml | 2 +-
doc/src/sgml/sources.sgml | 37 +++--
src/tools/msvc/MSBuildProject.pm | 78 +---------
src/tools/msvc/README | 18 +--
src/tools/msvc/Solution.pm | 102 -------------
src/tools/msvc/VCBuildProject.pm | 309 --------------------------------------
src/tools/msvc/VSObjectFactory.pm | 37 +----
src/tools/msvc/build.pl | 6 +-
11 files changed, 114 insertions(+), 560 deletions(-)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-committers@postgresql.org
Cc: andres@anarazel.de
Subject: Re: pgsql: Require C99 (and thus MSCV 2013 upwards).
In-Reply-To: <E1ft16F-0007FI-1d@gemulon.postgresql.org>
References: <E1ft16F-0007FI-1d@gemulon.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox