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 1pB0dS-0004nk-8P for pgsql-hackers@arkaria.postgresql.org; Thu, 29 Dec 2022 21:40: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 1pB0dR-0002jD-3q for pgsql-hackers@arkaria.postgresql.org; Thu, 29 Dec 2022 21:40:21 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pB0dP-0002hi-BB for pgsql-hackers@lists.postgresql.org; Thu, 29 Dec 2022 21:40:20 +0000 Received: from out5-smtp.messagingengine.com ([66.111.4.29]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pB0dM-0006hc-Gi for pgsql-hackers@postgresql.org; Thu, 29 Dec 2022 21:40:18 +0000 Received: from compute6.internal (compute6.nyi.internal [10.202.2.47]) by mailout.nyi.internal (Postfix) with ESMTP id 6E8D25C00FE; Thu, 29 Dec 2022 16:40:15 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute6.internal (MEProxy); Thu, 29 Dec 2022 16:40:15 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=anarazel.de; h= cc:cc:content-type:date:date:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to; s=fm2; t=1672350015; x=1672436415; bh=oLZ/MZk+YO irmI8fRG+UQl/FI85u2L9g7YyS9xfZaNI=; b=lt0pGx9w1uYWixgN2q2BlDz8y9 HEyl3EtAsEECk6PvxDkdae+SRQq8DK/clTVRD3WL14MIeConZ5NhW2sthnhygpIW YDwfYBCIWUH0vpKz9lL1P5ZwUPf9hA5t0FUDCyOY/C7CTQHXG/ztR8Rl0T3C0IYF 1IaXijPcr4cCpYHBSM1AxBIQwN3sjU7LqHKQfWM84J7nUcmmhB/9AxlfI0g/RSXS x2SAkKPUxE8UPcKIzQ9cyU35gjQHJmHVf/PfLLprQ/otjLs06fwftF1aPXQ2nEft /QQEFQfWxNgdiEXkr0kHGjnfHBjVxpo1/zTEdvo9yFWRWaOM6pj+GCJDB26Q== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:date:date:feedback-id :feedback-id:from:from:in-reply-to:in-reply-to:message-id :mime-version:references:reply-to:sender:subject:subject:to:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm2; t=1672350015; x=1672436415; bh=oLZ/MZk+YOirmI8fRG+UQl/FI85u 2L9g7YyS9xfZaNI=; b=NI8Zl1hjM9Pl5vvmKq1XERIFJrdHgPP6CVit3xuC8xzw Kn65mwy3MCcUNbk5xa4KWhi0C0J15XWKu9drX6rPhddIZjNelmSb2WIeKVFemtob 4/ob/AmCGmmh+spl48ApXqkyoG5visOMLBMAZpZeF8Ntfi98lKYo9aFkaDu03PvQ Nc6DlzO6F5wa3RdC1knryFj9UUcCQ8Jy4znj7QlLumXuur1Vxux26MxVbhvsK7Uu K60hw5GnJLfwGPBnn6+xjcnmgJPVG6ztFuidI7DHDNVufzK+o8XPLG8eCErh+cpM xc434l7/zCpBcL8AqRhm2jiK6vCm6QIYdDUa/HKIAA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrieeggdduheefucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfffhvfevuffkfhggtggujgesthdtredttddtvdenucfhrhhomheptehnughr vghsucfhrhgvuhhnugcuoegrnhgurhgvshesrghnrghrrgiivghlrdguvgeqnecuggftrf grthhtvghrnhepvdfffeevhfetveffgeeiteefhfdtvdffjeevhfeuteegleduheetvedu ieettddunecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomh eprghnughrvghssegrnhgrrhgriigvlhdruggv X-ME-Proxy: Feedback-ID: id4a34324:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 29 Dec 2022 16:40:14 -0500 (EST) Date: Thu, 29 Dec 2022 13:40:13 -0800 From: Andres Freund To: Tom Lane Cc: Peter Eisentraut , pgsql-hackers@postgresql.org, David Rowley , Dagfinn Ilmari =?utf-8?Q?Manns=C3=A5ker?= Subject: Re: perl 5.36, C99, -Wdeclaration-after-statement -Wshadow=compatible-local Message-ID: <20221229214013.y5i3ovlrhrc2dbaj@awork3.anarazel.de> References: <20221102234346.zcupk5mqysavci4t@awork3.anarazel.de> <1881935.1667433465@sss.pgh.pa.us> <20221103000334.sbh5jqw37i3y7pc3@awork3.anarazel.de> <20221228182455.hfdwd22zztvkojy2@awork3.anarazel.de> <356473.1672253007@sss.pgh.pa.us> <20221229000223.2pdwxexfrgoximul@awork3.anarazel.de> <438139.1672272335@sss.pgh.pa.us> <20221229184236.3v7bvsumefpslq7h@awork3.anarazel.de> <586729.1672339897@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <586729.1672339897@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Hi, On 2022-12-29 13:51:37 -0500, Tom Lane wrote: > We might find that some GCC-impostor compilers have trouble with it, > but if so we can adjust the #ifdef here. Yea. I suspect it's widely enough used that any compiler claiming to be gcc compatible has it, but ... > Getting nitpicky, I suggest calling it "HAVE_PRAGMA_GCC_SYSTEM_HEADER" > to align better with what you actually have to write. Makes sense. > + * Newer versions the perl headers trigger a lot of warnings with our compiler > > "Newer versions of ..." please. Otherwise LGTM. Oops. > > Should we backpatch this? Given the volume of warnings it's probably a good > > idea. But I'd let it step in HEAD for a few days of buildfarm coverage first. > > +1 to both points. Pushed to HEAD. Greetings, Andres Freund