Re: Do not use C++ style comments (// comments). Strict ANSI C compilers do not accept them.

Anders Åstrand <[email protected]> Mon, 30 Sep 2019 11:18:46 +0200
Newsgroups gmane.comp.db.postgresql.devel.documentation
Message-ID <[email protected]>
Thanks for your attention! That sentence made me believe the style guide was outdated, but then I found fairly recent posts referring to it and got confused.

On Sep 26, 2019 10:53, Peter Eisentraut <[email protected]> wrote:

On 2019-09-25 00:13, Tom Lane wrote:&#13;

> Peter Eisentraut <[email protected]> writes:&#13;

>> PostgreSQL 12 requires C99, so those guidelines should probably be&#13;

>> rephrased from "because old compilers don't accept it" to "because we&#13;

>> like it that way".&#13;

> &#13;

> Yeah, or more formally "to encourage consistent coding style".&#13;

&#13;

fixed&#13;

&#13;

-- &#13;

Peter Eisentraut http://www.2ndQuadrant.com/&#13;

PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services&#13;