pgsql: Create a tool to catch #include omissions that might not result - Mailing list pgsql-committers

From tgl@postgresql.org (Tom Lane)
Subject pgsql: Create a tool to catch #include omissions that might not result
Date
Msg-id 20060715032742.7EC739FB734@postgresql.org
Whole thread Raw
List pgsql-committers
Log Message:
-----------
Create a tool to catch #include omissions that might not result in any
compiler warning, specifically #ifdef or #if defined tests on symbols
that are defined in a file not included.  The results are a bit noisy
and require care to interpret, but it's a lot better than no tool at all.

Modified Files:
--------------
    pgsql/src/tools/pginclude:
        README (r1.5 -> r1.6)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/tools/pginclude/README.diff?r1=1.5&r2=1.6)

Added Files:
-----------
    pgsql/src/tools/pginclude:
        pgcheckdefines (r1.1)

(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/tools/pginclude/pgcheckdefines?rev=1.1&content-type=text/x-cvsweb-markup)

pgsql-committers by date:

Previous
From: tgl@postgresql.org (Tom Lane)
Date:
Subject: pgsql: Fix misguided removal of access/tuptoaster.h inclusion, per Kris
Next
From: tgl@postgresql.org (Tom Lane)
Date:
Subject: pgsql: Fix some missing inclusions identified with new pgcheckdefines