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


 > 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


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