how to warn on unused preprocessor defines...

Andrew Bell
Fri Jan 11 15:43:00 GMT 2008

On Jan 10, 2008 1:51 PM, charlie <> wrote:
> How can I tell gcc/cpp to warn on (or in some other way point out)
> unused preprocessor defines?

Comment them out and see if the compiler complains.

Andrew Bell

More information about the Gcc-help mailing list