[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gcc
Subject:    Re: Dumping CPP symbol table stats
From:       Tom Tromey <tromey () redhat ! com>
Date:       2010-02-26 19:03:27
Message-ID: m37hpzom4g.fsf () fleche ! redhat ! com
[Download RAW message or body]

>>>>> "Victor" == Victor Norman <vnorman@calvin.edu> 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 show you the implementation of
a similar feature.

Tom
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic