-Wunused-macros

Kaveh R. Ghazi ghazi@caip.rutgers.edu
Tue Jul 23 18:40:00 GMT 2002


 > From: Neil Booth <neil@daikokuya.co.uk>
 > 
 > Kaveh R. Ghazi wrote:-
 > 
 > > Warning noise is a problem we should avoid.  If we can't silence them
 > > then I would rather not put these in -Wall.
 > 
 > It's easy to shut up, if you're willing to add a meaningless
 > 
 > #if defined A || defined B || ...
 > #endif
 > 
 > Some are just scoping issues which could be fixed; others would probably
 > have to be worked around like this (but I've not looked in detail).
 > Neil.

On occasion, I get resistance to uglifying code for the sake of
warnings.  However this doesn't appear to be too bad.  If it's only
necessary mainly for the YACC files, I think this can probably go in
-Wall.

--
Kaveh R. Ghazi			Director of Systems Architecture
ghazi@caip.rutgers.edu		Qwest Solutions



More information about the Gcc-patches mailing list