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++/33041] g++ incorrectly resolves an identically named templated struct in a super class



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


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