From nobody Sat Apr 20 14:14:16 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=linaro.org Return-Path: Received: from lists.gnu.org (209.51.188.17 [209.51.188.17]) by mx.zohomail.com with SMTPS id 1549632150003825.0547444038195; Fri, 8 Feb 2019 05:22:30 -0800 (PST) Received: from localhost ([127.0.0.1]:56525 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gs66n-0002ji-Qc for importer@patchew.org; Fri, 08 Feb 2019 08:22:21 -0500 Received: from eggs.gnu.org ([209.51.188.92]:53912) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gs65q-0002Q7-A5 for qemu-devel@nongnu.org; Fri, 08 Feb 2019 08:21:23 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gs65o-0002XR-7c for qemu-devel@nongnu.org; Fri, 08 Feb 2019 08:21:22 -0500 Received: from mail-wr1-x442.google.com ([2a00:1450:4864:20::442]:36556) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gs65m-0002V6-Lf for qemu-devel@nongnu.org; Fri, 08 Feb 2019 08:21:19 -0500 Received: by mail-wr1-x442.google.com with SMTP id z3so3576226wrv.3 for ; Fri, 08 Feb 2019 05:21:16 -0800 (PST) Received: from orth.archaic.org.uk (orth.archaic.org.uk. [81.2.115.148]) by smtp.gmail.com with ESMTPSA id f191sm2606653wmg.12.2019.02.08.05.21.13 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 08 Feb 2019 05:21:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=J1R45P4xBt0yKw1KeYGk8PHHIvW7miBeLE7kmKmy79c=; b=X322QToI5YHqAsKjin3eks6JXJOk2E31fTUrHh7RtoXOz19zprbZR0OXq9wzSJO9pg aq96IGB1PinZ1xn5t84HBeUik75eTSV/8I81vzEOHfaWzv380Dqx28FmLujeXoxlckcC 25jdNyTkO9gemIFg8y+CHB9UlzitgwZAmZPI+gAcSiGH32SiX3z/2w6VsTvNX2oFO1pK wusFwXNbJONxTBo7NYmaTNdXOGwnz2HzKD2uCHo5BBPd5O9G62lip2taAjTQHUmmvoCo fO76K0MzQdeLLmr3sVEcGrd91lMpoY1ZMfT4sfXX//XT438RjnhYTElZyNzvx9xh8k7y ZQMg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=J1R45P4xBt0yKw1KeYGk8PHHIvW7miBeLE7kmKmy79c=; b=kS9pydXQeW4dS0SbdTN5WSFdlNuE5te2fjT0RVAr5annksWLRtgwJ0ABVbOSumBdbA 6BzYDwl1TgMoBg2M40/UCL5ZENNuanuG3QNwgeiRRvJwvEPVbR7pUE67Muh4NL115dVy DHGw5f1X1ipbNZ5eMc3I16xOQn2bAZQSfmIl/j09rCm65qlk5W4lS02xOYH1ppPyTWZF dElMkRuvxwePcUKy9k2BLIIn4yPIXj07OQ+E4u73b/CXkrF18bMCYyHXjF2QjNYYk/Hj qqmaYAxGIAzn7A+mPpW5zQeT/W4rmvpGjMPw/O9e47RmbaXbLXDp5c+lMy3dDzRzABNc 8dXQ== X-Gm-Message-State: AHQUAubf9ZbXlWmtfVlDLd11Dwa5IZ7oQMesY4aaP8d+QyPIleXN+V9r eWjOYxhgt+mGJkdI7a7meysJwSP1GTpxIw== X-Google-Smtp-Source: AHgI3IZ7rL1OdFtWNxP2YCCy/7G1Y8MhFOzJvjfNHNnCQS0FX+woVCCaKN+/b5b3PWKbE1vrpUh4Sw== X-Received: by 2002:adf:f64d:: with SMTP id x13mr14833605wrp.249.1549632074540; Fri, 08 Feb 2019 05:21:14 -0800 (PST) From: Peter Maydell To: qemu-devel@nongnu.org Date: Fri, 8 Feb 2019 13:21:12 +0000 Message-Id: <20190208132112.31493-1-peter.maydell@linaro.org> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::442 Subject: [Qemu-devel] [PATCH] 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: patches@linaro.org Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) Content-Type: text/plain; charset="utf-8" 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: Philippe Mathieu-Daud=C3=A9 Reviewed-by: Thomas Huth --- configure | 1 - 1 file changed, 1 deletion(-) diff --git a/configure b/configure index fbd0825488c..50ac5d90f2e 100755 --- a/configure +++ b/configure @@ -1881,7 +1881,6 @@ gcc_flags=3D"-Wno-missing-include-dirs -Wempty-body -= Wnested-externs $gcc_flags" gcc_flags=3D"-Wendif-labels -Wno-shift-negative-value $gcc_flags" gcc_flags=3D"-Wno-initializer-overrides -Wexpansion-to-defined $gcc_flags" gcc_flags=3D"-Wno-string-plus-int $gcc_flags" -gcc_flags=3D"-Wno-error=3Daddress-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, --=20 2.20.1