pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
To: Andres Freund <andres@anarazel.de>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: David Steele <david@pgmasters.net>
Cc: pgsql-hackers@lists.postgresql.org
Subject: Re: C99 compliance for src/port/snprintf.c
Date: Thu, 16 Aug 2018 14:26:07 +0200
Message-ID: <c3bf36b8-62e8-373b-e9b0-f401ff88d77d@2ndquadrant.com> (raw)
In-Reply-To: <20180816111859.n6vtt322jpjwflij@alap3.anarazel.de>
References: <11138.1534349838@sss.pgh.pa.us>
	<dd48e765-9afe-4695-b2f4-f3cc0c1218e0@2ndQuadrant.com>
	<20825.1534360737@sss.pgh.pa.us>
	<e452e970-cf80-6e7e-17c1-24730a5c9ca9@pgmasters.net>
	<2069.1534363063@sss.pgh.pa.us>
	<20180815214931.vlwsz4s55enbppna@alap3.anarazel.de>
	<9877.1534371239@sss.pgh.pa.us>
	<20180815222401.kxsupl5zie2jgi4x@alap3.anarazel.de>
	<10675.1534372270@sss.pgh.pa.us>
	<20180816084134.sqggeatubeufpc2r@alap3.anarazel.de>
	<20180816111859.n6vtt322jpjwflij@alap3.anarazel.de>

On 16/08/2018 13:18, Andres Freund wrote:
>   checking for ccache gcc option to accept ISO C99... unsupported
> 
>   I suspect that's because of the '-ansi' flag in CFLAGS, not because
>   the compiler is incapable of actually supporting C99.

-ansi is equivalent to -std=c90.  If we make the switch, the build farm
configuration should just probably replace -ansi with -std=c99.

-- 
Peter Eisentraut              http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services




view thread (46+ messages)  latest in thread

Message-ID: <c3bf36b8-62e8-373b-e9b0-f401ff88d77d@2ndquadrant.com>
Permalink:  ../c3bf36b8-62e8-373b-e9b0-f401ff88d77d@2ndquadrant.com/
Also on:    postgresql.org/message-id/c3bf36b8-62e8-373b-e9b0-f401ff88d77d@2ndquadrant.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-hackers@postgresql.org
  Cc: peter.eisentraut@2ndquadrant.com, andres@anarazel.de, tgl@sss.pgh.pa.us, david@pgmasters.net, pgsql-hackers@lists.postgresql.org
  Subject: Re: C99 compliance for src/port/snprintf.c
  In-Reply-To: <c3bf36b8-62e8-373b-e9b0-f401ff88d77d@2ndquadrant.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox