aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2017-07-11 10:08:55 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2017-07-14 11:04:33 +0200
commitb98fcfd8840f290c406c32301340e96f00238a93 (patch)
treec12e2fbabdf646b64d2e67111038e4e9befe6ee5 /configure
parent49bcce4b9c11759678fd223aefb48691c4959d4f (diff)
downloadqemu-b98fcfd8840f290c406c32301340e96f00238a93.zip
qemu-b98fcfd8840f290c406c32301340e96f00238a93.tar.gz
qemu-b98fcfd8840f290c406c32301340e96f00238a93.tar.bz2
build: add -Wexpansion-to-defined
This warning is included in -Wall by clang, but not by GCC (which only enables it for -Wextra). Include it in the list of warnings we enable to minimize the differences between the compilers: Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index 902653a..dceeb72 100755
--- a/configure
+++ b/configure
@@ -1583,7 +1583,7 @@ gcc_flags="-Wold-style-declaration -Wold-style-definition -Wtype-limits"
gcc_flags="-Wformat-security -Wformat-y2k -Winit-self -Wignored-qualifiers $gcc_flags"
gcc_flags="-Wno-missing-include-dirs -Wempty-body -Wnested-externs $gcc_flags"
gcc_flags="-Wendif-labels -Wno-shift-negative-value $gcc_flags"
-gcc_flags="-Wno-initializer-overrides $gcc_flags"
+gcc_flags="-Wno-initializer-overrides -Wexpansion-to-defined $gcc_flags"
gcc_flags="-Wno-string-plus-int $gcc_flags"
# Note that we do not add -Werror to gcc_flags here, because that would
# enable it for all configure tests. If a configure test failed due