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 1tCjkp-00ByHy-Nn for pgsql-bugs@arkaria.postgresql.org; Sun, 17 Nov 2024 18:12:11 +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 1tCjkl-0013R2-BN for pgsql-bugs@arkaria.postgresql.org; Sun, 17 Nov 2024 18:12:07 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1tCjkl-0013Qu-3B for pgsql-bugs@lists.postgresql.org; Sun, 17 Nov 2024 18:12:07 +0000 Received: from sss.pgh.pa.us ([68.162.161.243]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1tCjkf-002OIn-80 for pgsql-bugs@lists.postgresql.org; Sun, 17 Nov 2024 18:12:06 +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 4AHIBqrL3073931; Sun, 17 Nov 2024 13:11:53 -0500 From: Tom Lane To: Sam James cc: pgsql-bugs@lists.postgresql.org Subject: Re: Build failure with GCC 15 (defaults to -std=gnu23) In-reply-to: <87o72eo9iu.fsf@gentoo.org> References: <87o72eo9iu.fsf@gentoo.org> Comments: In-reply-to Sam James message dated "Sun, 17 Nov 2024 02:54:01 +0000" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <3073929.1731867112.1@sss.pgh.pa.us> Date: Sun, 17 Nov 2024 13:11:52 -0500 Message-ID: <3073930.1731867112@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Sam James writes: > postgres-17.1 fails to build with upcoming GCC 15 which defaults to > -std=gnu23 as follows: I do not think we claim to support C23 yet. Having said that, I can reproduce this on gcc 14 using -std=gnu23. It appears that configure is deciding that is not conformant to C99 because it doesn't declare "bool" as a macro. Did C23 really remove that !? regards, tom lane