From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by mx.groups.io with SMTP id smtpd.web12.2572.1580717764236038766 for ; Mon, 03 Feb 2020 00:16:04 -0800 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: intel.com, ip: 134.134.136.65, mailfrom: zhiguang.liu@intel.com) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga007.jf.intel.com ([10.7.209.58]) by orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 03 Feb 2020 00:16:03 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.70,397,1574150400"; d="scan'208";a="219311006" Received: from fieedk002.ccr.corp.intel.com ([10.239.158.170]) by orsmga007.jf.intel.com with ESMTP; 03 Feb 2020 00:16:01 -0800 From: "Zhiguang Liu" To: devel@edk2.groups.io Cc: Michael D Kinney , Liming Gao Subject: [PATCH 2/2] MdePkg: Use the same VA function for both CLANGPDB and CLANG38 Date: Mon, 3 Feb 2020 16:15:11 +0800 Message-Id: <20200203081511.371848-2-zhiguang.liu@intel.com> X-Mailer: git-send-email 2.16.2.windows.1 In-Reply-To: <20200203081511.371848-1-zhiguang.liu@intel.com> References: <20200203081511.371848-1-zhiguang.liu@intel.com> REF:https://bugzilla.tianocore.org/show_bug.cgi?id=2415 For CLANGPDB tool chain and X64, use MS ABI version of GCC built-in macros for variable argument lists to be align with CLANG38 tool chain. Cc: Michael D Kinney Cc: Liming Gao Signed-off-by: Zhiguang Liu --- MdePkg/Include/Base.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MdePkg/Include/Base.h b/MdePkg/Include/Base.h index e0bcd0ae67..33211b96f7 100644 --- a/MdePkg/Include/Base.h +++ b/MdePkg/Include/Base.h @@ -623,7 +623,7 @@ typedef char* VA_LIST; #elif defined(__GNUC__) || defined(__clang__) -#if defined(MDE_CPU_X64) && !defined(NO_MSABI_VA_FUNCS) && !defined(__clang__) +#if defined(MDE_CPU_X64) && !defined(NO_MSABI_VA_FUNCS) // // X64 only. Use MS ABI version of GCC built-in macros for variable argument lists. // -- 2.16.2.windows.1