Re: Clean up build warnings of plperl with clang-12+

Michael Paquier <michael@paquier.xyz>

From: Michael Paquier <michael@paquier.xyz>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Andrew Dunstan <andrew@dunslane.net>, Postgres hackers <pgsql-hackers@lists.postgresql.org>
Date: 2021-11-15T03:39:39Z
Lists: pgsql-hackers
On Thu, Nov 11, 2021 at 03:51:35PM -0500, Tom Lane wrote:
> That'd be considerably messier wouldn't it?

Yes, that would be a bit messier.  For example, we could do that with
something saved in Makefile.global.in by ./configure that plperl feeds
on to add this extra CFLAGS in its own local Makefile.

> (And I wonder if the
> meson system will be able to do it at all.)  If you feel motivated
> to make that happen, go for it, but I don't.

Neither am I.  9ff47ea is the least invasive solution, at least.
--
Michael

Commits

  1. Clean up compilation warnings coming from PL/Perl with clang-12~