This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: C++ PATCH: remove c-common decls from cp-tree.h
- To: jason at redhat dot com
- Subject: Re: C++ PATCH: remove c-common decls from cp-tree.h
- From: "Kaveh R. Ghazi" <ghazi at caip dot rutgers dot edu>
- Date: Tue, 2 Jan 2001 18:48:38 -0500 (EST)
- Cc: gcc-patches at gcc dot gnu dot org
> 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