[Bug c++/18610] bad error message

2011-09-21 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18610 --- Comment #8 from Jonathan Wakely 2011-09-21 14:48:34 UTC --- (In reply to comment #7) > (In reply to comment #6) > > N.B. that's even better than clang, as it tells you *why* substitution > > failed: > > the specialization Q is incomplete >

[Bug c++/18610] bad error message

2011-09-21 Thread manu at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18610 Manuel López-Ibáñez changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Bug c++/18610] bad error message

2011-09-21 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18610 --- Comment #6 from Jonathan Wakely 2011-09-21 13:11:47 UTC --- N.B. that's even better than clang, as it tells you *why* substitution failed: the specialization Q is incomplete

[Bug c++/18610] bad error message

2011-09-21 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18610 --- Comment #5 from Jonathan Wakely 2011-09-21 13:09:55 UTC --- But I think it can be considered fixed for 4.7 by Nathan's excellent work in giving reasons why candidate functions are not viable: t.cc: In function 'int f()': t.cc:17:9: error: no

[Bug c++/18610] bad error message

2011-09-21 Thread manu at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18610 Manuel López-Ibáñez changed: What|Removed |Added CC||manu at gcc dot gnu.org --- Comment

[Bug c++/18610] bad error message

2004-12-12 Thread lerdsuwa at gcc dot gnu dot org
-- What|Removed |Added Status|UNCONFIRMED |NEW Ever Confirmed||1 Last reconfirmed|-00-00 00:00:00 |2004-12-

[Bug c++/18610] bad error message

2004-11-22 Thread gdr at integrable-solutions dot net
--- Additional Comments From gdr at integrable-solutions dot net 2004-11-22 15:42 --- Subject: Re: bad error message "bangerth at dealii dot org" <[EMAIL PROTECTED]> writes: | I think the fact that we may print a message saying that the overload | set is empty but that there are func

[Bug c++/18610] bad error message

2004-11-22 Thread bangerth at dealii dot org
--- Additional Comments From bangerth at dealii dot org 2004-11-22 15:05 --- Substitution of the return type fails, so in your example there really is an empty set of overloads. That's what the compiler tells you. I think the fact that we may print a message saying that the overload

[Bug c++/18610] bad error message

2004-11-22 Thread pinskia at gcc dot gnu dot org
--- Additional Comments From pinskia at gcc dot gnu dot org 2004-11-22 14:44 --- With Comeau's C++ compiler I get: "ComeauTest.c", line 19: error: no instance of function template "g" matches the argument list The argument types that you used are: (F) g(a );