From: Tom Lane <tgl@sss.pgh.pa.us>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Improve coverage of cpluspluscheck.
Date: Fri, 31 May 2019 20:32:13 +0000
Message-ID: <E1hWoCD-0000wC-A9@gemulon.postgresql.org> (raw)
Improve coverage of cpluspluscheck.
Formerly, cpluspluscheck was only meant to examine headers that
we thought of as exported --- but its notion of what we export
was well behind the times. Let's just make it check *all* .h
files, except for a well-defined blacklist, instead.
While at it, improve its ability to use a C++ compiler other than g++,
by scraping the CXX setting from Makefile.global and making it possible
to override the warning options used (per suggestion from Andres Freund).
Discussion: https://postgr.es/m/b517ec3918d645eb950505eac8dd434e@gaz-is.ru
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/6f54b80edd88abd5665aa12fbcf10f846dd80939
Modified Files
--------------
src/tools/pginclude/cpluspluscheck | 144 +++++++++++++++++++++++++++++--------
1 file changed, 116 insertions(+), 28 deletions(-)
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: tgl@sss.pgh.pa.us
Subject: Re: pgsql: Improve coverage of cpluspluscheck.
In-Reply-To: <E1hWoCD-0000wC-A9@gemulon.postgresql.org>
References: <E1hWoCD-0000wC-A9@gemulon.postgresql.org>
* 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