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>, Thomas Munro <thomas(dot)munro(at)enterprisedb(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, David Steele <david(at)pgmasters(dot)net>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: C99 compliance for src/port/snprintf.c
Date: 2018-08-16 12:28:25
Message-ID: ef986aa7-c7ca-ec34-19d9-fef38716b109@2ndquadrant.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-www

On 16/08/2018 01:06, Andres Freund wrote:
> So it looks like msvc 2013 might be the relevant requirement.

According to my research (completely untested in practice), you need
2010 for mixed code and declarations and 2013 for named initialization
of structs.

I wonder what raising the msvc requirement would imply for supporting
older Windows versions.

--
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 Andres Freund 2018-08-16 12:30:50 Re: C99 compliance for src/port/snprintf.c
Previous Message Peter Eisentraut 2018-08-16 12:26:07 Re: C99 compliance for src/port/snprintf.c

Browse pgsql-www by date

  From Date Subject
Next Message Andres Freund 2018-08-16 12:30:50 Re: C99 compliance for src/port/snprintf.c
Previous Message Peter Eisentraut 2018-08-16 12:26:07 Re: C99 compliance for src/port/snprintf.c