> "Victor" == Victor Norman writes:
Victor> I would like to tweak cpp to dump some usage stats from its symbol
Victor> table -- like dumping which #defines were not used at all, etc.
In addition to what Ian said, for this particular case, search for
warn_unused_macros in libcpp. That will s
Victor Norman writes:
> I would like to tweak cpp to dump some usage stats from its symbol
> table -- like dumping which #defines were not used at all, etc.
>
> I'm wondering if someone can help me figure out where in the code I
> would look to start to do this.
libcpp/identifiers.c
Ian
I would like to tweak cpp to dump some usage stats from its symbol
table -- like dumping which #defines were not used at all, etc.
I'm wondering if someone can help me figure out where in the code I
would look to start to do this.
(I know that I'll need to add a command-line argument, and I