]> git.ipfire.org Git - thirdparty/coreutils.git/commit
build: adjust warning options to work with latest GCC
authorJim Meyering <meyering@fb.com>
Sat, 12 Aug 2017 20:51:19 +0000 (13:51 -0700)
committerJim Meyering <meyering@fb.com>
Sat, 12 Aug 2017 20:51:19 +0000 (13:51 -0700)
commit96101eef33b2a56bd169560cd806b4b3237d2430
tree434463cb9c56e07f0ddde29ff85bb35e21e1807a
parent0b7fababf893803505e0382f71dc755951c98cc8
build: adjust warning options to work with latest GCC

* configure.ac: Disable some new warnings to avoid false positives.
Building with warnings enabled and latest gcc would evoke build
failure without these changes.  Disable the following in coreutils
proper: -Wformat-overflow=2 -Wformat-truncation=2, and
disable these for gnulib: -Wformat-truncation=2 -Wduplicated-branches
configure.ac