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: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 22 Nov 2004 14:44:46 -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 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