From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
Subject: | pgsql: Fix configure's AC_CHECK_DECLS tests to work correctly with clan |
Date: | 2022-09-21 19:42:19 |
Message-ID: | E1ob5bu-001O8G-JT@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
Fix configure's AC_CHECK_DECLS tests to work correctly with clang.
Back-port commit 16fbac39f into 9.3 and 9.2, so that these
out-of-support branches can be built with clang without wading
through a pile of warnings about strlcpy and related functions.
check_decls.m4 required some adaptation to work with autoconf 2.63,
but nothing too major.
Discussion: https://postgr.es/m/26819.1542515567@sss.pgh.pa.us
Discussion: https://postgr.es/m/1081321.1663775084@sss.pgh.pa.us
Branch
------
REL9_3_STABLE
Details
-------
https://git.postgresql.org/pg/commitdiff/f6ce9cee620702d8df551cd25761169f45503dc9
Modified Files
--------------
aclocal.m4 | 1 +
config/check_decls.m4 | 112 ++++++++++++++++++++++++++++
configure | 202 +++++++++++++++++++++++++++++++++++++++++++++++---
configure.in | 5 +-
4 files changed, 308 insertions(+), 12 deletions(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Peter Geoghegan | 2022-09-21 20:23:31 | pgsql: Harmonize lexer adjacent function parameter names. |
Previous Message | Tom Lane | 2022-09-21 17:53:20 | pgsql: Suppress more variable-set-but-not-used warnings from clang 15. |