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


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