This is the mail archive of the gcc-patches@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: -Wunused-macros


> 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


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