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++/18610] bad error message


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


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