From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) (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 44B7E1A1DF8 for ; Fri, 21 Oct 2016 15:31:30 -0700 (PDT) Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 9FC747F7AB; Fri, 21 Oct 2016 22:31:29 +0000 (UTC) Received: from lacos-laptop-7.usersys.redhat.com (ovpn-116-45.phx2.redhat.com [10.3.116.45]) by int-mx11.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u9LMVRbT029007; Fri, 21 Oct 2016 18:31:28 -0400 To: Jordan Justen , Andrew Fish References: <147707992484.13791.10042868456965197315@jljusten-ivb> <147708236992.14194.656313834108120082@jljusten-ivb> <147708782254.15094.11260195572460159641@jljusten-ivb> Cc: Mike Kinney , edk2-devel-01 , "Gao, Liming" , Leif Lindholm , Ard Biesheuvel From: Laszlo Ersek Message-ID: <32ac0268-7b31-5a41-358a-b876ad6ae8cd@redhat.com> Date: Sat, 22 Oct 2016 00:31:26 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 MIME-Version: 1.0 In-Reply-To: <147708782254.15094.11260195572460159641@jljusten-ivb> X-Scanned-By: MIMEDefang 2.68 on 10.5.11.24 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.28]); Fri, 21 Oct 2016 22:31:29 +0000 (UTC) Subject: Re: [Bug 164] Add the build option "/D DISABLE_NEW_DEPRECATED_INTERFACES" in package DSC files 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, 21 Oct 2016 22:31:30 -0000 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit On 10/22/16 00:10, Jordan Justen wrote: > On 2016-10-21 14:02:44, Laszlo Ersek wrote: >> Honestly, I imagined that DISABLE_NEW_DEPRECATED_INTERFACES would be >> temporary in the edk2 tree. That is, it's a means so we can gradually >> transition with all the in-tree stuff to a deprecationless code base. >> Once that's done -- i.e., *all* platform DSCs within the edk2 tree >> specify this feature test macro under their respective [BuildOptions] >> sections --, then whatever the macro excises from the core packages can >> be removed permanently, together with those platform [BuildOptions]. >> > > That could be reasonable, although I'd argue that we could flip it > around. Opt-in to the deprecated interfaces on all platforms, and then > start marking deprecated interfaces. Finally we could clean up > platforms and removed the override. That's a valid idea, IMO. > But ... I think DISABLE_NEW_DEPRECATED_INTERFACES was first added in: > > commit bf4a3dbd4751b6411bdfc98bf3ac2c4f928bdfdf > Author: ydong10 > Date: Wed May 30 07:36:00 2012 +0000 > > So, I guess it is not going to be removed anytime soon. :( I believe we just need to make progress with the individual platforms (and their dependencies from other Pkgs). It's not a lot of fun, but the BZs exist (well, they can be filed) now, and then we can address them... I mean, I didn't care (or, really, know) about DISABLE_NEW_DEPRECATED_INTERFACES until the ArmVirtPkg / OvmfPkg BZs got filed. Bugzilla is great. I like the attention that it gets, from others and from myself. Thanks Laszlo