From: Tom Lane <tgl@sss.pgh.pa.us>
To: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Cc: andast@kth.se
Cc: pgsql-docs@lists.postgresql.org
Subject: Re: Do not use C++ style comments (// comments). Strict ANSI C compilers do not accept them.
Date: Tue, 24 Sep 2019 18:13:13 -0400
Message-ID: <6127.1569363193@sss.pgh.pa.us> (raw)
In-Reply-To: <d0ecd3a3-3e90-1817-5921-19dc98d040a6@2ndquadrant.com>
References: <156924954640.1117.6309209869705522549@wrigleys.postgresql.org>
<d0ecd3a3-3e90-1817-5921-19dc98d040a6@2ndquadrant.com>
Peter Eisentraut <peter.eisentraut@2ndquadrant.com> writes:
> PostgreSQL 12 requires C99, so those guidelines should probably be
> rephrased from "because old compilers don't accept it" to "because we
> like it that way".
Yeah, or more formally "to encourage consistent coding style".
regards, tom lane
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-docs@postgresql.org
Cc: tgl@sss.pgh.pa.us, peter.eisentraut@2ndquadrant.com, andast@kth.se, pgsql-docs@lists.postgresql.org
Subject: Re: Do not use C++ style comments (// comments). Strict ANSI C compilers do not accept them.
In-Reply-To: <6127.1569363193@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