Re: C99 compliance for src/port/snprintf.c

From: Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)com>
To: Andres Freund <andres(at)anarazel(dot)de>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: David Steele <david(at)pgmasters(dot)net>, pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Re: C99 compliance for src/port/snprintf.c
Date: 2018-08-16 12:26:07
Message-ID: c3bf36b8-62e8-373b-e9b0-f401ff88d77d@2ndquadrant.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-www

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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 2018-08-16 12:28:25 Re: C99 compliance for src/port/snprintf.c
Previous Message Tomas Vondra 2018-08-16 12:24:38 Re: memory leak when serializing TRUNCATE in reorderbuffer

Browse pgsql-www by date

  From Date Subject
Next Message Peter Eisentraut 2018-08-16 12:28:25 Re: C99 compliance for src/port/snprintf.c
Previous Message Magnus Hagander 2018-08-16 11:53:47 Re: PG list descriptions