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++/12735] [3.3/3.4 regression] duplicate error messages for redeclaration errors


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


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