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

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Do not use C++ style comments (// comments). Strict ANSI C compilers do not accept them.
Дата
Msg-id 6127.1569363193@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Do not use C++ style comments (// comments). Strict ANSI Ccompilers do not accept them.  (Peter Eisentraut <peter.eisentraut@2ndquadrant.com>)
Ответы Re: Do not use C++ style comments (// comments). Strict ANSI Ccompilers do not accept them.  (Peter Eisentraut <peter.eisentraut@2ndquadrant.com>)
Список 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



В списке pgsql-docs по дате отправления:

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: Do not use C++ style comments (// comments). Strict ANSI Ccompilers do not accept them.
Следующее
От: Renee
Дата:
Сообщение: Re: I'm surprised to see the word master here