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 1wAUc7-0001fz-26 for pgsql-hackers@arkaria.postgresql.org; Wed, 08 Apr 2026 15:14:44 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1wAUc5-000Onb-37 for pgsql-hackers@arkaria.postgresql.org; Wed, 08 Apr 2026 15:14:42 +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 1wAUc5-000OnQ-16 for pgsql-hackers@lists.postgresql.org; Wed, 08 Apr 2026 15:14:42 +0000 Received: from mail-vk1-xa2a.google.com ([2607:f8b0:4864:20::a2a]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.98.2) (envelope-from ) id 1wAUc3-000000000lk-0fQB for pgsql-hackers@lists.postgresql.org; Wed, 08 Apr 2026 15:14:41 +0000 Received: by mail-vk1-xa2a.google.com with SMTP id 71dfb90a1353d-56d89f35940so2211467e0c.2 for ; Wed, 08 Apr 2026 08:14:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dunslane-net.20251104.gappssmtp.com; s=20251104; t=1775661278; x=1776266078; darn=lists.postgresql.org; h=content-transfer-encoding:in-reply-to:autocrypt:content-language :from:references:cc:to:subject:user-agent:mime-version:date :message-id:from:to:cc:subject:date:message-id:reply-to; bh=Cv0AI/b1odvLE+AhRLmvv5H7czKoKi7BkIce1JHpqnU=; b=0P8jkajp2bIZOvGkVQ904pX+1nAQtZ/16cgbqVzty1FYVhF86Qv0fgBoT4DAx8K3dg iHek8SENdlIxwybnaoh31WoNFF/z7vbtijYRjxoNujH7E1SLi3Iy2vKuM4+FIfc6ywaU X437EjqUE+WAdcy82GtmLuxhrYtjhJElj0SgUct2e5LtuFjTYfMTi7C3WTkjfPUf4M3Z 8s9J1aNgtZedNRhKaCntQtz5bC5o8ud9rPIoTa3WJ9RyvAUHUaOiK94fLmsbKHM6ls/E uB5nuztJOcyZpYvOKgPjIycGqol76dCoC2kAFq/Wag30VgOJxzdtbhj+Q4T/Iw6leH6s UrWA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1775661278; x=1776266078; h=content-transfer-encoding:in-reply-to:autocrypt:content-language :from:references:cc:to:subject:user-agent:mime-version:date :message-id:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=Cv0AI/b1odvLE+AhRLmvv5H7czKoKi7BkIce1JHpqnU=; b=FSj0e+WZHgYtgcFWm7Oh9sZRzW3b9+bhKJdYpiuOeIRvt67ybecvSZ/fhDO9TGusuf p1EsVE9LKPQ3zaaJoL6U3Gb3oCuHai69K5aGPw2++lVwPH4QiP2Y9yRQnnLvBU5FtWN+ tQn4yPxkBmtzGIqlhEMS3WTe7tX2VQqRdxfMVwga61bISigrBGqRKTYXdYhMXD8/BbEw gg8hQ2++Nra5vH9u2ji667k5ZAsA//q2IrGm4+asQA9XmjauS+J2hw9jlCCx415klpwr yn0gIReCaw+VRzKpi3XE7p6DBBERa+v2DE8ZLX3y3jR/n0TIRDQPS0JrwrlWmaz6ZNAm U93Q== X-Forwarded-Encrypted: i=1; AJvYcCWRPQgdBFG7tnHDmKordEArVL69A3zZ4Wh8srfyfxGbilsp7+9Wkv7lHvN3Qz4GAViVS0YWeVK6PrYSCeyX@lists.postgresql.org X-Gm-Message-State: AOJu0YwtJBhaC7EWRlL4WBTtoyDHZzajWQXqRuoR6SFsQlzOjonalz4a rYfTuHOY+POume3EUQn9+i2dd/lepZhmQlFR++KaC8mENnQucX39YhTqsk+zKrUMz3A= X-Gm-Gg: AeBDiet3RQ40uqHDT7yefZWqiuKEXUeIjgl3MYtPlGdTUyl8Somv9gRYAEzjRve5dj2 3hLAY64XZsYLkG20+Lc7la8dtZVQsL1jhLBYB4UM/X868KaxrbIbvKTGJCfz04L7fiz8rNelPWe zWKQlQTI6cPmIVS4jCxVjxQEeLLuRUFJJe4MqBsAPSlFZd607r8pN71KOIguOC49OwTbpDJw9IK vi18VdLWsriPbSR3u4vdK0fl7i2r2AiVNksLlkRsp61k7dp3tIy8R7HgAD+TIVbsKHwmPi/o+Y8 5rJjDvnzq9qZ0Wt67SpJJ13pz64YiHkRg7su7b4wRIPP7kIfp+tz31g99fFKEQpHgL/2fQBb52U 0YJPG1pHIM/W2dG4UOVZJ7d9mOVK0qVF4YcStE1MDVyEuPajZ5I4UqPypf/dWphsidR86QRZPsP 8cYeehxmyVEqGe+78uOMyxCF/ca+/ZeA== X-Received: by 2002:a05:6122:1d90:b0:56a:e25f:fc87 with SMTP id 71dfb90a1353d-56f274e4158mr142991e0c.7.1775661277725; Wed, 08 Apr 2026 08:14:37 -0700 (PDT) Received: from ?IPV6:2605:a601:a6b0:500::1cb? ([2605:a601:a6b0:500::1cb]) by smtp.googlemail.com with ESMTPSA id 71dfb90a1353d-56d9babf3e6sm20389427e0c.6.2026.04.08.08.14.36 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 08 Apr 2026 08:14:37 -0700 (PDT) Message-ID: Date: Wed, 8 Apr 2026 11:14:35 -0400 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Enable -Wstrict-prototypes and -Wold-style-definition by default To: Peter Eisentraut , Tom Lane , 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> <2515f85a-217c-416e-b87e-7c480c4e1c5b@eisentraut.org> From: Andrew Dunstan Content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CPPXXY7h9R7en3B8BoVrRFcdzlIY/NFN hFGW/9dkEiGjgna2Rk6e15kln4ZvFBWUg23p93w/pqXcxY6+k/8TEk+C4R+M6w7o2PLGOjdZ +kPiUcw5H85zf/yZJwQXzisXaNduwWB6Vads9YC9dj6kPR1c4VGRqAaYL++LAEOqrlvm2Tvq QqZRtnEAEQEAAcLAfAQYAQgAJgIbDBYhBOQ+WEYd/Hy/RGkVpZn6f8tZ/DuBBQJoGNI2BQkd EODdAAoJEJn6f8tZ/DuBfw0IAKTsfD40teP/pp+bsLLMSxPXUYrrprTj7WFB5v61p6dkpSr/ qXmMlyahdxQFaPmfVgVirB1Vk/kHiWNnnGjfUV9nB2Zg9LI0Xb9/ts3LsUiRWXzG3tkMY6XL vsVOxW4XFRND9l2q+WW93aZ1DZl+fqWfYgMvsusFRhmGFOKTRfKPta2Pkv+AhA24N4+PrR5p bU4k2MO8PAGiK8eaYKGFG1bHKuAvoDoF7WXJ3FHxuWqLnKEt4dfOLm5pAe3zq1Lt6q8azT9i QWGpSAK5vQUWQHBHpiDjdPeqKZ6HiAXIIKfSmb+jrvXBqoP+D6/K7rUjG2aXiRtTIAXms9sm VRu7cmw= In-Reply-To: <2515f85a-217c-416e-b87e-7c480c4e1c5b@eisentraut.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 2026-04-08 We 8:51 AM, Peter Eisentraut wrote: > 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. drongo is updated cheers andrew -- Andrew Dunstan EDB: https://www.enterprisedb.com