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

From: Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: andast(at)kth(dot)se, pgsql-docs(at)lists(dot)postgresql(dot)org
Subject: Re: Do not use C++ style comments (// comments). Strict ANSI C compilers do not accept them.
Date: 2019-09-26 08:53:43
Message-ID: 017eed62-8206-f2f9-a6e6-b59810b37def@2ndquadrant.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs

On 2019-09-25 00:13, Tom Lane wrote:
> Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)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

In response to

Responses

Browse pgsql-docs by date

  From Date Subject
Next Message PG Doc comments form 2019-09-26 12:38:24 default_tablespace and parallel queries
Previous Message PG Doc comments form 2019-09-25 14:43:19 Logical replication restriction documentation