pg.ddx.io pgsql-committers@postgresql.org mailing list archivehelp / color / mirror / Atom feed
pgsql: Clean up compilation warnings coming from PL/Perl with clang-12~ 11+ messages / 2 participants [nested] [flat]
* pgsql: Clean up compilation warnings coming from PL/Perl with clang-12~ @ 2021-11-11 01:52 Michael Paquier <michael@paquier.xyz> 0 siblings, 0 replies; 11+ messages in thread From: Michael Paquier @ 2021-11-11 01:52 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Clean up compilation warnings coming from PL/Perl with clang-12~ clang-12 has introduced -Wcompound-token-split-by-macro, that is causing a large amount of warnings when building PL/Perl because of its interactions with upstream Perl. This commit adds one -Wno to CFLAGS at ./configure time if the flag is supported by the compiler to silence all those warnings. Upstream perl has fixed this issue, but it is going to take some time before this is spread across the buildfarm, and we have noticed that some animals would be useful with an extra -Werror to help with the detection of incorrect placeholders (see b0cf544), dangomushi being one. Reviewed-by: Tom Lane Discussion: https://postgr.es/m/YYr3qYa/R3Gw+Sbg@paquier.xyz Backpatch-through: 10 Branch ------ REL_13_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/aa449e5caed8b3745ec86d358bbfdaaacf8dbfbe Modified Files -------------- configure | 46 ++++++++++++++++++++++++++++++++++++++++++++++ configure.in | 8 ++++++++ 2 files changed, 54 insertions(+) ^ permalink raw reply [nested|flat] 11+ messages in thread
* pgsql: Clean up compilation warnings coming from PL/Perl with clang-12~ @ 2021-11-11 01:52 Michael Paquier <michael@paquier.xyz> 0 siblings, 0 replies; 11+ messages in thread From: Michael Paquier @ 2021-11-11 01:52 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Clean up compilation warnings coming from PL/Perl with clang-12~ clang-12 has introduced -Wcompound-token-split-by-macro, that is causing a large amount of warnings when building PL/Perl because of its interactions with upstream Perl. This commit adds one -Wno to CFLAGS at ./configure time if the flag is supported by the compiler to silence all those warnings. Upstream perl has fixed this issue, but it is going to take some time before this is spread across the buildfarm, and we have noticed that some animals would be useful with an extra -Werror to help with the detection of incorrect placeholders (see b0cf544), dangomushi being one. Reviewed-by: Tom Lane Discussion: https://postgr.es/m/YYr3qYa/R3Gw+Sbg@paquier.xyz Backpatch-through: 10 Branch ------ REL_11_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/5e8a0dc7295fd5c3d952a54f09881fb02eb94269 Modified Files -------------- configure | 46 ++++++++++++++++++++++++++++++++++++++++++++++ configure.in | 8 ++++++++ 2 files changed, 54 insertions(+) ^ permalink raw reply [nested|flat] 11+ messages in thread
* pgsql: Clean up compilation warnings coming from PL/Perl with clang-12~ @ 2021-11-11 01:52 Michael Paquier <michael@paquier.xyz> 0 siblings, 0 replies; 11+ messages in thread From: Michael Paquier @ 2021-11-11 01:52 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Clean up compilation warnings coming from PL/Perl with clang-12~ clang-12 has introduced -Wcompound-token-split-by-macro, that is causing a large amount of warnings when building PL/Perl because of its interactions with upstream Perl. This commit adds one -Wno to CFLAGS at ./configure time if the flag is supported by the compiler to silence all those warnings. Upstream perl has fixed this issue, but it is going to take some time before this is spread across the buildfarm, and we have noticed that some animals would be useful with an extra -Werror to help with the detection of incorrect placeholders (see b0cf544), dangomushi being one. Reviewed-by: Tom Lane Discussion: https://postgr.es/m/YYr3qYa/R3Gw+Sbg@paquier.xyz Backpatch-through: 10 Branch ------ REL_12_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/109279e5729114d8bd118acf6de376012ffc58ec Modified Files -------------- configure | 46 ++++++++++++++++++++++++++++++++++++++++++++++ configure.in | 8 ++++++++ 2 files changed, 54 insertions(+) ^ permalink raw reply [nested|flat] 11+ messages in thread
* pgsql: Clean up compilation warnings coming from PL/Perl with clang-12~ @ 2021-11-11 01:52 Michael Paquier <michael@paquier.xyz> 0 siblings, 0 replies; 11+ messages in thread From: Michael Paquier @ 2021-11-11 01:52 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Clean up compilation warnings coming from PL/Perl with clang-12~ clang-12 has introduced -Wcompound-token-split-by-macro, that is causing a large amount of warnings when building PL/Perl because of its interactions with upstream Perl. This commit adds one -Wno to CFLAGS at ./configure time if the flag is supported by the compiler to silence all those warnings. Upstream perl has fixed this issue, but it is going to take some time before this is spread across the buildfarm, and we have noticed that some animals would be useful with an extra -Werror to help with the detection of incorrect placeholders (see b0cf544), dangomushi being one. Reviewed-by: Tom Lane Discussion: https://postgr.es/m/YYr3qYa/R3Gw+Sbg@paquier.xyz Backpatch-through: 10 Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/9ff47ea414c4e6ace347fc4e59866e38b9bbceaf Modified Files -------------- configure | 46 ++++++++++++++++++++++++++++++++++++++++++++++ configure.ac | 8 ++++++++ 2 files changed, 54 insertions(+) ^ permalink raw reply [nested|flat] 11+ messages in thread
* pgsql: Clean up compilation warnings coming from PL/Perl with clang-12~ @ 2021-11-11 01:52 Michael Paquier <michael@paquier.xyz> 0 siblings, 0 replies; 11+ messages in thread From: Michael Paquier @ 2021-11-11 01:52 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Clean up compilation warnings coming from PL/Perl with clang-12~ clang-12 has introduced -Wcompound-token-split-by-macro, that is causing a large amount of warnings when building PL/Perl because of its interactions with upstream Perl. This commit adds one -Wno to CFLAGS at ./configure time if the flag is supported by the compiler to silence all those warnings. Upstream perl has fixed this issue, but it is going to take some time before this is spread across the buildfarm, and we have noticed that some animals would be useful with an extra -Werror to help with the detection of incorrect placeholders (see b0cf544), dangomushi being one. Reviewed-by: Tom Lane Discussion: https://postgr.es/m/YYr3qYa/R3Gw+Sbg@paquier.xyz Backpatch-through: 10 Branch ------ REL_14_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/56eb02ce79a8c14ac4fdf3494465e3fac3d4d45b Modified Files -------------- configure | 46 ++++++++++++++++++++++++++++++++++++++++++++++ configure.ac | 8 ++++++++ 2 files changed, 54 insertions(+) ^ permalink raw reply [nested|flat] 11+ messages in thread
* pgsql: Clean up compilation warnings coming from PL/Perl with clang-12~ @ 2021-11-11 01:52 Michael Paquier <michael@paquier.xyz> 0 siblings, 0 replies; 11+ messages in thread From: Michael Paquier @ 2021-11-11 01:52 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Clean up compilation warnings coming from PL/Perl with clang-12~ clang-12 has introduced -Wcompound-token-split-by-macro, that is causing a large amount of warnings when building PL/Perl because of its interactions with upstream Perl. This commit adds one -Wno to CFLAGS at ./configure time if the flag is supported by the compiler to silence all those warnings. Upstream perl has fixed this issue, but it is going to take some time before this is spread across the buildfarm, and we have noticed that some animals would be useful with an extra -Werror to help with the detection of incorrect placeholders (see b0cf544), dangomushi being one. Reviewed-by: Tom Lane Discussion: https://postgr.es/m/YYr3qYa/R3Gw+Sbg@paquier.xyz Backpatch-through: 10 Branch ------ REL_10_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/11b05a16d46263991dcfd7fa13b48a6b0e82dd1a Modified Files -------------- configure | 42 ++++++++++++++++++++++++++++++++++++++++++ configure.in | 8 ++++++++ 2 files changed, 50 insertions(+) ^ permalink raw reply [nested|flat] 11+ messages in thread
* pgsql: Clean up compilation warnings coming from PL/Perl with clang-12~ @ 2021-12-12 23:06 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 11+ messages in thread From: Tom Lane @ 2021-12-12 23:06 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Clean up compilation warnings coming from PL/Perl with clang-12~ clang-12 has introduced -Wcompound-token-split-by-macro, that is causing a large amount of warnings when building PL/Perl because of its interactions with upstream Perl. This commit adds one -Wno to CFLAGS at ./configure time if the flag is supported by the compiler to silence all those warnings. This back-patches commit 9ff47ea41 into out-of-support branches, pursuant to newly-established project policy. The point is to suppress scary-looking warnings so that people building these branches needn't expend brain cells verifying that it's safe to ignore the warnings. Discussion: https://postgr.es/m/d0316012-ece7-7b7e-2d36-9c38cb77cb3b@enterprisedb.com Branch ------ REL9_6_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/c16a78147ca104602d18c8cc19ff3ed98606717c Modified Files -------------- configure | 42 ++++++++++++++++++++++++++++++++++++++++++ configure.in | 8 ++++++++ 2 files changed, 50 insertions(+) ^ permalink raw reply [nested|flat] 11+ messages in thread
* pgsql: Clean up compilation warnings coming from PL/Perl with clang-12~ @ 2021-12-12 23:06 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 11+ messages in thread From: Tom Lane @ 2021-12-12 23:06 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Clean up compilation warnings coming from PL/Perl with clang-12~ clang-12 has introduced -Wcompound-token-split-by-macro, that is causing a large amount of warnings when building PL/Perl because of its interactions with upstream Perl. This commit adds one -Wno to CFLAGS at ./configure time if the flag is supported by the compiler to silence all those warnings. This back-patches commit 9ff47ea41 into out-of-support branches, pursuant to newly-established project policy. The point is to suppress scary-looking warnings so that people building these branches needn't expend brain cells verifying that it's safe to ignore the warnings. Discussion: https://postgr.es/m/d0316012-ece7-7b7e-2d36-9c38cb77cb3b@enterprisedb.com Branch ------ REL9_2_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/ebd952f3f453d3074b99632e07d54f3dc5eb55d1 Modified Files -------------- configure | 67 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ configure.in | 8 ++++++++ 2 files changed, 75 insertions(+) ^ permalink raw reply [nested|flat] 11+ messages in thread
* pgsql: Clean up compilation warnings coming from PL/Perl with clang-12~ @ 2021-12-12 23:06 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 11+ messages in thread From: Tom Lane @ 2021-12-12 23:06 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Clean up compilation warnings coming from PL/Perl with clang-12~ clang-12 has introduced -Wcompound-token-split-by-macro, that is causing a large amount of warnings when building PL/Perl because of its interactions with upstream Perl. This commit adds one -Wno to CFLAGS at ./configure time if the flag is supported by the compiler to silence all those warnings. This back-patches commit 9ff47ea41 into out-of-support branches, pursuant to newly-established project policy. The point is to suppress scary-looking warnings so that people building these branches needn't expend brain cells verifying that it's safe to ignore the warnings. Discussion: https://postgr.es/m/d0316012-ece7-7b7e-2d36-9c38cb77cb3b@enterprisedb.com Branch ------ REL9_4_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/3fff9b6c1856cd99c09dff2d8da05d0482bc96e2 Modified Files -------------- configure | 42 ++++++++++++++++++++++++++++++++++++++++++ configure.in | 8 ++++++++ 2 files changed, 50 insertions(+) ^ permalink raw reply [nested|flat] 11+ messages in thread
* pgsql: Clean up compilation warnings coming from PL/Perl with clang-12~ @ 2021-12-12 23:06 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 11+ messages in thread From: Tom Lane @ 2021-12-12 23:06 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Clean up compilation warnings coming from PL/Perl with clang-12~ clang-12 has introduced -Wcompound-token-split-by-macro, that is causing a large amount of warnings when building PL/Perl because of its interactions with upstream Perl. This commit adds one -Wno to CFLAGS at ./configure time if the flag is supported by the compiler to silence all those warnings. This back-patches commit 9ff47ea41 into out-of-support branches, pursuant to newly-established project policy. The point is to suppress scary-looking warnings so that people building these branches needn't expend brain cells verifying that it's safe to ignore the warnings. Discussion: https://postgr.es/m/d0316012-ece7-7b7e-2d36-9c38cb77cb3b@enterprisedb.com Branch ------ REL9_5_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/e51e8fb9f43372bf78d2f34deeee2490912bdb46 Modified Files -------------- configure | 42 ++++++++++++++++++++++++++++++++++++++++++ configure.in | 8 ++++++++ 2 files changed, 50 insertions(+) ^ permalink raw reply [nested|flat] 11+ messages in thread
* pgsql: Clean up compilation warnings coming from PL/Perl with clang-12~ @ 2021-12-12 23:06 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 11+ messages in thread From: Tom Lane @ 2021-12-12 23:06 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Clean up compilation warnings coming from PL/Perl with clang-12~ clang-12 has introduced -Wcompound-token-split-by-macro, that is causing a large amount of warnings when building PL/Perl because of its interactions with upstream Perl. This commit adds one -Wno to CFLAGS at ./configure time if the flag is supported by the compiler to silence all those warnings. This back-patches commit 9ff47ea41 into out-of-support branches, pursuant to newly-established project policy. The point is to suppress scary-looking warnings so that people building these branches needn't expend brain cells verifying that it's safe to ignore the warnings. Discussion: https://postgr.es/m/d0316012-ece7-7b7e-2d36-9c38cb77cb3b@enterprisedb.com Branch ------ REL9_3_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/580261836c115c13aa9eaeb4411f887138cedec4 Modified Files -------------- configure | 67 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ configure.in | 8 ++++++++ 2 files changed, 75 insertions(+) ^ permalink raw reply [nested|flat] 11+ messages in thread
end of thread, other threads:[~2021-12-12 23:06 UTC | newest] Thread overview: 11+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2021-11-11 01:52 pgsql: Clean up compilation warnings coming from PL/Perl with clang-12~ Michael Paquier <michael@paquier.xyz> 2021-11-11 01:52 pgsql: Clean up compilation warnings coming from PL/Perl with clang-12~ Michael Paquier <michael@paquier.xyz> 2021-11-11 01:52 pgsql: Clean up compilation warnings coming from PL/Perl with clang-12~ Michael Paquier <michael@paquier.xyz> 2021-11-11 01:52 pgsql: Clean up compilation warnings coming from PL/Perl with clang-12~ Michael Paquier <michael@paquier.xyz> 2021-11-11 01:52 pgsql: Clean up compilation warnings coming from PL/Perl with clang-12~ Michael Paquier <michael@paquier.xyz> 2021-11-11 01:52 pgsql: Clean up compilation warnings coming from PL/Perl with clang-12~ Michael Paquier <michael@paquier.xyz> 2021-12-12 23:06 pgsql: Clean up compilation warnings coming from PL/Perl with clang-12~ Tom Lane <tgl@sss.pgh.pa.us> 2021-12-12 23:06 pgsql: Clean up compilation warnings coming from PL/Perl with clang-12~ Tom Lane <tgl@sss.pgh.pa.us> 2021-12-12 23:06 pgsql: Clean up compilation warnings coming from PL/Perl with clang-12~ Tom Lane <tgl@sss.pgh.pa.us> 2021-12-12 23:06 pgsql: Clean up compilation warnings coming from PL/Perl with clang-12~ Tom Lane <tgl@sss.pgh.pa.us> 2021-12-12 23:06 pgsql: Clean up compilation warnings coming from PL/Perl with clang-12~ Tom Lane <tgl@sss.pgh.pa.us>
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