Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1ujjY7-00BNeu-Mh for pgsql-hackers@arkaria.postgresql.org; Wed, 06 Aug 2025 19:11:43 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1ujjY5-000Z6I-Oe for pgsql-hackers@arkaria.postgresql.org; Wed, 06 Aug 2025 19:11:41 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1ujjY5-000Z6A-F8 for pgsql-hackers@lists.postgresql.org; Wed, 06 Aug 2025 19:11:41 +0000 Received: from sss.pgh.pa.us ([68.162.161.243]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1ujjY3-0017Lp-0c for pgsql-hackers@lists.postgresql.org; Wed, 06 Aug 2025 19:11:41 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 576JBaYe1440670; Wed, 6 Aug 2025 15:11:36 -0400 From: Tom Lane To: Peter Eisentraut cc: pgsql-hackers@lists.postgresql.org Subject: Re: headerscheck warnings with late-model gcc In-reply-to: <9b7ef918-302e-4c84-bc04-a37f5c2b5f92@eisentraut.org> References: <1127775.1754417387@sss.pgh.pa.us> <9b7ef918-302e-4c84-bc04-a37f5c2b5f92@eisentraut.org> Comments: In-reply-to Peter Eisentraut message dated "Wed, 06 Aug 2025 20:25:56 +0200" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <1440668.1754507496.1@sss.pgh.pa.us> Date: Wed, 06 Aug 2025 15:11:36 -0400 Message-ID: <1440669.1754507496@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Peter Eisentraut writes: > On 05.08.25 20:09, Tom Lane wrote: >> Curiously, no such complaints appear with cpluspluscheck (which is >> using g++ 15.1.1). I don't really understand why not ... > -Wmissing-variable-declarations is added by us as of PG18 (commit > 66188912566). It's available since gcc 14 and doesn't exist for C++. Oh! Okay, that explains the lack of messages, but it still seems like an odd omission. regards, tom lane