pg.ddx.io  pgsql-www@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andres Freund <andres@anarazel.de>
To: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Cc: 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 05:30:50 -0700
Message-ID: <20180816123050.2hk6ppwe2ij3dxpg@alap3.anarazel.de> (raw)
In-Reply-To: <c3bf36b8-62e8-373b-e9b0-f401ff88d77d@2ndquadrant.com>
References: <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>
	<c3bf36b8-62e8-373b-e9b0-f401ff88d77d@2ndquadrant.com>

Hi,

On 2018-08-16 14:26:07 +0200, Peter Eisentraut wrote:
> 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.

Right. I just hadn't checked the addition of -std=c99 doesn't override
the -ansi. Presumably just an ordering thing.

Greetings,

Andres Freund




view thread (46+ messages)  latest in thread

Message-ID: <20180816123050.2hk6ppwe2ij3dxpg@alap3.anarazel.de>
Permalink:  ../20180816123050.2hk6ppwe2ij3dxpg@alap3.anarazel.de/
Also on:    postgresql.org/message-id/20180816123050.2hk6ppwe2ij3dxpg@alap3.anarazel.de

 · 

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-www@postgresql.org
  Cc: andres@anarazel.de, peter.eisentraut@2ndquadrant.com, 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: <20180816123050.2hk6ppwe2ij3dxpg@alap3.anarazel.de>

* 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