This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: -Wunused-macros
- From: Joern Rennecke <joern dot rennecke at superh dot com>
- To: Neil Booth <neil at daikokuya dot co dot uk>
- Cc: "Kaveh R. Ghazi" <ghazi at caip dot rutgers dot edu>, gcc-patches at gcc dot gnu dot org
- Date: Tue, 23 Jul 2002 23:38:08 +0100
- Subject: Re: -Wunused-macros
- Organization: SuperH UK Ltd.
> not expanded. Slightly pathological, I know, but consider
> #define foo
> #undef foo
> Here I report foo as unused, but if I use a hash table lookup to mark
I'd say that is sufficient reason not to want this warning for
-Wall or gcc bootstraps.
It is quite common to have une config file define a macro, and override
it in another config file.
--
--------------------------
SuperH
2430 Aztec West / Almondsbury / BRISTOL / BS32 4AQ
T:+44 1454 462330