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

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)com>
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-24 22:13:13
Message-ID: 6127.1569363193@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs

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".

regards, tom lane

In response to

Responses

Browse pgsql-docs by date

  From Date Subject
Next Message Renee 2019-09-24 22:18:47 Re: I'm surprised to see the word master here
Previous Message Peter Eisentraut 2019-09-24 22:11:00 Re: Do not use C++ style comments (// comments). Strict ANSI C compilers do not accept them.