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:-
 > 
 > > After all of your cleanups, how many of these warnings remain in the
 > > gcc bootstrap?
 > 
 > The code is now in CVS.  This is what I got for adding it to BOOT_CFLAGS
 > for stage2, for a C/ObjC/C++ build.  About 80% is YACC/LEX related,
 > the rest are not necessarily removable but fixable in some other way.
 > I'd not run it on cp/ or obj/ until now.
 > 
 >  > ../../gcc/gengtype-lex.c:127:1: warning: macro "yyless" is not used
 >  > [...]
 >  > cxxmain.c:308:1: warning: macro "PREPEND_BLANK" is not used
 > 
 > I wasn't sure whether the dwarf ones were informative, so I left them.
 > If they are informative, they should be commented out, otherwise they
 > should go.
 > 
 > I'll chase up some of the above with new patches.
 > Neil.

Thanks for the data.  Given there are ~200 remaining, I'd prefer if
you zapped them before putting it in -Wall...

		--Kaveh
--
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]