pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Clean up compilation warnings coming from PL/Perl with clang-12~
Date: Sun, 12 Dec 2021 23:06:41 +0000
Message-ID: <E1mwXvV-00058v-1b@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.

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



view thread (11+ messages)  latest in thread

Message-ID: <E1mwXvV-00058v-1b@gemulon.postgresql.org>
Permalink:  ../E1mwXvV-00058v-1b@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1mwXvV-00058v-1b@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: tgl@sss.pgh.pa.us, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Clean up compilation warnings coming from PL/Perl with clang-12~
  In-Reply-To: <E1mwXvV-00058v-1b@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