http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44513
Nicola Pero <nicola at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |FIXED
--- Comment #2 from Nicola Pero <nicola at gcc dot gnu.org> 2011-01-17 23:51:49
UTC ---
> In this context, I would prefer the traditional GCC error message ("too few
> arguments"), which is a simple, clear summary of the problem.
Except that older GCCs still generated 4 errors here, so I'm whining about
nothing. ;-)
test4.c: In function ‘foo’:
test4.c:5: warning: format ‘%d’ expects type ‘int’, but argument 2 has type
‘double’
test4.c:5: warning: format ‘%f’ expects type ‘double’, but argument 3 has type
‘int’
test4.c:5: warning: format ‘%d’ expects type ‘int’, but argument 4 has type
‘double’
test4.c:5: warning: too few arguments for format
Anyway, I'll resolve it as it's been implemented in 4.6.
Thanks