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: [PATCH] -Wredundant-decls, do not warn for static forward decl


On Thu, Sep 01, 2005 at 10:54:31AM +0000, Joseph S. Myers wrote:
> On Wed, 31 Aug 2005, Craig Rodrigues wrote:
> > Based on this feedback, I want to change my patch as follows:
> > 
> > 	* c-decl.c (diagnose_mismatched_decls):  With -Wredundant-decls,
> > 	do not issue warning for a variable definition following
> > 	a declaration.
> 
> This version and associated testcase are OK for mainline.

Mark,

I'd really like to see this be fixed in GCC 4.0 also.
May I commit it to the GCC 4.0 branch?
 
-- 
-- David  (obrien@FreeBSD.org)


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