pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql: If a C23 compiler is detected, try asking for C17.
12+ messages / 2 participants
[nested] [flat]

* pgsql: If a C23 compiler is detected, try asking for C17.
@ 2024-11-27 03:36 Thomas Munro <tmunro@postgresql.org>
  0 siblings, 0 replies; 12+ messages in thread

From: Thomas Munro @ 2024-11-27 03:36 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

If a C23 compiler is detected, try asking for C17.

Branches before 16 can't be compiled with a C23 compiler (see
deprecation warnings silenced by commit f9a56e72, and non-back-patchable
changes made in 16 by commit 1c27d16e).  Test __STDC_VERSION__, and if
it's above C17 then try appending -std=gnu17.  The test is done with the
user's CFLAGS, so an acceptable language version can also be configured
manually that way.

This is done in branches 15 and older, back to 9.2, per policy of
keeping them buildable with modern tools.

Discussion: https://postgr.es/m/87o72eo9iu.fsf%40gentoo.org

Branch
------
REL_15_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/f00c401c65afa2cf18f0d67d13eeb382df84c37b

Modified Files
--------------
configure    | 77 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
configure.ac | 20 ++++++++++++++++
2 files changed, 97 insertions(+)



^ permalink  raw  reply  [nested|flat] 12+ messages in thread

* pgsql: If a C23 compiler is detected, try asking for C17.
@ 2024-11-27 03:36 Thomas Munro <tmunro@postgresql.org>
  0 siblings, 0 replies; 12+ messages in thread

From: Thomas Munro @ 2024-11-27 03:36 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

If a C23 compiler is detected, try asking for C17.

Branches before 16 can't be compiled with a C23 compiler (see
deprecation warnings silenced by commit f9a56e72, and non-back-patchable
changes made in 16 by commit 1c27d16e).  Test __STDC_VERSION__, and if
it's above C17 then try appending -std=gnu17.  The test is done with the
user's CFLAGS, so an acceptable language version can also be configured
manually that way.

This is done in branches 15 and older, back to 9.2, per policy of
keeping them buildable with modern tools.

Discussion: https://postgr.es/m/87o72eo9iu.fsf%40gentoo.org

Branch
------
REL_14_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/1fd57e5bbf87d1229cf2725f0230755c1d886178

Modified Files
--------------
configure    | 77 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
configure.ac | 20 ++++++++++++++++
2 files changed, 97 insertions(+)



^ permalink  raw  reply  [nested|flat] 12+ messages in thread

* pgsql: If a C23 compiler is detected, try asking for C17.
@ 2024-11-27 03:37 Thomas Munro <tmunro@postgresql.org>
  0 siblings, 0 replies; 12+ messages in thread

From: Thomas Munro @ 2024-11-27 03:37 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

If a C23 compiler is detected, try asking for C17.

Branches before 16 can't be compiled with a C23 compiler (see
deprecation warnings silenced by commit f9a56e72, and non-back-patchable
changes made in 16 by commit 1c27d16e).  Test __STDC_VERSION__, and if
it's above C17 then try appending -std=gnu17.  The test is done with the
user's CFLAGS, so an acceptable language version can also be configured
manually that way.

This is done in branches 15 and older, back to 9.2, per policy of
keeping them buildable with modern tools.

Discussion: https://postgr.es/m/87o72eo9iu.fsf%40gentoo.org

Branch
------
REL_13_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/59ea17c43c6c8020cc5076979d13ee61427f89c6

Modified Files
--------------
configure    | 77 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
configure.in | 20 ++++++++++++++++
2 files changed, 97 insertions(+)



^ permalink  raw  reply  [nested|flat] 12+ messages in thread

* pgsql: If a C23 compiler is detected, try asking for C17.
@ 2024-11-27 03:37 Thomas Munro <tmunro@postgresql.org>
  0 siblings, 0 replies; 12+ messages in thread

From: Thomas Munro @ 2024-11-27 03:37 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

