Andres Freund <andres(at)anarazel(dot)de> writes:
> Attached is a small patch allowing cpluspluscheck to run from different
> directories. I needs the src and build directories for that,
> unsurprisingly.
No objection to changing this, but you could reduce the surprise
factor for existing workflows with a couple of defaults for the
arguments --- allow srcdir to default to "." and builddir to default
to the same as srcdir.
regards, tom lane