[Bug c/106039] Inconsistent error reporting for printf() when format string is a macro

jonathan.leffler at gmail dot com gcc-bugzilla@gcc.gnu.org
Tue Jun 21 00:47:16 GMT 2022


--- Comment #1 from Jonathan Leffler <jonathan.leffler at gmail dot com> ---
Created attachment 53177
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53177&action=edit
Close to minimal source (4 format strings; 4 printf statements; some comments)

Close to minimal source code. It has 4 format strings and 4 printf statements
where 1 of each would be minimal.  It has some comments about changes that
'fix' the error reporting.

More information about the Gcc-bugs mailing list