Re: Perl warnings when building contrib on RHEL 9 beta

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Daniel Westermann (DWE)" <daniel(dot)westermann(at)dbi-services(dot)com>
Cc: PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: Perl warnings when building contrib on RHEL 9 beta
Date: 2021-11-03 17:27:42
Message-ID: 136694.1635960462@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

"Daniel Westermann (DWE)" <daniel(dot)westermann(at)dbi-services(dot)com> writes:
> just compiled PostgreSQL head on RedHat 9 beta. Generally seems to be fine but when building contrib, a lot of these warnings pop up:

> /usr/lib64/perl5/CORE/inline.h:2635:5: warning: '}' and ')' tokens terminating statement expression appear in different macro expansion contexts [-Wcompound-token-split-by-macro]

Yeah, I've been seeing that on macOS as well, with the latest Xcode;
and several other buildfarm members are showing it too.

I think this is a new clang warning that the Perl headers haven't
caught up with yet. I'm not sure there is anything we can do about
it other than add -Wno-compound-token-split-by-macro.

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Antonin Houska 2021-11-03 17:32:21 Re: [PATCH] Full support for index LP_DEAD hint bits on standby
Previous Message Simon Riggs 2021-11-03 16:59:04 Re: PITR: enhance getRecordTimestamp()