Re: perl 5.36, C99, -Wdeclaration-after-statement -Wshadow=compatible-local

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Andres Freund <andres(at)anarazel(dot)de>
Cc: Peter Eisentraut <peter(dot)eisentraut(at)enterprisedb(dot)com>, pgsql-hackers(at)postgresql(dot)org, David Rowley <dgrowleyml(at)gmail(dot)com>, Dagfinn Ilmari Mannsåker <ilmari(at)ilmari(dot)org>
Subject: Re: perl 5.36, C99, -Wdeclaration-after-statement -Wshadow=compatible-local
Date: 2023-01-03 16:02:36
Message-ID: 1772438.1672761756@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

I wrote:
> It occurs to me that we should now be able to drop configure's
> probe for -Wno-compound-token-split-by-macro, since that was only
> needed to suppress warnings in the Perl headers.

... or not. A bit of experimentation says that they still come out,
apparently because the warnings are triggered by *use* of relevant
Perl macros not by their *definitions*. Oh well.

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message agharta82@gmail.com 2023-01-03 16:07:40 Re: Is OpenSSL AES-NI not available in pgcrypto?
Previous Message Peter Eisentraut 2023-01-03 15:54:31 Re: Is OpenSSL AES-NI not available in pgcrypto?