[kwlug disc.] static code checker for detecting unreferenced
header files?
Chris Bruner
cbruner at quadro.net
Fri Mar 9 14:39:46 EST 2007
Robert P. J. Day wrote:
> is there a static code checker for scanning a directory structure of
> C/header files and detecting header files that are simply not being
> included from *anywhere* in the tree?
>
> i've looked briefly at gcc's options, and splint, and nothing jumps
> out at me, but maybe i just missed it. thanks.
>
> rday
Doesn't madedepend do something like that. You'd need to set up your
file structure in the makefile, for the files that you do want to
include, but any that it can't find it will give a report on.
More information about the KWLUG-Disc
mailing list