This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/33041] g++ incorrectly resolves an identically named templated struct in a super class
- From: "bangerth at dealii dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 8 Sep 2007 23:33:39 -0000
- Subject: [Bug c++/33041] g++ incorrectly resolves an identically named templated struct in a super class
- References: <bug-33041-6066@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from bangerth at dealii dot org 2007-09-08 23:33 -------
I don't know whether gcc's result is correct or not (I suspect it is)
but here's two more data points:
- icc produces the same output
- Sun Studio produces the following compiler output:
----------
g/x> ~/bin/sunstudio-2007-03/bin/CC x.cc
"x.cc", line 17: Error: foo is not a member of foo<int>.
"x.cc", line 17: Error: Badly formed expression.
2 Error(s) detected.
----------
--
bangerth at dealii dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |bangerth at dealii dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33041