From patchwork Thu Feb 14 10:47:10 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Laurent Vivier X-Patchwork-Id: 158351 Delivered-To: patch@linaro.org Received: by 2002:a02:48:0:0:0:0:0 with SMTP id 69csp1193871jaa; Thu, 14 Feb 2019 02:49:04 -0800 (PST) X-Google-Smtp-Source: AHgI3IbON9QVQY/ucC7T3+JjvAvt/gqsXkdbwP4aWCv1p10YUkUQIMlKK/IeLM8C4y9w8MVOG8G2 X-Received: by 2002:a81:9404:: with SMTP id l4mr2262835ywg.81.1550141343994; Thu, 14 Feb 2019 02:49:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550141343; cv=none; d=google.com; s=arc-20160816; b=R+DEYHThB/+wmjmC4UKKr+x5DnTh2LRa0hV1m7muvYCOCp5CywNqI0n42OEIZEuDUH SIdOtaJH3DRZE3bYQZJsrX914/yw56B9cTIih4ZVELQ4YmQH2DdWpKR7cznwLU7cm6Ag gJDxFJCn9ZjoOZJvuhdSa9Wo9mwZ/D4eXVK16VC1/NyqakQQn5QHIAvPYe+7iNgw9W6m 62cBBXjD/W3+aK6N31+jo+DphcWz7COJuyEIkFi/PmqFH9euvEy/YqJordG9tm2uy6kM cGGp3Q/XYQiHlNxWwkRam+ECbS7r1pSC+qS6BPu4ijqL1Ap7QbIEjNlHYnsJB72lh1Gn mBxw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject :content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:to:from; bh=xOikg0rXfolD52ggz1y0f3wFd5UloPSy/+/zXBCXSHU=; b=VmhTqqS5DD6e5JC20QqFWZIDXzhfkWk0DTVrttHAeN8cmaW9xphBitF80hI0I9Wxgc jk3K2DTeZYB8VsqGdyO/qpPJ7LdMcNg1yTtEbwxn+ZnHgjdNzYMXuU47ycxJQuGoAJR3 tjHTTg87zvgKTY/psMckQrL0d9Ekvwpv4cOwCcDPizf4pCOxYiqTFXqMQAY5nH+AkCZ3 PUC9e9tWUuPCvVgyoSoFvAFPunXbACZdLZjr9cJUoZbPVGX/HkU8YWT3/hneYcqMELzG bmHTowfnQ0XHr3kTVr7v4Eoujs1ECuNRSEjOcLmwtdiE/+yyhqD8iKaBFDqao6QoOzfE ZBnA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org" Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id 125si1159590ywb.65.2019.02.14.02.49.03 for (version=TLS1 cipher=AES128-SHA bits=128/128); Thu, 14 Feb 2019 02:49:03 -0800 (PST) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org" Received: from localhost ([127.0.0.1]:46050 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1guEZj-0002jV-FF for patch@linaro.org; Thu, 14 Feb 2019 05:49:03 -0500 Received: from eggs.gnu.org ([209.51.188.92]:50491) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1guEYv-0002NT-EF for qemu-devel@nongnu.org; Thu, 14 Feb 2019 05:48:15 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1guEYs-0002wC-UJ for qemu-devel@nongnu.org; Thu, 14 Feb 2019 05:48:13 -0500 Received: from mout.kundenserver.de ([212.227.126.133]:36237) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1guEYj-0002Ry-7r; Thu, 14 Feb 2019 05:48:01 -0500 Received: from localhost.localdomain ([78.238.229.36]) by mrelayeu.kundenserver.de (mreue010 [212.227.15.167]) with ESMTPSA (Nemesis) id 1MNc5b-1gjSli2iJX-00P365; Thu, 14 Feb 2019 11:47:41 +0100 From: Laurent Vivier To: qemu-devel@nongnu.org Date: Thu, 14 Feb 2019 11:47:10 +0100 Message-Id: <20190214104717.3543-8-laurent@vivier.eu> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190214104717.3543-1-laurent@vivier.eu> References: <20190214104717.3543-1-laurent@vivier.eu> MIME-Version: 1.0 X-Provags-ID: V03:K1:LEi8iVxFcJaDz5gPX+ZYRsQHg8ggi6pDPEYJihnlM//Ea2EfxQf MXIu+Owh299+SlKSlPDUtDhp6h4hzmKOry2VR8vyOYiR8Zz8GhEohi+XurXKvPd/nimwOIV 3XLrWX+BHj2TlfLcj2SeYIlib8koa+G+n/VW4X/Gr6brYg8txoTRq9euRSgKOpyA9KSjSgb icTMcofZxRsRIBoAQvoRA== X-UI-Out-Filterresults: notjunk:1; V03:K0:iRDg/sQmhhY=:5Mf6c0zaNWdiG/LfBsIjhb QOwMbSZ7e+78N8R1v3EFtcQW/ZgEss0pxfB1bd9GYtbb9vv0tjmZftMQoiqbqwCDP3OvHTYfN uqg3AMQT++G6UZcOwUSOSaYNfbJmX3YEFFKoriPFRJwunvs3oSizX1ANtXI/rRUQ3gEsjApXp H+FMKCApEQFTmAJeqpqEdc1zKtrdimYPApCjiXoruZKT+yJj9k37XyTuhKQjQ8wWdwR6JGIgL cNZ7lhKYWv2l78Cm9Vq8itYGP8kCJDqqYnpYBZl+dbQj/095+mNlZNy2X1QDj21iWtX6aTksB nl2ciEYDHgw1A7llGU54YKubOKFIXO1SENEbAcy0uwcJ02XDld5mZMds0HRkOIWuy9zgOxCuZ w08VuhMmMDC80Hiwe+kTceOnU1YPxEdPD+g/s+KaojJ44pK56KJhmBbn0jF9Ir4u/pvJGyMYg byj4+K5T2MIIvmRt4EMMgKzw9SN2g8wOhw2oEFeNPvro98vy4Ed6OUGclEmLH7mw55+CXcq3y m/saOiwnrkCzRRJzscRkStpAh8FE28Py5XpEIaWd3I9OHCV5Coz4ZPIYiLoO8BXw0ul9klQ66 yvZVDbyAydjSShWQ0vgPd9oqYq5sYh8fhRyZMoG5ZJj7dE8l6hr0VSxUpxrHS/bEjniHTqbZa KzclpyxMU3HMkLBitKwzDmT1gBgZzUfo703YnXF5T7loz2SIqhqssIPmtsKRqB4VCn7pLLAEG WTYv6jgnwwZBDOkoOt0soKBo+vLu+lW/nV4InkcLiUPC9aD35OwF6iTrPrg= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 212.227.126.133 Subject: [Qemu-devel] [PULL 07/14] configure: Make -Waddress-of-packed-member warnings be errors 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: , Cc: Peter Maydell , Thomas Huth , kvm@vger.kernel.org, "Michael S. Tsirkin" , libvir-list@redhat.com, Mark Cave-Ayland , =?utf-8?q?Philippe_?= =?utf-8?q?Mathieu-Daud=C3=A9?= , Michael Tokarev , Laurent Vivier , Markus Armbruster , qemu-trivial@nongnu.org, Kamil Rytarowski , Gerd Hoffmann , Paolo Bonzini , "Dr. David Alan Gilbert" , Artyom Tarasenko Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" From: Peter Maydell 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 Reviewed-by: Thomas Huth Reviewed-by: Philippe Mathieu-Daudé Message-Id: <20190208132112.31493-1-peter.maydell@linaro.org> Signed-off-by: Laurent Vivier --- configure | 1 - 1 file changed, 1 deletion(-) -- 2.20.1 diff --git a/configure b/configure index 649ef1b158d1..c0f278141823 100755 --- 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,