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

Manuel López-Ibáñez <manu at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |diagnostic
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2012-04-17
                 CC|                            |manu at gcc dot gnu.org
     Ever Confirmed|0                           |1

--- Comment #3 from Manuel López-Ibáñez <manu at gcc dot gnu.org> 2012-04-17 
22:17:01 UTC ---
OK, I see that the warning is misleading, because it points to the call of
vsnprintf instead of pointing to vsnprintf_one.

ttest.c: In function ‘vsnprintf_one’:
ttest.c:826:5: warning: function might be possible candidate for ‘gnu_printf’
format attribute [-Wmissing-format-attribute]
     vsnprintf(self, 2, "%c", arglist);
     ^

Reply via email to