This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/18610] bad error message
- From: "bangerth at dealii dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 22 Nov 2004 15:05:53 -0000
- Subject: [Bug c++/18610] bad error message
- References: <20041122143408.18610.kunert@physik.tu-dresden.de>
- Reply-to: gcc-bugzilla at gcc dot gnu 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
set is empty but that there are functions of the same name that aren't
viable has been discussed in at least one other PR already.
W.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18610