Re: Do not use C++ style comments (// comments). Strict ANSI Ccompilers do not accept them. - Mailing list pgsql-docs

From Peter Eisentraut
Subject Re: Do not use C++ style comments (// comments). Strict ANSI Ccompilers do not accept them.
Date
Msg-id 017eed62-8206-f2f9-a6e6-b59810b37def@2ndquadrant.com
Whole thread Raw
In response to Re: Do not use C++ style comments (// comments). Strict ANSI C compilers do not accept them.  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-docs
On 2019-09-25 00:13, Tom Lane wrote:
> 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".

fixed

-- 
Peter Eisentraut              http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services



pgsql-docs by date:

Previous
From: PG Doc comments form
Date:
Subject: Logical replication restriction documentation
Next
From: PG Doc comments form
Date:
Subject: default_tablespace and parallel queries