[Bug c++/33041] g++ incorrectly resolves an identically named templated struct in a super class

2016-05-07 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=33041 Martin Sebor changed: What|Removed |Added Keywords||rejects-valid Status|UNCONFIR

[Bug c++/33041] g++ incorrectly resolves an identically named templated struct in a super class

2009-12-23 Thread redi at gcc dot gnu dot org
--- Comment #4 from redi at gcc dot gnu dot org 2009-12-23 21:17 --- A recent 4.5.0 doesn't accept this: pr33041.cc: In function ‘int main()’: pr33041.cc:20:26: error: no match for ‘operator<<’ in ‘std::cout << foo::foo’ compilation terminated due to -Wfatal-errors. Adding some parenth

[Bug c++/33041] g++ incorrectly resolves an identically named templated struct in a super class

2007-09-08 Thread bangerth at dealii 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-2

[Bug c++/33041] g++ incorrectly resolves an identically named templated struct in a super class

2007-08-10 Thread matthijs at bomhoff dot nl
--- Comment #2 from matthijs at bomhoff dot nl 2007-08-10 13:58 --- (In reply to comment #1) > I think this is really PR 11764. It could have the same cause I guess. I figured it might not be the same, as foo is not really identical to foo. (Even though the names are the same, the templ

[Bug c++/33041] g++ incorrectly resolves an identically named templated struct in a super class

2007-08-10 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2007-08-10 13:21 --- I think this is really PR 11764. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33041