This is the mail archive of the gcc-bugs@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]

[Bug c/37190] -Wredundant-decls -Wno-error=redundant-decls not working as expected



------- 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


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