]> git.proxmox.com Git - qemu.git/commit
configure: Disable (clang) initializer-overrides warnings
authorPeter Maydell <peter.maydell@linaro.org>
Sun, 14 Oct 2012 20:00:39 +0000 (21:00 +0100)
committerBlue Swirl <blauwirbel@gmail.com>
Sat, 27 Oct 2012 14:20:06 +0000 (14:20 +0000)
commitc1556a812a16023894e53c7b2215929741a5bf17
treedff97a9e3fd3497473417c7a68f97abfd6774faa
parent8473f377393219390ea6f2d8d450a2b054bb823e
configure: Disable (clang) initializer-overrides warnings

Disable clang's initializer-overrides warnings, as QEMU makes significant
use of the pattern of initializing an array with a range-based default
entry like
    [0 ... 0x1ff] = { GPIO_NONE, 0 }
followed by specific entries which override that default, and clang
would otherwise warn "initializer overrides prior initialization of
this subobject" when it encountered the specific entry.

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