From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:40233) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bAYcJ-0006aX-E1 for qemu-devel@nongnu.org; Wed, 08 Jun 2016 04:13:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bAYcF-0001YN-A7 for qemu-devel@nongnu.org; Wed, 08 Jun 2016 04:13:35 -0400 Received: from mx1.redhat.com ([209.132.183.28]:59113) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bAYcF-0001Xy-4Q for qemu-devel@nongnu.org; Wed, 08 Jun 2016 04:13:31 -0400 From: Thomas Huth Date: Wed, 8 Jun 2016 10:13:26 +0200 Message-Id: <1465373606-18486-1-git-send-email-thuth@redhat.com> Subject: [Qemu-devel] [RFC PATCH] configure: Enable -Werror for MinGW builds, too List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell , Stefan Weil , qemu-devel@nongnu.org Cc: Stefan Hajnoczi , "Daniel P. Berrange" , Paolo Bonzini , Yuri Pudgorodskiy MinGW seems to compile currently without warnings, so it should be safe to enable -Werror now for this environment, too. Signed-off-by: Thomas Huth --- ... at least it compiles without errors for me here. I hope that's also true for different versions of MinGW ... would be great if everybody who has such a compiler installed could give it a try! configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure b/configure index 4627d2c..2e5b818 100755 --- a/configure +++ b/configure @@ -1393,7 +1393,7 @@ z_version=$(cut -f3 -d. $source_path/VERSION) if test -z "$werror" ; then if test -d "$source_path/.git" -a \ - "$linux" = "yes" ; then + \( "$linux" = "yes" -o "$mingw32" = "yes" \) ; then werror="yes" else werror="no" -- 1.8.3.1