Instantly share code, notes, and snippets.
This command examines source files from the current directory down, showing preprocessor use that you should double-check.
See "9 Code Smells of Preprocessor Use" http://qualitycoding.org/preprocessor/
You might want to exclude 'include' statements in your script as well. Legacy C code will trigger false positives otherwise.
EDIT: Oh duh, just read the first point about preprocessor smells, but legacy code gets a pass.