diff options
| author | Paul Eggert <eggert@cs.ucla.edu> | 2021-10-31 22:30:38 -0700 |
|---|---|---|
| committer | Paul Eggert <eggert@cs.ucla.edu> | 2021-10-31 22:36:46 -0700 |
| commit | 25e68323b9adcd7007258cc7b3c6986723b5a05b (patch) | |
| tree | c49a5d5aa15a01910a7569169108e5572e006631 /src/prog-fprintf.h | |
| parent | maint: modernize attribute usage (diff) | |
| download | coreutils-25e68323b9adcd7007258cc7b3c6986723b5a05b.tar.gz coreutils-25e68323b9adcd7007258cc7b3c6986723b5a05b.zip | |
maint: enable -Wsuggest-attribute=format
* configure.ac (WERROR_CFLAGS): Enable -Wsuggest-attribute=format
for lib/ and src/.
* src/copy.c (copy_attr_error, copy_attr_allerror):
Add ATTRIBUTE_FORMAT.
(copy_attr): Ignore -Wsuggest-attribute=format in the
small section of code that needs it ignored.
* src/test.c (test_syntax_error): Mark with ATTRIBUTE_FORMAT.
(binary_operator): Omit unnecessary NULL args, pacifying
-Wsuggest-attribute=format.
Diffstat (limited to 'src/prog-fprintf.h')
0 files changed, 0 insertions, 0 deletions
