[Bug c++/12735] New: duplicate error messages for redeclaration errors

rth at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Wed Oct 22 21:12:00 GMT 2003


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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

           Summary: duplicate error messages for redeclaration errors
           Product: gcc
           Version: 3.4
            Status: UNCONFIRMED
          Severity: minor
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: rth at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org

For g++.old-deja/g++.jason/binding.C,

z.c:11: redeclaration of `T t'
z.c:9: `T t' previously declared here
z.c:11: declaration of `T t'
z.c:9: conflicts with previous declaration `T t'

Why do we give the same error message twice?



More information about the Gcc-bugs mailing list