]> git.proxmox.com Git - mirror_qemu.git/commit
configure: Disable -Wtautological-type-limit-compare
authorRichard Henderson <richard.henderson@linaro.org>
Wed, 17 Jun 2020 20:13:07 +0000 (13:13 -0700)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 18 Jun 2020 09:26:02 +0000 (10:26 +0100)
commitaabab96797a7d61989c25a7ca2b094591bbc74f9
tree10e32c90aacc3f1bf6d6457796015c57f22ce055
parent00849b92247403bf5b23fc997e1b383cad8a3759
configure: Disable -Wtautological-type-limit-compare

Clang 10 enables this by default with -Wtype-limit.

All of the instances flagged by this Werror so far have been
cases in which we really do want the compiler to optimize away
the test completely.  Disabling the warning will avoid having
to add ifdefs to work around this.

Cc: Eric Blake <eblake@redhat.com>
Buglink: https://bugs.launchpad.net/qemu/+bug/1878628
Acked-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20200617201309.1640952-5-richard.henderson@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
configure