------- Comment #1 from manu at gcc dot gnu dot org  2008-08-21 16:01 -------
This is fixed in GCC 4.4

~/139373M/build/gcc/cc1 -Werror -Wredundant-decls -Wno-error=redundant-decls
test.c
test.c:2: warning: redundant redeclaration of ‘optarg’
test.c:1: note: previous declaration of ‘optarg’ was here


Since this is not a regression, there are no plans to backport the fix (which
is not trivial anyway).


-- 

manu at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |manu at gcc dot gnu dot org
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|---                         |4.4.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37190

Reply via email to