Re: Do not use C++ style comments (// comments). Strict ANSI C compilers do not accept them.
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Cc: andast@kth.se, pgsql-docs@lists.postgresql.org
Date: 2019-09-24T22:13:13Z
Lists: pgsql-docs
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
Commits
-
doc: Update note about source code formatting
- b4d615aaa1ec 12.0 landed
- 49e36e7901c6 13.0 landed