Create a tool to catch #include omissions that might not result in any
Tom Lane <tgl@sss.pgh.pa.us>
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
| Path | Change | +/− |
|---|---|---|
| src/tools/pginclude/pgcheckdefines | added | +240 −0 |
| src/tools/pginclude/README | modified | +6 −0 |