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

From Andres Freund
Subject Re: pgsql: Make pg_bsd_indent's .h files inclusion-order-safe.
Date
Msg-id 20230212222141.hsrabsjgzksfuq77@awork3.anarazel.de
Whole thread Raw
In response to Re: pgsql: Make pg_bsd_indent's .h files inclusion-order-safe.  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: pgsql: Make pg_bsd_indent's .h files inclusion-order-safe.
List 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 by date:

Previous
From: Tom Lane
Date:
Subject: Re: pgsql: Make pg_bsd_indent's .h files inclusion-order-safe.
Next
From: Tom Lane
Date:
Subject: Re: pgsql: Make pg_bsd_indent's .h files inclusion-order-safe.