From patchwork Thu Jul 13 14:23:54 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paolo Bonzini X-Patchwork-Id: 787784 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3x7dQM0b7Nz9s7g for ; Fri, 14 Jul 2017 00:25:31 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="Ljk9RkkQ"; dkim-atps=neutral Received: from localhost ([::1]:60358 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dVf3Y-00008E-Vu for incoming@patchwork.ozlabs.org; Thu, 13 Jul 2017 10:25:29 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:50827) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dVf2s-00005n-LZ for qemu-devel@nongnu.org; Thu, 13 Jul 2017 10:24:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dVf2n-0001oG-Ki for qemu-devel@nongnu.org; Thu, 13 Jul 2017 10:24:46 -0400 Received: from mail-wm0-x243.google.com ([2a00:1450:400c:c09::243]:34832) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dVf2n-0001ml-Eb for qemu-devel@nongnu.org; Thu, 13 Jul 2017 10:24:41 -0400 Received: by mail-wm0-x243.google.com with SMTP id u23so5454188wma.2 for ; Thu, 13 Jul 2017 07:24:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:subject:date:message-id:in-reply-to:references; bh=r1MBA/mLzx9juwUXbfYSxtmx1Xr9UVYBR8Ip9xU3BC8=; b=Ljk9RkkQPjp9YYu3ZOr1qqDBqEtQBUPt67uSDALJa0RotDznQcpLKwJkhqvniUO1MK VXn7f3/fJbv5P5yG8vIIr3tagzLRGLgN+vK74LfTuQrQzGYt6NIGPYrQkmDO/kcBh1VR MGNN3GGj8M1qIh96Hl1ClWNOd9ElkP78GqDR7SwdczbUubcPdjEGyz87az28BqnjNedu h6z2hSaNGuVE7hFsWS7iW6E3bgW8fygBTwvH07fLTmIxkjM4zOKyv3RykZqqsW23yfSV gp6/Jym4gFk7auk1iijvv2o2zmZYGn2fdnoxDo7U6c0KCpRX8nH41tOHeI3hi1xHPJWl qKJA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:subject:date:message-id :in-reply-to:references; bh=r1MBA/mLzx9juwUXbfYSxtmx1Xr9UVYBR8Ip9xU3BC8=; b=klsvMEP5/nUUymdMp4lRRqAa1/D3J6wWkdfKhGsr9/Xtax3zGmVPvifoFfh9x9PnZU qtEdJ0RC7jnsRq21e2bigvTU7/8LCwJIInAAThVkuhGihgrivaNlp9DvAnv790qL2FmE tdwbewGUA6oZuzwxUplaj7yZuqJTpjE6nC/Z/40X/JDsaYASGZ3PamBbV52pdqQgKbUY PGHw5+kHzS57zRNNr2rgXBTle9CLz1MB1wEEo2CWgdcufiFLYl09JQl27XVmDC4RuX6L H0qygKEbJDtgVlx2AP+GhA5oqTru1d4Suu/yxkDiV3NyXK4P9lhsuRtintvNqMKFGxCR kJvA== X-Gm-Message-State: AIVw111FrIBEnYM+T6Rs/7avu6Aakn/Ev8iBe1LSlqljBoC5lYM7sPnE eTArWnuxcLqWhZkacPY= X-Received: by 10.28.137.146 with SMTP id l140mr2458994wmd.101.1499955879961; Thu, 13 Jul 2017 07:24:39 -0700 (PDT) Received: from 640k.lan (94-39-191-51.adsl-ull.clienti.tiscali.it. [94.39.191.51]) by smtp.gmail.com with ESMTPSA id k75sm6042448wmh.10.2017.07.13.07.24.38 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 13 Jul 2017 07:24:39 -0700 (PDT) From: Paolo Bonzini To: qemu-devel@nongnu.org Date: Thu, 13 Jul 2017 16:23:54 +0200 Message-Id: <1499955874-10954-2-git-send-email-pbonzini@redhat.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1499955874-10954-1-git-send-email-pbonzini@redhat.com> References: <1499955874-10954-1-git-send-email-pbonzini@redhat.com> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:400c:c09::243 Subject: [Qemu-devel] [PULL 01/41] build: add -Wexpansion-to-defined X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" 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 --- 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