]> git.proxmox.com Git - mirror_qemu.git/commit - configure
configure: Check for -Werror causing failures when compiling tests
authorPeter Maydell <peter.maydell@linaro.org>
Wed, 18 Jul 2012 14:10:28 +0000 (15:10 +0100)
committerBlue Swirl <blauwirbel@gmail.com>
Sat, 11 Aug 2012 15:07:41 +0000 (15:07 +0000)
commit8dc38a78d0f74e1561c1fe4d276150a1a8a12c4c
tree5f804c8d5d131dfcd50c491d0beaa2cc93f8c1f9
parent5fda043f9c8b8ab18da2704de8e77b7c86fa9435
configure: Check for -Werror causing failures when compiling tests

Add support for checking whether test case code can compile without
warnings, by recompiling each successful test with -Werror. If the
-Werror version doesn't pass, we bail out. This gives us the same
level of visibility of warnings in test code as --enable-werror
provides for the main compile.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
configure