Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pWdfz-0008QK-5d for pgsql-hackers@arkaria.postgresql.org; Mon, 27 Feb 2023 13:36:23 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1pWdfx-0007xm-VL for pgsql-hackers@arkaria.postgresql.org; Mon, 27 Feb 2023 13:36:21 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pWdfx-0007xc-Ls for pgsql-hackers@lists.postgresql.org; Mon, 27 Feb 2023 13:36:21 +0000 Received: from relay1-d.mail.gandi.net ([2001:4b98:dc4:8::221]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pWdfv-000187-8d for pgsql-hackers@postgresql.org; Mon, 27 Feb 2023 13:36:21 +0000 Received: (Authenticated sender: adsend@dunslane.net) by mail.gandi.net (Postfix) with ESMTPSA id A2AD9240012; Mon, 27 Feb 2023 13:36:13 +0000 (UTC) Content-Type: multipart/alternative; boundary="------------IytwEcY9ZSwacie5RaERtUiY" Message-ID: Date: Mon, 27 Feb 2023 08:36:12 -0500 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.5.0 Subject: Re: meson vs make: missing/inconsistent ENV Content-Language: en-US From: Andrew Dunstan To: =?UTF-8?Q?Dagfinn_Ilmari_Manns=c3=a5ker?= , Justin Pryzby Cc: Andres Freund , pgsql-hackers@postgresql.org, Peter Eisentraut References: <20230226225239.GL1653@telsasoft.com> <20230226232104.5djexwyitlfemrhg@awork3.anarazel.de> <20230227020029.GN1653@telsasoft.com> <87edqbjr1i.fsf@wibble.ilmari.org> In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk This is a multi-part message in MIME format. --------------IytwEcY9ZSwacie5RaERtUiY Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit On 2023-02-27 Mo 07:33, Andrew Dunstan wrote: > > > On 2023-02-27 Mo 06:17, Dagfinn Ilmari Mannsåker wrote: >> Justin Pryzby writes: >> >>> On Sun, Feb 26, 2023 at 03:21:04PM -0800, Andres Freund wrote: >>>>> Is there any consideration of promoting these or other warnings to >>>>> fatal? >>>> You mean the perl warnings? >>> Yes - it'd be nice if the warnings caused an obvious failure to allow >>> addressing the issue. I noticed the icu warning while looking at a bug >>> in 0da243fed, and updating to add ZSTD. >> Perl warnings can be made fatal with `use warnings FATAL => >> ;`, but one should be careful about which categories to >> fatalise, per. >> >> Some categories are inherently unsafe to fatalise, as documented in >> . >> > > Yeah. > > > It would be nice if there were some fuller explanation of the various > categories, but I don't know of one. > > > Looks like the explanations are in the perldiag manual page. cheers andrew -- Andrew Dunstan EDB:https://www.enterprisedb.com --------------IytwEcY9ZSwacie5RaERtUiY Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit


On 2023-02-27 Mo 07:33, Andrew Dunstan wrote:


On 2023-02-27 Mo 06:17, Dagfinn Ilmari Mannsåker wrote:
Justin Pryzby <pryzby@telsasoft.com> writes:

On Sun, Feb 26, 2023 at 03:21:04PM -0800, Andres Freund wrote:
Is there any consideration of promoting these or other warnings to
fatal?
You mean the perl warnings?
Yes - it'd be nice if the warnings caused an obvious failure to allow
addressing the issue.  I noticed the icu warning while looking at a bug
in 0da243fed, and updating to add ZSTD.  
Perl warnings can be made fatal with `use warnings FATAL =>
<categories>;`, but one should be careful about which categories to
fatalise, per <https://metacpan.org/pod/warnings#Fatal-Warnings>.

Some categories are inherently unsafe to fatalise, as documented in
<https://metacpan.org/pod/strictures#CATEGORY-SELECTIONS>.


Yeah.


It would be nice if there were some fuller explanation of the various categories, but I don't know of one.




Looks like the explanations are in the perldiag manual page. <https://perldoc.perl.org/perldiag>


cheers


andrew


--
Andrew Dunstan
EDB: https://www.enterprisedb.com
--------------IytwEcY9ZSwacie5RaERtUiY--