[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PULL 01/41] build: add -Wexpansion-to-defined
From: |
Paolo Bonzini |
Subject: |
[Qemu-devel] [PULL 01/41] build: add -Wexpansion-to-defined |
Date: |
Thu, 13 Jul 2017 16:23:54 +0200 |
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 <address@hidden>
---
configure | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configure b/configure
index 5096cbc..239f142 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
--
1.8.3.1
- [Qemu-devel] [PULL 00/41] Misc patches for QEMU 2.10 soft freeze, Paolo Bonzini, 2017/07/13
- [Qemu-devel] [PULL 04/41] MAINTAINERS: update Xen entries, Paolo Bonzini, 2017/07/13
- [Qemu-devel] [PULL 03/41] MAINTAINERS: update KVM entries, Paolo Bonzini, 2017/07/13
- [Qemu-devel] [PULL 01/41] build: add -Wexpansion-to-defined,
Paolo Bonzini <=
- [Qemu-devel] [PULL 06/41] MAINTAINERS: add entry for "Unimplemented" device, Paolo Bonzini, 2017/07/13
- [Qemu-devel] [PULL 02/41] MAINTAINERS: update TCG entries, Paolo Bonzini, 2017/07/13
- [Qemu-devel] [PULL 07/41] chardev: block during sync read, Paolo Bonzini, 2017/07/13
- [Qemu-devel] [PULL 05/41] MAINTAINERS: update TCI entry, Paolo Bonzini, 2017/07/13
- [Qemu-devel] [PULL 08/41] char: move QemuOpts->ChardevBackend translation to a separate func, Paolo Bonzini, 2017/07/13
- [Qemu-devel] [PULL 10/41] char: chardevice hotswap, Paolo Bonzini, 2017/07/13
- [Qemu-devel] [PULL 13/41] test-char: destroy chardev-udp after test, Paolo Bonzini, 2017/07/13
- [Qemu-devel] [PULL 12/41] char: avoid chardevice direct access, Paolo Bonzini, 2017/07/13
- [Qemu-devel] [PULL 16/41] test-char: add hotswap test, Paolo Bonzini, 2017/07/13
- [Qemu-devel] [PULL 14/41] test-char: split char_udp_test, Paolo Bonzini, 2017/07/13