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

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

Previous
From: Andres Freund
Date:
Subject: Re: pgsql: Make pg_bsd_indent's .h files inclusion-order-safe.
Next
From: Michael Paquier
Date:
Subject: pgsql: Mark more nodes with attribute no_query_jumble