Re: Perl warnings when building contrib on RHEL 9 beta - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Perl warnings when building contrib on RHEL 9 beta
Date
Msg-id 136694.1635960462@sss.pgh.pa.us
Whole thread Raw
In response to Perl warnings when building contrib on RHEL 9 beta  ("Daniel Westermann (DWE)" <daniel.westermann@dbi-services.com>)
List pgsql-hackers
"Daniel Westermann (DWE)" <daniel.westermann@dbi-services.com> writes:
> just compiled PostgreSQL head on RedHat 9 beta. Generally seems to be fine but when building contrib, a lot of these
warningspop up: 

> /usr/lib64/perl5/CORE/inline.h:2635:5: warning: '}' and ')' tokens terminating statement expression appear in
differentmacro 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



pgsql-hackers by date:

Previous
From: Simon Riggs
Date:
Subject: Re: PITR: enhance getRecordTimestamp()
Next
From: Antonin Houska
Date:
Subject: Re: [PATCH] Full support for index LP_DEAD hint bits on standby