pgsql: Require C99 (and thus MSCV 2013 upwards).

Поиск
Список
Период
Сортировка
От Andres Freund
Тема pgsql: Require C99 (and thus MSCV 2013 upwards).
Дата
Msg-id E1ft16F-0007FI-1d@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
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(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Michael Paquier
Дата:
Сообщение: pgsql: Add more tests for VACUUM skips with partitioned tables
Следующее
От: Andres Freund
Дата:
Сообщение: Re: pgsql: Fix configure's snprintf test so it exposes HP-UX bug.