[Bug c/37768] bogus warnings on x86_64-mingw32 due to attribute((format(printf))) breakage
mikpe at it dot uu dot se
gcc-bugzilla@gcc.gnu.org
Thu Oct 9 07:05:00 GMT 2008
------- Comment #2 from mikpe at it dot uu dot se 2008-10-09 07:04 -------
> > The program below illustrates the issue. It declares a private C99-compliant
> > snprintf() implementation and invokes it with "%zu" and "%llx" formats. This
> > triggers the following bogus warnings on x86_64-pc-mingw32:
>
> Use gnu_printf for such an implementation.
Thanks. Using gnu_printf (new in 4.4) solves the issues I had.
--
mikpe at it dot uu dot se changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37768
More information about the Gcc-bugs
mailing list