[Bug c/95130] GCC ignoring attribute(format(gnu_printf)) on printf in mingw

tomas.kalibera at gmail dot com gcc-bugzilla@gcc.gnu.org
Wed Dec 15 17:27:53 GMT 2021


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95130

--- Comment #3 from Tomas Kalibera <tomas.kalibera at gmail dot com> ---
Created attachment 52007
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52007&action=edit
Patch to ignore first format for builtins that have more than one

This patch for 10.3.0 instructs gcc to ignore the first format attribute for
functions that have multiple format attributes and are builtins with a format
attribute added by GCC.


More information about the Gcc-bugs mailing list