diff options
author | Guillem Jover <guillem@debian.org> | 2016-08-25 01:07:07 +0200 |
---|---|---|
committer | Guillem Jover <guillem@debian.org> | 2016-10-29 16:02:49 +0200 |
commit | 4cef597299b9d9e7a229365f127156c46aacc51d (patch) | |
tree | 5f83db41e3164b4467262618d369412bc26990cc /m4 | |
parent | c01a5dfae716d896292f4a2e492f5e2f755052fa (diff) | |
download | dpkg-4cef597299b9d9e7a229365f127156c46aacc51d.tar.gz |
build: Disable -Wtautological-constant-out-of-range-compare
This emits a false positive for the test suite.
Warned-by: clang
Diffstat (limited to 'm4')
-rw-r--r-- | m4/dpkg-compiler.m4 | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/m4/dpkg-compiler.m4 b/m4/dpkg-compiler.m4 index cca6a2a6e..5ac9873b0 100644 --- a/m4/dpkg-compiler.m4 +++ b/m4/dpkg-compiler.m4 @@ -45,6 +45,7 @@ AC_DEFUN([DPKG_CHECK_COMPILER_WARNINGS], [ DPKG_CHECK_COMPILER_FLAG([-Wextra]) DPKG_CHECK_COMPILER_FLAG([-Wno-unused-parameter]) DPKG_CHECK_COMPILER_FLAG([-Wno-missing-field-initializers]) + DPKG_CHECK_COMPILER_FLAG([-Wno-tautological-constant-out-of-range-compare]) DPKG_CHECK_COMPILER_FLAG([-Wmissing-declarations]) DPKG_CHECK_COMPILER_FLAG([-Wmissing-format-attribute]) DPKG_CHECK_COMPILER_FLAG([-Wformat -Wformat-security]) |