If a C23 compiler is detected, try asking for C17.

Branches before 16 can't be compiled with a C23 compiler (see
deprecation warnings silenced by commit f9a56e72, and non-back-patchable
changes made in 16 by commit 1c27d16e).  Test __STDC_VERSION__, and if
it's above C17 then try appending -std=gnu17.  The test is done with the
user's CFLAGS, so an acceptable language version can also be configured
manually that way.

This is done in branches 15 and older, back to 9.2, per policy of
keeping them buildable with modern tools.

Discussion: https://postgr.es/m/87o72eo9iu.fsf%40gentoo.org

Branch
------
REL_12_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/3f302f0ed06f69c5ebd33d4df95895323a3cbef6

Modified Files
--------------
configure    | 77 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
configure.in | 20 ++++++++++++++++
2 files changed, 97 insertions(+)



^ permalink  raw  reply  [nested|flat] 12+ messages in thread

* pgsql: If a C23 compiler is detected, try asking for C17.
@ 2024-11-27 03:38 Thomas Munro <tmunro@postgresql.org>
  0 siblings, 0 replies; 12+ messages in thread

From: Thomas Munro @ 2024-11-27 03:38 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

If a C23 compiler is detected, try asking for C17.

Branches before 16 can't be compiled with a C23 compiler (see
deprecation warnings silenced by commit f9a56e72, and non-back-patchable
changes made in 16 by commit 1c27d16e).  Test __STDC_VERSION__, and if
it's above C17 then try appending -std=gnu17.  The test is done with the
user's CFLAGS, so an acceptable language version can also be configured
manually that way.

This is done in branches 15 and older, back to 9.2, per policy of
keeping them buildable with modern tools.

Discussion: https://postgr.es/m/87o72eo9iu.fsf%40gentoo.org

Branch
------
REL_11_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/170e416034ec0231d9e9238f2577eeb76ca8d181

Modified Files
--------------
configure    | 77 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
configure.in | 20 ++++++++++++++++
2 files changed, 97 insertions(+)



^ permalink  raw  reply  [nested|flat] 12+ messages in thread

* pgsql: If a C23 compiler is detected, try asking for C17.
@ 2024-11-27 03:39 Thomas Munro <tmunro@postgresql.org>
  0 siblings, 0 replies; 12+ messages in thread

From: Thomas Munro @ 2024-11-27 03:39 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

If a C23 compiler is detected, try asking for C17.

Branches before 16 can't be compiled with a C23 compiler (see
deprecation warnings silenced by commit f9a56e72, and non-back-patchable
changes made in 16 by commit 1c27d16e).  Test __STDC_VERSION__, and if
it's above C17 then try appending -std=gnu17.  The test is done with the
user's CFLAGS, so an acceptable language version can also be configured
manually that way.

This is done in branches 15 and older, back to 9.2, per policy of
keeping them buildable with modern tools.

Discussion: https://postgr.es/m/87o72eo9iu.fsf%40gentoo.org

Branch
------
REL9_6_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/70cf253d18da103864037011bead1683a96502dc

Modified Files
--------------
configure    | 72 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
configure.in | 20 +++++++++++++++++
2 files changed, 92 insertions(+)



^ permalink  raw  reply  [nested|flat] 12+ messages in thread

* pgsql: If a C23 compiler is detected, try asking for C17.
@ 2024-11-27 03:39 Thomas Munro <tmunro@postgresql.org>
  0 siblings, 0 replies; 12+ messages in thread

From: Thomas Munro @ 2024-11-27 03:39 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

If a C23 compiler is detected, try asking for C17.

Branches before 16 can't be compiled with a C23 compiler (see
deprecation warnings silenced by commit f9a56e72, and non-back-patchable
changes made in 16 by commit 1c27d16e).  Test __STDC_VERSION__, and if
it's above C17 then try appending -std=gnu17.  The test is done with the
user's CFLAGS, so an acceptable language version can also be configured
manually that way.

