This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/12735] [3.3/3.4 regression] duplicate error messages for redeclaration errors
- From: "gdr at integrable-solutions dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 22 Oct 2003 21:26:41 -0000
- Subject: [Bug c++/12735] [3.3/3.4 regression] duplicate error messages for redeclaration errors
- References: <20031022211205.12735.rth@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
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
------- Additional Comments From gdr at integrable-solutions dot net 2003-10-22 21:26 -------
Subject: Re: [3.3/3.4 regression] duplicate error messages for redeclaration errors
"bangerth at dealii dot org" <gcc-bugzilla@gcc.gnu.org> writes:
| Confirmed. Interesting that we issue two _different_ error messages for
| the same error! (This implies that we get them from two different
| places, maybe in different phases of parsing.)
I'm almost certain that this is because we have too many name lookup
codes that all try to do many things -- there is even a code
documented as not issueing error, but does error :-)
-- Gaby