configure: Allow builds with extra warnings
commit5919e0328b7d6a08a661c3c747bae3e841d4e6f4
authorStefan Weil <sw@weilnetz.de>
Thu, 28 Apr 2016 21:33:41 +0000 (28 23:33 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 23 May 2016 14:53:43 +0000 (23 16:53 +0200)
tree819c1d68c4b7270798396f71d9498bb1435eb006
parent691a02e2ce0c413236a78dee6f2651c937b09fb0
configure: Allow builds with extra warnings

The clang compiler supports a useful compiler option -Weverything,
and GCC also has other warnings not enabled by -Wall.

If glib header files trigger a warning, however, testing glib with
-Werror will always fail. A size mismatch is also detected without
-Werror, so simply remove it.

Cc: qemu-stable@nongnu.org
Signed-off-by: Stefan Weil <sw@weilnetz.de>
Message-Id: <1461879221-13338-1-git-send-email-sw@weilnetz.de>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
configure