pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Thomas Munro <thomas.munro@enterprisedb.com>
Cc: Andres Freund <andres@anarazel.de>
Cc: David Steele <david@pgmasters.net>
Cc: PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Subject: Re: C99 compliance for src/port/snprintf.c
Date: Wed, 15 Aug 2018 19:00:50 -0400
Message-ID: <17312.1534374050@sss.pgh.pa.us> (raw)
In-Reply-To: <CAEepm=0VJni=K_dAyh84p0hHZ8DNS5Si49eqO_CsoRXoTjcxhw@mail.gmail.com>
References: <CA+TgmoYvHzFkwChsamwbBrLNJRcRq+fyTwveFaN_YOWUsRnfpw@mail.gmail.com>
	<11138.1534349838@sss.pgh.pa.us>
	<dd48e765-9afe-4695-b2f4-f3cc0c1218e0@2ndQuadrant.com>
	<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>
	<20180815224026.a7oe4h72k6z5kvbo@alap3.anarazel.de>
	<CAEepm=0VJni=K_dAyh84p0hHZ8DNS5Si49eqO_CsoRXoTjcxhw@mail.gmail.com>

Thomas Munro <thomas.munro@enterprisedb.com> writes:
> Really?  I am not an MSVC user but I had the impression that their C
> mode (/TC or files named .c) was stuck on C89/C90 as a matter of
> policy, as Herb Sutter explained here (though maybe the situation has
> changed since then):

> https://herbsutter.com/2012/05/03/reader-qa-what-about-vc-and-c99/

Hm, I read that and what it says is that they don't plan to support
C99 features that aren't also in C++.  But this one surely is.

How you turn it on (without enabling all of C++) is not very clear
though.

			regards, tom lane




view thread (46+ messages)  latest in thread

Message-ID: <17312.1534374050@sss.pgh.pa.us>
Permalink:  ../17312.1534374050@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/17312.1534374050@sss.pgh.pa.us

 · 

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-hackers@postgresql.org
  Cc: tgl@sss.pgh.pa.us, thomas.munro@enterprisedb.com, andres@anarazel.de, david@pgmasters.net, pgsql-hackers@lists.postgresql.org
  Subject: Re: C99 compliance for src/port/snprintf.c
  In-Reply-To: <17312.1534374050@sss.pgh.pa.us>

* 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