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.96) (envelope-from ) id 1wASNF-002Ovf-24 for pgsql-hackers@arkaria.postgresql.org; Wed, 08 Apr 2026 12:51:13 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1wASNE-0077Wl-0S for pgsql-hackers@arkaria.postgresql.org; Wed, 08 Apr 2026 12:51:12 +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.96) (envelope-from ) id 1wASND-0077WQ-0k for pgsql-hackers@lists.postgresql.org; Wed, 08 Apr 2026 12:51:12 +0000 Received: from fout-b2-smtp.messagingengine.com ([202.12.124.145]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1wASNB-00000001Db2-3GKL for pgsql-hackers@lists.postgresql.org; Wed, 08 Apr 2026 12:51:10 +0000 Received: from phl-compute-03.internal (phl-compute-03.internal [10.202.2.43]) by mailfout.stl.internal (Postfix) with ESMTP id 8592F1D002B4; Wed, 8 Apr 2026 08:51:08 -0400 (EDT) Received: from phl-frontend-04 ([10.202.2.163]) by phl-compute-03.internal (MEProxy); Wed, 08 Apr 2026 08:51:08 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=eisentraut.org; h=cc:cc:content-transfer-encoding:content-type:content-type :date:date:from:from:in-reply-to:in-reply-to:message-id :mime-version:references:reply-to:subject:subject:to:to; s=fm1; t=1775652668; x=1775739068; bh=Njj4gVC2JnC3AztnqTjLSRUvLI8WxpZV zssbNnF2ODI=; b=tOJtyc9YQxHqnCQ9o6pmdL89zihdvgunnlVVRT6fhXCOoe+B yrs/q/pb3LRuzZB82mlqrIRbuuvOrguVQQQfpIn+s0LXn3V5LSdax2hg5qqIUzcR ySgBGlbawG6ESHXUQUBE0tXnGoeGWztAxMoFFYwBtNp0/XCaFgzV66eMDwHSI5F8 UxD7R2kTQ9jOxRlI16I9FEVLDSNxErYWC6kkslCuvazkCPyJUwu9MlkxJ0EsGlXe i6hIRIJnSDKf7KiUvwQF2N7ssg6mWNtxCPDAwbNnbLu3O2KC7qgk3pRz7Ar5d6vY rMODQVWhXZsLNmPOeFaV8x9QvkjMnH/A+I8H7Q== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t=1775652668; x= 1775739068; bh=Njj4gVC2JnC3AztnqTjLSRUvLI8WxpZVzssbNnF2ODI=; b=M dU81HVIrO35HzoT9zNVcZvTg8rLww+/HsBi9fShruowntIdDRnAYBWJ9/gIw2NDs 69c1O+DQ4IltzLjHW7HoK0RCJush7zo3tao2EGkFAQCRzMba+3eRrCGdHbd2lDhq t0HfqqhXot6lRuDQOsjwC4JD088rpB8QoqOwbE1YffdIAOEmGFKRp0o8+CT9vgN0 wK96la38eQ6C/8/NXYdHuJmXHr9ZSef/ORe3g1ZXD9P/gi6LwD9oBPbvX2Xnepec XTGrcjYUa5+FJqkZjdb/CzcYVhbDqrBxdV7kYySc5O1pcG7F5trMXAfrCDzGboTh 82vKyPheXdwJbeggTS13A== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefhedrtddtgddvfeeivdcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpuffrtefokffrpgfnqfghnecuuegr ihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjug hrpefkffggfgfuvfevfhfhjggtgfesthejredttddvjeenucfhrhhomheprfgvthgvrhcu gfhishgvnhhtrhgruhhtuceophgvthgvrhesvghishgvnhhtrhgruhhtrdhorhhgqeenuc ggtffrrghtthgvrhhnpeekfeffhfetfffffeekvdeihfffkeduuddvieetiefhjeefffdv keejtedtteeukeenucffohhmrghinheptghhohgtohhlrghtvgihrdhorhhgpdhpohhsth hgrhgvshhqlhdrohhrghenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgr ihhlfhhrohhmpehpvghtvghrsegvihhsvghnthhrrghuthdrohhrghdpnhgspghrtghpth htohephedpmhhouggvpehsmhhtphhouhhtpdhrtghpthhtohepthhglhesshhsshdrphhg hhdrphgrrdhushdprhgtphhtthhopegrnhgurhgvfiesughunhhslhgrnhgvrdhnvghtpd hrtghpthhtohepuggrvhgvtghrrghmvghrsehpohhsthhgrhgvshdrrhhotghkshdprhgt phhtthhopegsvghrthhrrghnuggurhhouhhvohhtrdhpghesghhmrghilhdrtghomhdprh gtphhtthhopehpghhsqhhlqdhhrggtkhgvrhhssehlihhsthhsrdhpohhsthhgrhgvshhq lhdrohhrgh X-ME-Proxy: Feedback-ID: ie0a040ee:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 8 Apr 2026 08:51:06 -0400 (EDT) Message-ID: <2515f85a-217c-416e-b87e-7c480c4e1c5b@eisentraut.org> Date: Wed, 8 Apr 2026 14:51:05 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Enable -Wstrict-prototypes and -Wold-style-definition by default To: Tom Lane , Andrew Dunstan , Dave Cramer Cc: Bertrand Drouvot , pgsql-hackers@lists.postgresql.org References: <44885d54-0376-46b3-b574-59e0e3098580@eisentraut.org> <4ab608af-2f90-47d8-88a5-6329f6630fff@eisentraut.org> <1912638.1775510391@sss.pgh.pa.us> Content-Language: en-US From: Peter Eisentraut In-Reply-To: <1912638.1775510391@sss.pgh.pa.us> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 06.04.26 23:19, Tom Lane wrote: > Peter Eisentraut writes: >> The first three patches have been committed. > > b4a132022 has had some not-so-desirable effects in the buildfarm: > drongo and hoatzin are each spewing a couple dozen repetitive > warnings about every bison-generated header file, eg > > src/backend/bootstrap/bootparse.h(111): warning C4255: 'boot_yyparse': no function prototype given: converting '()' to '(void)' > > Both of those machines are using bison 2.7, which is pretty old > and evidently isn't careful about generating complete prototypes. > > I'm not sure if there's anything to be done about this, except > perhaps nag the animals' owners to find a newer bison somewhere. > We could revert b4a132022, but then we might miss valid warnings > about such issues in Windows-only code. Let's try the nagging route. I found it especially curious that hoatzin is a relatively new member, so why is it running this ancient Bison version? Looking at the Chocolatey packages: https://community.chocolatey.org/packages?q=bison it appears that choco install winflexbison gives you the old version, and you need choco install winflexbison3 to get a newer version. So it seems easy to fall into that "trap" if you don't pay attention. So perhaps these buildfarm members could update their Bison version sometime. I found one mention of this command in our wiki (https://wiki.postgresql.org/wiki/Meson#Windows), which I updated. If we find any other documents or guides with these commands, we should try to get them updated, too.