Create a tool to catch #include omissions that might not result in any

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 2d11d26113dd88072e09f92ad3f2032a27e4d8ce
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2006-07-15T03:27:42Z
Releases: 8.2.0
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.

Files

PathChange+/−
src/tools/pginclude/pgcheckdefines added +240 −0
src/tools/pginclude/README modified +6 −0