Re: Windows vs C99 (was Re: C99 compliance for src/port/snprintf.c)

From: Andrew Dunstan <andrew(dot)dunstan(at)2ndquadrant(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Andres Freund <andres(at)anarazel(dot)de>, Sandeep Thakkar <sandeep(dot)thakkar(at)enterprisedb(dot)com>, Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)com>, "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com>, Thomas Munro <thomas(dot)munro(at)enterprisedb(dot)com>, David Steele <david(at)pgmasters(dot)net>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>, Craig Ringer <craig(at)2ndquadrant(dot)com>
Subject: Re: Windows vs C99 (was Re: C99 compliance for src/port/snprintf.c)
Date: 2018-08-24 19:10:02
Message-ID: d274e365-a0e8-3820-f970-62e76f935a17@2ndQuadrant.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-www

On 08/24/2018 02:36 PM, Tom Lane wrote:
> Andrew Dunstan <andrew(dot)dunstan(at)2ndquadrant(dot)com> 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.
>
>

Ah. Ok. Then your answer is good.

cheers

andrew

--
Andrew Dunstan https://www.2ndQuadrant.com
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2018-08-24 19:25:31 Re: libpq host/hostaddr/conninfo inconsistencies
Previous Message Tom Lane 2018-08-24 18:46:39 Re: Accidental removal of a file causing various problems

Browse pgsql-www by date

  From Date Subject
Next Message Andrew Dunstan 2018-08-24 19:42:33 Re: Windows vs C99 (was Re: C99 compliance for src/port/snprintf.c)
Previous Message Tom Lane 2018-08-24 18:38:28 Re: Windows vs C99 (was Re: C99 compliance for src/port/snprintf.c)