https://gcc.gnu.org/bugzilla/show_bug.cgi?id=33041
Martin Sebor changed:
What|Removed |Added
Keywords||rejects-valid
Status|UNCONFIR
--- 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
--- 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
--- 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
--- 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