[Bug c++/16128] Diagnostic of missing argument list within functions

giovannibajo at libero dot it gcc-bugzilla@gcc.gnu.org
Tue Jun 22 10:46:00 GMT 2004


------- Additional Comments From giovannibajo at libero dot it  2004-06-22 10:46 -------
I have fixed this already for GCC 3.5.0. We now get this message for the first 
two lines:

pr16128.cc:10: error: invalid use of template-name `A' without an argument list
pr16128.cc:11: error: invalid use of template-name `H::B' without an argument 
list

I'm interested in checking why the message within the function is different 
though, and to remove the redundant error about the semicolon. But I have other 
patches in queue, so it may take me a little while.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |enhancement
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
           Keywords|                            |diagnostic
   Last reconfirmed|0000-00-00 00:00:00         |2004-06-22 10:46:54
               date|                            |
            Summary|poor diagnostic             |Diagnostic of missing
                   |                            |argument list within
                   |                            |functions


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



More information about the Gcc-bugs mailing list