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: > Peter Eisentraut <[email protected]> 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