Code Snippets - Perl
GCC / MSCL Precompiler Output Include Depths Mapper
Converts precompiler output to a kind-of depths map by creating a nice HTML page.Each included file is represented by a box that shows the included text after it has passed the precompilier.
This is great to check for weird compiler errors caused by un-terminated #ifdef blocks, macro definitions, multiple includes, include order problems, etc.
This handy little perlscript saved my day more than once.
Sample: sample.c [HTML] / Sample: generated output [HTML]
Sourcecode [HTML] / Sourcecode [Perl]
