------- 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<int>) g(a );
Adding "void g(int i);" I get: "ComeauTest.c", line 19: error: no instance of overloaded function "g" matches the argument list The argument types that you used are: (F<int>) g(a ); ^ In my mind the error message which Comeau gives is almost the same as ours. -- What |Removed |Added ---------------------------------------------------------------------------- Severity|normal |enhancement Keywords| |diagnostic http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18610