------- Comment #1 from pinskia at gcc dot gnu dot org  2010-02-20 06:25 -------
Confirmed.
The C front-end just emits:
t.c: In function ‘g’:
t.c:4:3: error: too many arguments to function ‘f’

While the C++ front-end emits:
t.c:1:5: error: too many arguments to function ‘int f(int)’
t.c:4:16: error: at this point in file


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   GCC host triplet|i486-linux-gnu              |
           Keywords|                            |diagnostic
   Last reconfirmed|0000-00-00 00:00:00         |2010-02-20 06:25:29
               date|                            |


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

Reply via email to