Files
nethack/include
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-01-03 13:37:25 -06:00
2021-02-07 22:25:25 -06:00
2020-10-14 09:25:45 -07:00
2021-02-08 00:11:07 -05:00
2021-10-28 12:55:32 -07:00
2021-10-24 18:04:57 -04:00
2021-10-11 13:36:10 -04:00
2021-01-26 21:06:16 -05:00
2021-11-26 21:50:44 -08:00
2021-09-18 19:51:04 -04:00
2019-01-28 10:02:08 +01:00
2021-01-20 22:18:34 -06:00
2020-12-04 09:30:21 +02:00
2021-07-23 10:41:57 -07:00
2021-11-25 00:47:45 -08:00
2021-01-26 21:06:16 -05:00
2021-10-15 15:43:23 -07:00
2021-09-18 19:51:04 -04:00
2020-08-12 16:15:28 -07:00
2021-01-31 14:15:08 -05:00
2021-03-14 15:12:46 -07:00
2021-10-21 08:48:23 -04: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