From: Andres Freund <andres@anarazel.de>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-committers@lists.postgresql.org
Subject: Re: pgsql: Make pg_bsd_indent's .h files inclusion-order-safe.
Date: Sun, 12 Feb 2023 14:21:41 -0800
Message-ID: <20230212222141.hsrabsjgzksfuq77@awork3.anarazel.de> (raw)
In-Reply-To: <962481.1676237128@sss.pgh.pa.us>
References: <E1pRGkY-000mgl-AI@gemulon.postgresql.org>
<F9E5BF47-8ADE-40EE-912C-E1DC6C19B2BF@anarazel.de>
<960944.1676236268@sss.pgh.pa.us>
<3A6C72BD-50D3-4B8B-B614-CDE83E7E1FBC@anarazel.de>
<962481.1676237128@sss.pgh.pa.us>
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-committers@postgresql.org
Cc: andres@anarazel.de, tgl@sss.pgh.pa.us
Subject: Re: pgsql: Make pg_bsd_indent's .h files inclusion-order-safe.
In-Reply-To: <20230212222141.hsrabsjgzksfuq77@awork3.anarazel.de>
References: <E1pRGkY-000mgl-AI@gemulon.postgresql.org> <F9E5BF47-8ADE-40EE-912C-E1DC6C19B2BF@anarazel.de> <960944.1676236268@sss.pgh.pa.us> <3A6C72BD-50D3-4B8B-B614-CDE83E7E1FBC@anarazel.de> <962481.1676237128@sss.pgh.pa.us> <20230212222141.hsrabsjgzksfuq77@awork3.anarazel.de>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox