Re: how to warn on unused preprocessor defines...

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




There are hundreds of them that are suspect. (project inherited from someone else who went a little crazy with the #defines... #defines we will never ever use)

That's the problem.  I want the compiler to help me out a little.

Thanks.

- chuck



On January 10, 2008, Andrew Bell wrote:

On Jan 10, 2008 1:51 PM, charlie <uber@xxxxxxxx> 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
andrew.bell.ia@xxxxxxxxx



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux