From nobody Mon Dec 23 11:06:47 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=fail; spf=none (zoho.com: 198.145.21.10 is neither permitted nor denied by domain of lists.01.org) smtp.mailfrom=edk2-devel-bounces@lists.01.org Return-Path: Received: from ml01.01.org (ml01.01.org [198.145.21.10]) by mx.zohomail.com with SMTPS id 1518613755782320.0324862908226; Wed, 14 Feb 2018 05:09:15 -0800 (PST) Received: from [127.0.0.1] (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id 2DEE222161160; Wed, 14 Feb 2018 05:03:21 -0800 (PST) Received: from mail-wm0-x243.google.com (mail-wm0-x243.google.com [IPv6:2a00:1450:400c:c09::243]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 2C1B02216114C for ; Wed, 14 Feb 2018 05:03:18 -0800 (PST) Received: by mail-wm0-x243.google.com with SMTP id t74so22588458wme.3 for ; Wed, 14 Feb 2018 05:09:10 -0800 (PST) Received: from localhost.localdomain ([84.203.84.137]) by smtp.gmail.com with ESMTPSA id b13sm1262955edk.59.2018.02.14.05.09.08 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 14 Feb 2018 05:09:08 -0800 (PST) X-Original-To: edk2-devel@lists.01.org Received-SPF: none (zoho.com: 198.145.21.10 is neither permitted nor denied by domain of lists.01.org) client-ip=198.145.21.10; envelope-from=edk2-devel-bounces@lists.01.org; helo=ml01.01.org; Received-SPF: None (no SPF record) identity=mailfrom; client-ip=2a00:1450:400c:c09::243; helo=mail-wm0-x243.google.com; envelope-from=pete@akeo.ie; receiver=edk2-devel@lists.01.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=akeo-ie.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=J3Eq3/ZtacucHtWtxiDbOyDxJylN369Zu0pno0Hd/dY=; b=ezqd4QNFE5aloN8HU7c8QLB8eSfSvMBl+uUTzKB9K4udInn+k5pebHZNgdsCGob87Y fbaSOJ986ejARVEGSlu5ZR72uVTLyTkCQD8KUREt5AlN3xckhwRvSVjNx3IA7NjKZJAT T1P53auX4kfJ6iqarKhjjA04IsnrXgLsiMsdwd/qp9nn/ubBpo+8dvRmW3IbBTfzHrsW DZkksWNaGVO6B0Uozrm5IhqE8iONWQIkOn+hjxYcu5jq3VWc1Yl31SDPn7sizFbqV8Zb wxRAn5bS5gKtgukr/tIMhgjlNjgVGRRlsoDNx6T5nHA44FHwesI1jz42RFnfITbqZops PZUA== 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:in-reply-to :references; bh=J3Eq3/ZtacucHtWtxiDbOyDxJylN369Zu0pno0Hd/dY=; b=MbnTziiZph99BsjGcxIBwkxxniAWsGI+fyFbcdJ7embqZ75S/SWlCsRKq1QY/GjfL6 LEQ7hKbTX7joYXu2KSTXFdZl5E8V+cWzamZwzXcAkiidT4Oy7x6jiUm4w//ymq4iljoV S0j8NkydBaEQ6leC5nXugDQLbLSqhFj6t1n1RCo+Og2iXIj6JyDb9X6dsH9kFc+Q176v vJMJMxiR9OtowjHrPqnN5UJgfxZGyYvXZmtPPJhsl+YNLJi5+RtIKpS2U+v/lA+wett+ hJ0tJz7hgaE5hF3zNwn/D0xeC2o+qwd4Acf7lCHvSIIruSQwOJNZaq8NRfmNQK3GrRKF Y4ow== X-Gm-Message-State: APf1xPDmAlz0t19Bx8FtyAaDcZDYNaEmt8DFHVclsWPiQR7l+SNG3XKb wLIbGBvBxvWXaOOy5BYWSloMnbNlatY= X-Google-Smtp-Source: AH8x226dO48S/abNnYyfnUtSfTDqd3XGbGk39f2z1WG2Qr2voucPXHMBY8iqq9GCopJfizFjxgvf6Q== X-Received: by 10.80.164.161 with SMTP id w30mr6972710edb.283.1518613749163; Wed, 14 Feb 2018 05:09:09 -0800 (PST) From: Pete Batard To: edk2-devel@lists.01.org Date: Wed, 14 Feb 2018 13:08:54 +0000 Message-Id: <20180214130857.5020-2-pete@akeo.ie> X-Mailer: git-send-email 2.9.3.windows.2 In-Reply-To: <20180214130857.5020-1-pete@akeo.ie> References: <20180214130857.5020-1-pete@akeo.ie> Subject: [edk2] [PATCH 1/4] MdePkg: Disable some Level 4 warnings for VS2017/ARM64 X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: liming.gao@intel.com, ard.biesheuvel@linaro.org MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Errors-To: edk2-devel-bounces@lists.01.org Sender: "edk2-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZohoMail: RDKM_2 RSF_4 Z_629925259 SPT_0 Content-Type: text/plain; charset="utf-8" We disable the exact same warnings as IA32 and X64. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Pete Batard --- MdePkg/Include/AArch64/ProcessorBind.h | 53 +++++++++++++++++++- 1 file changed, 51 insertions(+), 2 deletions(-) diff --git a/MdePkg/Include/AArch64/ProcessorBind.h b/MdePkg/Include/AArch6= 4/ProcessorBind.h index bc473562f9e5..4f341ebeb03f 100644 --- a/MdePkg/Include/AArch64/ProcessorBind.h +++ b/MdePkg/Include/AArch64/ProcessorBind.h @@ -1,7 +1,7 @@ /** @file Processor or Compiler specific defines and types for AArch64. =20 - Copyright (c) 2006 - 2017, Intel Corporation. All rights reserved.
+ Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.
Portions copyright (c) 2008 - 2009, Apple Inc. All rights reserved.
Portions copyright (c) 2011 - 2013, ARM Ltd. All rights reserved.
=20 @@ -30,7 +30,56 @@ #pragma pack() #endif =20 -#if _MSC_EXTENSIONS +#if defined(_MSC_EXTENSIONS) + +// +// Disable some level 4 compilation warnings (same as IA32 and X64) +// + +// +// Disabling bitfield type checking warnings. +// +#pragma warning ( disable : 4214 ) + +// +// Disabling the unreferenced formal parameter warnings. +// +#pragma warning ( disable : 4100 ) + +// +// Disable slightly different base types warning as CHAR8 * can not be set +// to a constant string. +// +#pragma warning ( disable : 4057 ) + +// +// ASSERT(FALSE) or while (TRUE) are legal constructs so suppress this war= ning +// +#pragma warning ( disable : 4127 ) + +// +// This warning is caused by functions defined but not used. For precompil= ed header only. +// +#pragma warning ( disable : 4505 ) + +// +// This warning is caused by empty (after preprocessing) source file. For = precompiled header only. +// +#pragma warning ( disable : 4206 ) + +// +// Disable 'potentially uninitialized local variable X used' warnings +// +#pragma warning ( disable : 4701 ) + +// +// Disable 'potentially uninitialized local pointer variable X used' warni= ngs +// +#pragma warning ( disable : 4703 ) + +#endif + +#if defined(_MSC_EXTENSIONS) // // use Microsoft* C compiler dependent integer width types // --=20 2.9.3.windows.2 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel