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

From: Andres Freund <andres(at)anarazel(dot)de>
To: Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)com>
Cc: Sandeep Thakkar <sandeep(dot)thakkar(at)enterprisedb(dot)com>, Andrew Dunstan <andrew(dot)dunstan(at)2ndquadrant(dot)com>, "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, 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>
Subject: Re: Windows vs C99 (was Re: C99 compliance for src/port/snprintf.c)
Date: 2018-08-22 15:01:47
Message-ID: 20180822150147.jnpwwcsndqyf7xda@alap3.anarazel.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-www

Hi,

On 2018-08-22 16:56:15 +0200, Peter Eisentraut wrote:
> On 22/08/2018 14:02, Andres Freund wrote:
> > - do we want to make declarations at arbitrary points errors? It's
> > already a warning currently.
>
> While there are legitimate criticisms, it's a standard feature in C,
> C++, and many other languages, so I don't see what we'd gain by fighting it.

I personally don't really care - for C there's really not much of a
difference (contrast to C++ with RAII). But Robert and Tom both said
this would be an issue with moving to C99 for them. I don't want to hold
up making progress here by fighting over this issue.

Greetings,

Andres Freund

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Alexander Kukushkin 2018-08-22 15:01:56 Re: BUG #15346: Replica fails to start after the crash
Previous Message Peter Eisentraut 2018-08-22 14:56:15 Re: Windows vs C99 (was Re: C99 compliance for src/port/snprintf.c)

Browse pgsql-www by date

  From Date Subject
Next Message David Steele 2018-08-22 16:56:01 Re: Windows vs C99 (was Re: C99 compliance for src/port/snprintf.c)
Previous Message Peter Eisentraut 2018-08-22 14:56:15 Re: Windows vs C99 (was Re: C99 compliance for src/port/snprintf.c)