pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Paquier <michael@paquier.xyz>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Clean up compilation warnings coming from PL/Perl with clang-12~
Date: Thu, 11 Nov 2021 01:52:22 +0000
Message-ID: <E1mkzGI-0003I8-Kp@gemulon.postgresql.org> (raw)

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(+)



view thread (11+ messages)  latest in thread

Message-ID: <E1mkzGI-0003I8-Kp@gemulon.postgresql.org>
Permalink:  ../E1mkzGI-0003I8-Kp@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1mkzGI-0003I8-Kp@gemulon.postgresql.org

 · 

reply

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 using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: michael@paquier.xyz, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Clean up compilation warnings coming from PL/Perl with clang-12~
  In-Reply-To: <E1mkzGI-0003I8-Kp@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