]> Git Repo - qemu.git/commitdiff
configure: Make -Waddress-of-packed-member warnings be errors
authorPeter Maydell <[email protected]>
Fri, 8 Feb 2019 13:21:12 +0000 (13:21 +0000)
committerLaurent Vivier <[email protected]>
Thu, 14 Feb 2019 10:46:25 +0000 (11:46 +0100)
We have now managed to eradicate all the places in the codebase
that triggered clang's -Waddress-of-packed-member warning. Remove
the compiler flag that exempted it from our usual -Werror policy.
This will prevent any new problematic code being added in future.

Signed-off-by: Peter Maydell <[email protected]>
Reviewed-by: Thomas Huth <[email protected]>
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
Message-Id: <20190208132112[email protected]>
Signed-off-by: Laurent Vivier <[email protected]>
configure

index 649ef1b158d1a1803081ed3dc15c9750303d1496..c0f278141823bd01d1fbead1ef2b0387fb4879d7 100755 (executable)
--- a/configure
+++ b/configure
@@ -1882,7 +1882,6 @@ 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 -Wexpansion-to-defined $gcc_flags"
 gcc_flags="-Wno-string-plus-int $gcc_flags"
-gcc_flags="-Wno-error=address-of-packed-member $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
 # to -Werror this would just silently disable some features,
This page took 0.037631 seconds and 4 git commands to generate.