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]

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


 > 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

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