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

Поиск
Список
Период
Сортировка
От Andres Freund
Тема Re: pgsql: Make pg_bsd_indent's .h files inclusion-order-safe.
Дата
Msg-id 20230212222141.hsrabsjgzksfuq77@awork3.anarazel.de
обсуждение исходный текст
Ответ на Re: pgsql: Make pg_bsd_indent's .h files inclusion-order-safe.  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: pgsql: Make pg_bsd_indent's .h files inclusion-order-safe.  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-committers
Hi,

On 2023-02-12 16:25:28 -0500, Tom Lane wrote:
> Andres Freund <andres@anarazel.de> writes:
> > On February 12, 2023 1:11:08 PM PST, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> >> I don't think -Werror helps any though; it's a matter of whether the
> >> cfbot is paying attention to headerscheck's exit status ...
> 
> > Thomas fixed that part a while ago, but it'll just return 0 if it just is a warning...
> 
> Hmm, but why'd the buildfarm complain then? ... oh, because it checks
> for nonempty output as well as nonzero exit status.

Right.

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?

Greetings,

Andres Freund



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: 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.