C++ PATCH: remove c-common decls from cp-tree.h

Kaveh R. Ghazi ghazi@caip.rutgers.edu
Tue Jan 2 15:49:00 GMT 2001


 > From: Jason Merrill <jason@redhat.com> 
 > 
 > Since these are declared in c-common.h, having them here is wrong.
 > There ought to be a warning for this sort of redundancy.

I think -Wredundant-decls does what you want.

IIRC, last time I tried it on gcc itself I got so many overlapping
decls I didn't even begin to clean it up.  But we can revisit it now
if you like.

--
Kaveh R. Ghazi			Engagement Manager / Project Services
ghazi@caip.rutgers.edu		Qwest Internet Solutions


More information about the Gcc-patches mailing list