This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: how to warn on unused preprocessor defines...
- From: "Andrew Bell" <andrew dot bell dot ia at gmail dot com>
- To: uber at juun dot com
- Cc: gcc-help at gcc dot gnu dot org
- Date: Thu, 10 Jan 2008 13:57:33 -0600
- Subject: Re: how to warn on unused preprocessor defines...
- References: <200801101951.m0AJpPgf002429@rs34.luxsci.com>
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