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/28199] -Wmissing-format-attribute produces false positives on vprintf() like functions



------- Comment #2 from schwab at suse dot de  2006-06-29 11:42 -------
>From (gcc)Function Attributes:
     For functions where the
     arguments are not available to be checked (such as `vprintf'),
     specify the third parameter as zero.

void foo (const char *, va_list) __attribute__ ((format (printf, 1, 0)));


-- 

schwab at suse dot de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID


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


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