From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 71F432194235A for ; Mon, 10 Apr 2017 02:50:33 -0700 (PDT) Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga105.fm.intel.com with ESMTP; 10 Apr 2017 02:50:33 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.37,182,1488873600"; d="scan'208";a="246684743" Received: from fmsmsx105.amr.corp.intel.com ([10.18.124.203]) by fmsmga004.fm.intel.com with ESMTP; 10 Apr 2017 02:50:32 -0700 Received: from fmsmsx101.amr.corp.intel.com (10.18.124.199) by FMSMSX105.amr.corp.intel.com (10.18.124.203) with Microsoft SMTP Server (TLS) id 14.3.319.2; Mon, 10 Apr 2017 02:50:32 -0700 Received: from shsmsx102.ccr.corp.intel.com (10.239.4.154) by fmsmsx101.amr.corp.intel.com (10.18.124.199) with Microsoft SMTP Server (TLS) id 14.3.319.2; Mon, 10 Apr 2017 02:50:32 -0700 Received: from shsmsx103.ccr.corp.intel.com ([169.254.4.117]) by shsmsx102.ccr.corp.intel.com ([169.254.2.246]) with mapi id 14.03.0319.002; Mon, 10 Apr 2017 17:50:25 +0800 From: "Zhu, Yonghong" To: "Gao, Liming" , "edk2-devel@lists.01.org" Thread-Topic: [Patch] BaseTools: Add option in CLANG38 to disable warning unknown-warning-option Thread-Index: AQHSsbsvy/pPTxM2EECbopzi2Ser9qG+XDnw Date: Mon, 10 Apr 2017 09:50:25 +0000 Message-ID: References: <1491802053-7692-1-git-send-email-liming.gao@intel.com> In-Reply-To: <1491802053-7692-1-git-send-email-liming.gao@intel.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] MIME-Version: 1.0 Subject: Re: [Patch] BaseTools: Add option in CLANG38 to disable warning unknown-warning-option X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Apr 2017 09:50:33 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Reviewed-by: Yonghong Zhu Best Regards, Zhu Yonghong -----Original Message----- From: Gao, Liming=20 Sent: Monday, April 10, 2017 1:28 PM To: edk2-devel@lists.01.org Cc: Zhu, Yonghong Subject: [Patch] BaseTools: Add option in CLANG38 to disable warning unknow= n-warning-option https://bugzilla.tianocore.org/show_bug.cgi?id=3D466 Cc: Yonghong Zhu Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Liming Gao --- BaseTools/Conf/tools_def.template | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BaseTools/Conf/tools_def.template b/BaseTools/Conf/tools_def.t= emplate index 14ecfed..427ef1b 100755 --- a/BaseTools/Conf/tools_def.template +++ b/BaseTools/Conf/tools_def.template @@ -5512,7 +5512,7 @@ DEFINE CLANG38_X64_PREFIX =3D ENV(CLANG38_B= IN) DEFINE CLANG38_IA32_TARGET =3D -target i686-pc-linux-gnu DEFINE CLANG38_X64_TARGET =3D -target x86_64-pc-linux-gnu =20 -DEFINE CLANG38_ALL_CC_FLAGS =3D DEF(GCC44_ALL_CC_FLAGS) -Wno-empty= -body -fno-stack-protector -mms-bitfields -Wno-address -Wno-shift-negative-= value -Wno-parentheses-equality -Wno-unknown-pragmas -Wno-tautological-cons= tant-out-of-range-compare -Wno-incompatible-library-redeclaration -fno-asyn= chronous-unwind-tables -mno-sse -mno-mmx -msoft-float -mno-implicit-float = -ftrap-function=3Dundefined_behavior_has_been_optimized_away_by_clang -funs= igned-char -fno-ms-extensions -Wno-null-dereference -Wno-tautological-compa= re +DEFINE CLANG38_ALL_CC_FLAGS =3D DEF(GCC44_ALL_CC_FLAGS) -Wno-empty= -body -fno-stack-protector -mms-bitfields -Wno-address -Wno-shift-negative-= value -Wno-parentheses-equality -Wno-unknown-pragmas -Wno-tautological-cons= tant-out-of-range-compare -Wno-incompatible-library-redeclaration -fno-asyn= chronous-unwind-tables -mno-sse -mno-mmx -msoft-float -mno-implicit-float = -ftrap-function=3Dundefined_behavior_has_been_optimized_away_by_clang -funs= igned-char -fno-ms-extensions -Wno-null-dereference -Wno-tautological-compa= re -Wno-unknown-warning-option =20 ########################### # CLANG38 IA32 definitions --=20 2.8.0.windows.1