PatR
5224d85ad3
compile-time format checking
...
We've had a few pull requests fixing format/argument mismatches
lately. I did't notice when PRINTF_F(format_index,first_arg_index)
attribute use and the checking gcc and clang do with it got removed,
but that was very useful. Putting it back triggers a whole bunch
of "format string is not literal" warnings, but that's because
'-Wformat-nonliteral' was explicitly added to the *.2020 hints.
Checking pline/You/&c arguments in the cases where the format is a
literal is more valuable than the complaints for sprintf being fed
a generated format, so reinstate PRINTF_F usage and turn off the
check for non-literal format strings.
2021-11-26 21:50:44 -08:00
..
2021-08-21 07:59:18 -04:00
2021-01-03 13:37:25 -06:00
2021-02-07 22:25:25 -06:00
2020-10-14 09:25:45 -07:00
2021-08-21 07:59:18 -04:00
2020-08-03 22:07:36 -04:00
2020-08-03 22:07:36 -04:00
2020-08-03 22:07:36 -04:00
2021-07-24 17:52:47 -04:00
2021-08-21 07:59:18 -04:00
2021-02-08 00:11:07 -05:00
2020-08-03 22:07:36 -04:00
2021-10-28 12:55:32 -07:00
2021-10-24 18:04:57 -04:00
2020-08-03 22:07:36 -04:00
2021-10-11 13:36:10 -04:00
2021-01-26 21:06:16 -05:00
2021-10-16 12:12:21 -04:00
2020-08-03 22:07:36 -04:00
2021-11-26 21:50:44 -08:00
2021-11-23 16:43:42 -05:00
2021-10-16 12:12:21 -04:00
2021-07-21 12:23:25 +03:00
2021-09-18 19:51:04 -04:00
2021-10-22 19:11:51 -07:00
2020-08-03 22:07:36 -04:00
2019-01-28 10:02:08 +01:00
2021-01-20 22:18:34 -06:00
2020-08-03 22:07:36 -04:00
2021-10-15 15:43:23 -07:00
2020-08-03 22:07:36 -04:00
2020-08-03 22:07:36 -04:00
2021-09-19 20:52:19 +03:00
2020-12-04 09:30:21 +02:00
2021-07-23 10:41:57 -07:00
2020-12-26 11:23:23 -05:00
2021-05-23 19:03:33 +03:00
2021-08-21 07:59:18 -04:00
2021-11-25 00:47:45 -08:00
2021-09-12 05:31:01 -07:00
2021-10-27 15:36:32 -07:00
2021-11-16 15:27:33 -05:00
2021-11-06 18:24:36 -07:00
2021-10-16 12:12:21 -04:00
2021-08-21 07:59:18 -04:00
2020-08-03 22:07:36 -04:00
2021-05-23 11:11:58 +03:00
2020-08-03 22:07:36 -04:00
2021-01-26 21:06:16 -05:00
2021-10-15 15:43:23 -07:00
2020-08-03 22:07:36 -04:00
2021-07-30 16:35:36 +03:00
2020-08-03 22:07:36 -04:00
2021-09-18 19:51:04 -04:00
2020-08-03 22:07:36 -04:00
2021-07-24 17:52:47 -04:00
2020-08-03 22:07:36 -04:00
2020-08-12 16:15:28 -07:00
2021-10-16 12:12:21 -04:00
2021-11-06 18:24:36 -07:00
2021-01-31 14:15:08 -05:00
2021-03-14 15:12:46 -07:00
2021-10-05 01:11:24 -07:00
2021-10-21 08:48:23 -04:00
2021-10-16 12:12:21 -04:00
2021-10-22 12:27:10 -04:00
2020-08-03 22:07:36 -04:00
2021-06-06 05:54:53 -07:00
2021-11-16 15:27:33 -05:00
2021-03-13 18:18:53 -08:00
2021-09-18 19:51:04 -04:00
2021-09-20 09:32:40 -04:00
2021-09-18 19:51:04 -04:00
2021-01-26 10:27:51 -05:00
2020-08-03 22:07:36 -04:00
2020-12-26 11:23:23 -05:00
2021-08-21 07:59:18 -04:00