http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48934

--- Comment #12 from Jonathan Wakely <redi at gcc dot gnu.org> 2011-05-09 
19:13:45 UTC ---
(In reply to comment #11)
> 
> foo.C:blahblah: error: no matching function for call to foo
> foo.C:blahblah: note: candidate is foo(blahblah)
> foo.c:blahblah: note:   substitution failed for parameter `F'
> 
> At least, that's what I understood Jonathan asking for--perhaps he
> wanted something more detailed about why substitution failed, which is a
> debate for another time, I think.

I would love to get more information, but I'd be very happy with the diagnostic
above (that's already better than I'd get from any compiler I've tried)

This PR is really just to get *anything* printed, so just a basic "substition
failed" with no mention of which template parameter failed would be enough to
resolve this IMHO.

Improving on that would be a nice-to-have, for a later date.

Reply via email to