diff options
author | Pádraig Brady <P@draigBrady.com> | 2014-06-11 00:39:45 +0100 |
---|---|---|
committer | Pádraig Brady <P@draigBrady.com> | 2014-06-11 00:49:38 +0100 |
commit | 0216f8397f10e3f95915325e2fda70b99651ad0c (patch) | |
tree | 66e86a4412c4b20e5755dd1414bd10a19d6e71f4 /src/wc.c | |
parent | 9a6a486e6503520fd2581f2d3356b7149f1b225d (diff) | |
download | coreutils-0216f8397f10e3f95915325e2fda70b99651ad0c.tar.xz |
build: update GCC warnings
* configure.ac: Remove the -Wsuggest-attribute=pure
enablement on GCC >= 4.7, as that was moot since
gnulib was already enabling that warning in its default set.
The false positive was seen with 4.6.2, but confirmed
not present in 4.6.3, so that's sufficiently old to
just leave this enabled unconditionally.
Remove the -Wsuggest-attribute={const,noreturn}
enablement, as gnulib already has those in the default set.
Enable the -Wlogical-op warning for GCC >= 4.8.0
as that is confirmed OK with coreutils at least, due to
fixing: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=43772
Remove the -Wno-logical-op override since the main
-Wlogical-op flag is now sufficient to control this warning
as of GCC 4.6.3 at least.
Diffstat (limited to 'src/wc.c')
0 files changed, 0 insertions, 0 deletions