From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by ml01.01.org (Postfix) with ESMTP id 356451A1DFB for ; Thu, 4 Aug 2016 18:31:41 -0700 (PDT) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga102.fm.intel.com with ESMTP; 04 Aug 2016 18:31:40 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.28,471,1464678000"; d="scan'208";a="1030053380" Received: from fmsmsx105.amr.corp.intel.com ([10.18.124.203]) by orsmga002.jf.intel.com with ESMTP; 04 Aug 2016 18:31:40 -0700 Received: from shsmsx102.ccr.corp.intel.com (10.239.4.154) by FMSMSX105.amr.corp.intel.com (10.18.124.203) with Microsoft SMTP Server (TLS) id 14.3.248.2; Thu, 4 Aug 2016 18:31:40 -0700 Received: from shsmsx103.ccr.corp.intel.com ([169.254.4.181]) by shsmsx102.ccr.corp.intel.com ([169.254.2.147]) with mapi id 14.03.0248.002; Fri, 5 Aug 2016 09:31:38 +0800 From: "Ni, Ruiyu" To: "Wu, Hao A" , "edk2-devel@lists.01.org" , "Gao, Liming" Thread-Topic: [PATCH 01/17] FatPkg DSC: Add build option to disable deprecated APIs Thread-Index: AQHR7rPERf2/J8eaSkKmGfiByY20caA5lMGQ Date: Fri, 5 Aug 2016 01:31:38 +0000 Message-ID: <734D49CCEBEEF84792F5B80ED585239D1ADB1173@SHSMSX103.ccr.corp.intel.com> References: <1470358387-13996-1-git-send-email-hao.a.wu@intel.com> <1470358387-13996-2-git-send-email-hao.a.wu@intel.com> In-Reply-To: <1470358387-13996-2-git-send-email-hao.a.wu@intel.com> Accept-Language: en-US, zh-CN X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiZThkNjdkYTQtODQ0YS00M2Y0LWIwZWUtNTMwMDQ4ZmVhZmM3IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX1BVQkxJQyJ9XX1dfSwiU3ViamVjdExhYmVscyI6W10sIlRNQ1ZlcnNpb24iOiIxNS45LjYuNiIsIlRydXN0ZWRMYWJlbEhhc2giOiJyUnVBYnZTMjQwZ1ZTTW9uSmR0VVRYOWhRRmdhZ21SRW55V1BtRm5mV3BVPSJ9 x-ctpclassification: CTP_PUBLIC x-originating-ip: [10.239.127.40] MIME-Version: 1.0 Subject: Re: [PATCH 01/17] FatPkg DSC: Add build option to disable deprecated APIs X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Aug 2016 01:31:41 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Reviewed-by: Ruiyu Ni >-----Original Message----- >From: Wu, Hao A >Sent: Friday, August 5, 2016 8:53 AM >To: edk2-devel@lists.01.org; Gao, Liming >Cc: Wu, Hao A ; Ni, Ruiyu >Subject: [PATCH 01/17] FatPkg DSC: Add build option to disable deprecated = APIs > >Add the following definition in the [BuildOptions] section in package DSC >files to disable APIs that are deprecated: > >[BuildOptions] > *_*_*_CC_FLAGS =3D -D DISABLE_NEW_DEPRECATED_INTERFACES > >Cc: Ruiyu Ni >Contributed-under: TianoCore Contribution Agreement 1.0 >Signed-off-by: Hao Wu >--- > FatPkg/FatPkg.dsc | 1 + > 1 file changed, 1 insertion(+) > >diff --git a/FatPkg/FatPkg.dsc b/FatPkg/FatPkg.dsc >index 9250ae0..d654120 100644 >--- a/FatPkg/FatPkg.dsc >+++ b/FatPkg/FatPkg.dsc >@@ -31,6 +31,7 @@ > INTEL:RELEASE_*_*_CC_FLAGS =3D /D MDEPKG_NDEBUG > MSFT:RELEASE_*_*_CC_FLAGS =3D /D MDEPKG_NDEBUG > RVCT:RELEASE_*_*_CC_FLAGS =3D -DMDEPKG_NDEBUG >+ *_*_*_CC_FLAGS =3D -D DISABLE_NEW_DEPRECATED_INTE= RFACES > > [LibraryClasses] > # >-- >1.9.5.msysgit.0