https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66601
Eric Gallager <egallager at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |redi at gcc dot gnu.org --- Comment #3 from Eric Gallager <egallager at gcc dot gnu.org> --- (In reply to Jonathan Wakely from comment #1) > Clang says: > > v.cc:7:5: error: no matching function for call to 'f' > f(1, 2, 3, 4); > ^ > v.cc:2:8: note: candidate template ignored: couldn't infer template argument > 'Y' > void f(X... x, Y y) { > ^ > 1 error generated. > > > EDG says: > > "v.cc", line 7: error: no instance of function template "f" matches the > argument list > argument types are: (int, int, int, int) > f(1, 2, 3, 4); > ^ Neither of these are particularly helpful either. At least, not as helpful as the additional note originally suggested.