From patchwork Fri Feb 8 13:21:12 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Peter Maydell X-Patchwork-Id: 157837 Delivered-To: patches@linaro.org Received: by 2002:a02:48:0:0:0:0:0 with SMTP id 69csp1948807jaa; Fri, 8 Feb 2019 05:21:15 -0800 (PST) X-Received: by 2002:adf:deca:: with SMTP id i10mr2710530wrn.312.1549632075029; Fri, 08 Feb 2019 05:21:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549632075; cv=none; d=google.com; s=arc-20160816; b=l5oeU3PektPwh/COxkh7wJb2E83t0jDjS/YCyclhISPLLfnKBpRLNWBC+IjwcL66Gw gtV9jWZxDU3pto7ZITxhmAwoCdMquXhks+Ne8PEhsqvM5qaZAuNzSAWUNsTu+S23631q p64otKg9bYVB+/HtZ5lJuNy9J+ty0ucXO9+jlEsK9IQNhIRDAxKTNxpKWopd+iRTPGTq LkyisH1aqu9GCTYuFfwsBILng0JE1ifsf85xkB614yiyb5JhOm1AoD3GMdgDxVUjB4hR kcmkyt1KO7q4oqBl3DacVyOo/QawIQtSplbvBucPNOZPRuOb9D/djBN3bQRqw385qQEV QMFg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:dkim-signature; bh=J1R45P4xBt0yKw1KeYGk8PHHIvW7miBeLE7kmKmy79c=; b=JmkstZgbSX6afNMLL/IU7FxBihVeIHH67O9DzqpDm8AGPCGGjLRLE6MU3aJFBq2ZaT IxMNEj2vYyYbxAWXxfK61fVKFR5zU/Da4QDp1Kq3k/XaVRpW5I8JhmIULF9ca1g3wJk2 1nQUnMSyNuMqrxySgolAPs0QQf9QxOro/dV0sHUrZVelhZb8tZLHhdBoaHQ28maUlOk/ qCTOkOpHQvVdrs1Nn2zWl5iG0ad4GmtG3W5II7Z8JdS/t7doYCCmDZOcKW5xncSILngS YXC+o8fdWa6KXSoQlrvNnMPlU4wbIe/TTaPlzf1Dl9TNix/sK/t50P8D5kG6finr+r0c xw8Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=X322QToI; spf=pass (google.com: domain of peter.maydell@linaro.org designates 209.85.220.65 as permitted sender) smtp.mailfrom=peter.maydell@linaro.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from mail-sor-f65.google.com (mail-sor-f65.google.com. [209.85.220.65]) by mx.google.com with SMTPS id g13sor1374919wrq.7.2019.02.08.05.21.14 for (Google Transport Security); Fri, 08 Feb 2019 05:21:14 -0800 (PST) Received-SPF: pass (google.com: domain of peter.maydell@linaro.org designates 209.85.220.65 as permitted sender) client-ip=209.85.220.65; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=X322QToI; spf=pass (google.com: domain of peter.maydell@linaro.org designates 209.85.220.65 as permitted sender) smtp.mailfrom=peter.maydell@linaro.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org 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=KLv6viaDtUuyY6eMEIchMNwtn1Klgvldg8XB+DmCLWz0/JJ1o2cZy7XHEiHte6oy7r POE1z0ReP0xWa+LzO9sgjAZ9XorNI/MtYlJX7raBQTf47Drni0Mz3JZFvjB82wRHHNeR Sz14PfdeLGedgAU1IOSrDNQnJGHaXoiHfg5uiFlq53DSQM30Wm8NTmwr1KUazCKzxhk8 25YaJvOIM3J97vQjtqc2jZA9pN5Q+kAdnS6+er/nQla6Nfo79kTUHfZ9gBG0e+kHhNaZ +OyRchV19ntvwdrux1lHVBweyknutDo8hC2NSs5oSA78wBHrZvHgBdxKaiTZLlwyLtKX Pijw== X-Gm-Message-State: AHQUAuZxrtRXG0yvb7CB2j/Smxq+fjt4MiF7U3SI+Br+U3gaqFg64Z4v pdW3kU6mZY8GqAhwZQZCX4Kd5nPE1S+/Jgw/ 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) Return-Path: 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) From: Peter Maydell To: qemu-devel@nongnu.org Cc: patches@linaro.org Subject: [PATCH] configure: Make -Waddress-of-packed-member warnings be errors 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 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 --- configure | 1 - 1 file changed, 1 deletion(-) -- 2.20.1 Reviewed-by: Thomas Huth Reviewed-by: Philippe Mathieu-Daudé diff --git a/configure b/configure index fbd0825488c..50ac5d90f2e 100755 --- a/configure +++ b/configure @@ -1881,7 +1881,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,