Re: pgsql: Make pg_bsd_indent's .h files inclusion-order-safe.

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: pgsql: Make pg_bsd_indent's .h files inclusion-order-safe.
Дата
Msg-id 969565.1676241050@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: pgsql: Make pg_bsd_indent's .h files inclusion-order-safe.  (Andres Freund <andres@anarazel.de>)
Список pgsql-committers
Andres Freund <andres@anarazel.de> writes:
> Obviously that approach could be re-implemented for CI, but givent that it
> additionally is somewhat required to make use of headerscheck/cpluspluscheck
> locally, it feels better to solve it in headerscheck. And the easiest way for
> that seems to be -Werror?

Agreed --- although right now, headerscheck goes out of its way to be
agnostic about what compiler and cflags are used.  Having it assume
that -Werror will work seems a bit ugly.  Not sure that it's a problem
in practice though.

(BTW, we'll have to fix these scripts sometime to work in non-Make
builds.)

            regards, tom lane



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

Предыдущее
От: Andres Freund
Дата:
Сообщение: Re: pgsql: Make pg_bsd_indent's .h files inclusion-order-safe.
Следующее
От: Michael Paquier
Дата:
Сообщение: pgsql: Mark more nodes with attribute no_query_jumble