This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


On Jan 10, 2008 1:51 PM, charlie <uber@juun.com> 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@gmail.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]