This is done in branches 15 and older, back to 9.2, per policy of
keeping them buildable with modern tools.

Discussion: https://postgr.es/m/87o72eo9iu.fsf%40gentoo.org

Branch
------
REL9_5_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/5b40ce749c6fed49772458fca0fda633ae390b08

Modified Files
--------------
configure    | 72 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
configure.in | 20 +++++++++++++++++
2 files changed, 92 insertions(+)



^ permalink  raw  reply  [nested|flat] 12+ messages in thread

* pgsql: If a C23 compiler is detected, try asking for C17.
@ 2024-11-27 03:39 Thomas Munro <tmunro@postgresql.org>
  0 siblings, 0 replies; 12+ messages in thread

From: Thomas Munro @ 2024-11-27 03:39 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

If a C23 compiler is detected, try asking for C17.

Branches before 16 can't be compiled with a C23 compiler (see
deprecation warnings silenced by commit f9a56e72, and non-back-patchable
changes made in 16 by commit 1c27d16e).  Test __STDC_VERSION__, and if
it's above C17 then try appending -std=gnu17.  The test is done with the
user's CFLAGS, so an acceptable language version can also be configured
manually that way.

This is done in branches 15 and older, back to 9.2, per policy of
keeping them buildable with modern tools.

Discussion: https://postgr.es/m/87o72eo9iu.fsf%40gentoo.org

Branch
------
REL9_4_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/b1b8b8e6f141e378db21c609d8ee74d9125a4aca

Modified Files
--------------
configure    | 72 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
configure.in | 20 +++++++++++++++++
2 files changed, 92 insertions(+)



^ permalink  raw  reply  [nested|flat] 12+ messages in thread

* pgsql: If a C23 compiler is detected, try asking for C17.
@ 2024-11-27 03:40 Thomas Munro <tmunro@postgresql.org>
  0 siblings, 0 replies; 12+ messages in thread

From: Thomas Munro @ 2024-11-27 03:40 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

If a C23 compiler is detected, try asking for C17.

Branches before 16 can't be compiled with a C23 compiler (see
deprecation warnings silenced by commit f9a56e72, and non-back-patchable
changes made in 16 by commit 1c27d16e).  Test __STDC_VERSION__, and if
it's above C17 then try appending -std=gnu17.  The test is done with the
user's CFLAGS, so an acceptable language version can also be configured
manually that way.

This is done in branches 15 and older, back to 9.2, per policy of
keeping them buildable with modern tools.

Discussion: https://postgr.es/m/87o72eo9iu.fsf%40gentoo.org

Branch
------
REL9_3_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/102be6634e6fe1dec7a78ee4f4ed6a51285682bd

Modified Files
--------------
configure    | 124 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
configure.in |  20 ++++++++++
2 files changed, 144 insertions(+)



^ permalink  raw  reply  [nested|flat] 12+ messages in thread

* pgsql: If a C23 compiler is detected, try asking for C17.
@ 2024-11-27 03:40 Thomas Munro <tmunro@postgresql.org>
  2024-11-27 03:45 ` Re: pgsql: If a C23 compiler is detected, try asking for C17. Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 1 reply; 12+ messages in thread

From: Thomas Munro @ 2024-11-27 03:40 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

If a C23 compiler is detected, try asking for C17.

Branches before 16 can't be compiled with a C23 compiler (see
deprecation warnings silenced by commit f9a56e72, and non-back-patchable
changes made in 16 by commit 1c27d16e).  Test __STDC_VERSION__, and if
it's above C17 then try appending -std=gnu17.  The test is done with the
user's CFLAGS, so an acceptable language version can also be configured
manually that way.

This is done in branches 15 and older, back to 9.2, per policy of
keeping them buildable with modern tools.

Discussion: https://postgr.es/m/87o72eo9iu.fsf%40gentoo.org

Branch
------
REL9_2_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/0c7171b32e6407c9ed65a444d0a104d0770d957d

Modified Files
--------------
configure    | 124 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
configure.in |  20 ++++++++++
2 files changed, 144 insertions(+)



^ permalink  raw  reply  [nested|flat] 12+ messages in thread

* Re: pgsql: If a C23 compiler is detected, try asking for C17.
  2024-11-27 03:40 pgsql: If a C23 compiler is detected, try asking for C17. Thomas Munro <tmunro@postgresql.org>
@ 2024-11-27 03:45 ` Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 12+ messages in thread

From: Tom Lane @ 2024-11-27 03:45 UTC (permalink / raw)
  To: Thomas Munro <tmunro@postgresql.org>; +Cc: pgsql-committers@lists.postgresql.org

Thomas Munro <tmunro@postgresql.org> writes:
> If a C23 compiler is detected, try asking for C17.

Looks like you missed REL_10_STABLE?

			regards, tom lane





^ permalink  raw  reply  [nested|flat] 12+ messages in thread

* pgsql: If a C23 compiler is detected, try asking for C17.
@ 2024-11-27 03:48 Thomas Munro <tmunro@postgresql.org>
  0 siblings, 0 replies; 12+ messages in thread

From: Thomas Munro @ 2024-11-27 03:48 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

If a C23 compiler is detected, try asking for C17.

Branches before 16 can't be compiled with a C23 compiler (see
deprecation warnings silenced by commit f9a56e72, and non-back-patchable
changes made in 16 by commit 1c27d16e).  Test __STDC_VERSION__, and if
it's above C17 then try appending -std=gnu17.  The test is done with the
user's CFLAGS, so an acceptable language version can also be configured
manually that way.

This is done in branches 15 and older, back to 9.2, per policy of
keeping them buildable with modern tools.

Discussion: https://postgr.es/m/87o72eo9iu.fsf%40gentoo.org

Branch
------
REL_10_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/f4e8f137bfb08a664c8288824c1e36b5143ac875

Modified Files
--------------
configure    | 72 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
configure.in | 20 +++++++++++++++++
2 files changed, 92 insertions(+)



^ permalink  raw  reply  [nested|flat] 12+ messages in thread


end of thread, other threads:[~2024-11-27 03:48 UTC | newest]

Thread overview: 12+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2024-11-27 03:36 pgsql: If a C23 compiler is detected, try asking for C17. Thomas Munro <tmunro@postgresql.org>
2024-11-27 03:36 pgsql: If a C23 compiler is detected, try asking for C17. Thomas Munro <tmunro@postgresql.org>
2024-11-27 03:37 pgsql: If a C23 compiler is detected, try asking for C17. Thomas Munro <tmunro@postgresql.org>
2024-11-27 03:37 pgsql: If a C23 compiler is detected, try asking for C17. Thomas Munro <tmunro@postgresql.org>
2024-11-27 03:38 pgsql: If a C23 compiler is detected, try asking for C17. Thomas Munro <tmunro@postgresql.org>
2024-11-27 03:39 pgsql: If a C23 compiler is detected, try asking for C17. Thomas Munro <tmunro@postgresql.org>
2024-11-27 03:39 pgsql: If a C23 compiler is detected, try asking for C17. Thomas Munro <tmunro@postgresql.org>
2024-11-27 03:39 pgsql: If a C23 compiler is detected, try asking for C17. Thomas Munro <tmunro@postgresql.org>
2024-11-27 03:40 pgsql: If a C23 compiler is detected, try asking for C17. Thomas Munro <tmunro@postgresql.org>
2024-11-27 03:40 pgsql: If a C23 compiler is detected, try asking for C17. Thomas Munro <tmunro@postgresql.org>
2024-11-27 03:45 ` Tom Lane <tgl@sss.pgh.pa.us>
2024-11-27 03:48 pgsql: If a C23 compiler is detected, try asking for C17. Thomas Munro <tmunro@postgresql.org>

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