diff options
author | Paolo Bonzini | 2017-10-20 12:11:32 +0200 |
---|---|---|
committer | Paolo Bonzini | 2017-11-05 14:52:10 +0100 |
commit | 20bc94a2b8449b7700b6bfa25a87ce2320a1c649 (patch) | |
tree | 4f470a0055f24505c86d789e746731c49d99fb45 /scripts | |
parent | pci-assign: Remove (diff) | |
download | qemu-20bc94a2b8449b7700b6bfa25a87ce2320a1c649.tar.gz qemu-20bc94a2b8449b7700b6bfa25a87ce2320a1c649.tar.xz qemu-20bc94a2b8449b7700b6bfa25a87ce2320a1c649.zip |
build: disable -Wmissing-braces on older compilers
GCC 4.9 and newer stopped warning for missing braces around the
"universal" C zero initializer {0}. One such initializer sneaked
into scsi/qemu-pr-helper.c and is breaking the build with such
older GCC versions.
Detect the lack of support for the idiom, and disable the warning
in that case.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions