Re: C99 compliance for src/port/snprintf.c

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: C99 compliance for src/port/snprintf.c
Дата
Msg-id 17667.1534356548@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: C99 compliance for src/port/snprintf.c  (David Steele <david@pgmasters.net>)
Список pgsql-hackers
David Steele <david@pgmasters.net> writes:
> On 8/15/18 12:17 PM, Tom Lane wrote:
>> Robert Haas <robertmhaas@gmail.com> writes:
>>> Personally, I'd prefer to
>>> continue avoiding // comments and intermingled declarations of
>>> variables and code on grounds of style and readability.

>> ... which I agree with.

> We already have -Wdeclaration-after-statement to prevent mixed
> declarations.  Not sure what to do about comments except manual enforcement.

pgindent will change // comments to /* style, so at least on the timescale
of a release cycle, we have enforcement for that.

            regards, tom lane


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: C99 compliance for src/port/snprintf.c
Следующее
От: Andrew Dunstan
Дата:
Сообщение: Re: C99 compliance for src/port/snprintf.c