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 1pcqBY-0005JM-0Q for pgsql-hackers@arkaria.postgresql.org; Thu, 16 Mar 2023 16:10:36 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1pcqBW-00060Z-RW for pgsql-hackers@arkaria.postgresql.org; Thu, 16 Mar 2023 16:10:34 +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 1pcqBW-00060P-Hj for pgsql-hackers@lists.postgresql.org; Thu, 16 Mar 2023 16:10:34 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pcqBU-0001Pu-4b for pgsql-hackers@lists.postgresql.org; Thu, 16 Mar 2023 16:10:34 +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 32GGARG23826040; Thu, 16 Mar 2023 12:10:27 -0400 From: Tom Lane To: Pavel Stehule cc: Andres Freund , Melanie Plageman , PostgreSQL Hackers Subject: Re: gcc 13 warnings In-reply-to: References: <3787744.1678981438@sss.pgh.pa.us> Comments: In-reply-to Pavel Stehule message dated "Thu, 16 Mar 2023 17:00:47 +0100" MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-ID: <3826038.1678983027.1@sss.pgh.pa.us> Content-Transfer-Encoding: 8bit Date: Thu, 16 Mar 2023 12:10:27 -0400 Message-ID: <3826039.1678983027@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Pavel Stehule writes: > čt 16. 3. 2023 v 16:43 odesílatel Tom Lane napsal: >> Hmm, I do not see any warnings on HEAD with Fedora 37's gcc 12.2.1. >> What non-default configure switches, CFLAGS, etc are you using? > meson build without any settings > I think so it is related to meson build, I didn't see these warnings with > autoconf It wouldn't be entirely surprising if meson is selecting some -W switches that the configure script doesn't ... but I don't know where to check or change that. If that is the case, do we want to beat meson over the head till it stops doing that, or try to silence the warnings? The ones you show here don't look terribly helpful ... regards, tom lane