Received: from malur.postgresql.org ([2a02:16a8:dc51::56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1ftGxM-0007LE-NI for pgsql-hackers@arkaria.postgresql.org; Fri, 24 Aug 2018 18:37:12 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1ftGxK-0005uV-0S for pgsql-hackers@arkaria.postgresql.org; Fri, 24 Aug 2018 18:37:10 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1ftGxJ-0005uO-Q0 for pgsql-hackers@lists.postgresql.org; Fri, 24 Aug 2018 18:37:09 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1ftGxH-00069M-BU for pgsql-hackers@lists.postgresql.org; Fri, 24 Aug 2018 18:37:09 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id w7OIaxVE022856; Fri, 24 Aug 2018 14:36:59 -0400 From: Tom Lane To: Andrew Dunstan cc: Andres Freund , Sandeep Thakkar , Peter Eisentraut , "Joshua D. Drake" , Thomas Munro , David Steele , PostgreSQL Hackers , Craig Ringer Subject: Re: Windows vs C99 (was Re: C99 compliance for src/port/snprintf.c) In-reply-to: References: <1d5946a3-aa85-a3ec-c8aa-b3e9b66dd5d9@commandprompt.com> <20180821204936.tqdmjolkoo2sv5og@alap3.anarazel.de> <303572b3-89a5-6177-d46a-e23b2b4d6caa@2ndQuadrant.com> <20180821232952.ixj6kgccoqcjp5gf@alap3.anarazel.de> <20180822120211.prl6uxspai4lahfs@alap3.anarazel.de> <20180823000905.fjthfohmczss4fiw@alap3.anarazel.de> <20180823013134.3h4j62eeiaibpgvo@alap3.anarazel.de> <20180824014434.qourppnik7bmsib6@alap3.anarazel.de> <20180824154623.i32aryx4bzfa4gxu@alap3.anarazel.de> Comments: In-reply-to Andrew Dunstan message dated "Fri, 24 Aug 2018 14:09:09 -0400" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <22854.1535135819.1@sss.pgh.pa.us> Date: Fri, 24 Aug 2018 14:36:59 -0400 Message-ID: <22855.1535135819@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Andrew Dunstan writes: > I saw Tom's answer, and it will work as far as it goes. But maybe we > should look at doing that in configure instead of putting the onus on > all buildfarm owners? It already knows if it's using a GNU compiler, not > sure how ubiquitous the -ansi and -std=c99 flags are. No, the only reason either of us are doing that is to force use of a flag that's different from what configure would select by default (which evidently is -std=gnu99 for gcc). Most buildfarm owners have no need to do anything. regards, tom lane