From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-x229.google.com (mail-wm0-x229.google.com [IPv6:2a00:1450:400c:c09::229]) (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 197C881D2D for ; Fri, 28 Oct 2016 03:54:10 -0700 (PDT) Received: by mail-wm0-x229.google.com with SMTP id p190so1295028wmp.1 for ; Fri, 28 Oct 2016 03:54:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=9S4xLgMt3G2dsofBzIPi8lP0i0voSKymCOZOUbwin9E=; b=EEtGtO0lBro8w8P7ryN5t6uYtYXgdHCH+dy4t0uBR1hMp1e0+4jeeeIHgjjoQnN/9G 5fzzNZhDX6jxS+EHzqf9OTfBVFWljD8UFzObLBeS+PNohljPphWK3yyZy6KNSxFjdp2n 2XsAaRj4oUrE1huH1o7Zcu4COL/81jLaj1Pxo= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=9S4xLgMt3G2dsofBzIPi8lP0i0voSKymCOZOUbwin9E=; b=ZJuAooeZ6xmarLqApGMxPqew6NubBSsAEgTi432SwPVvkD65egCSjpTY3vtbkakAgP IRmlr/GxzVjEzNDHiVR2qORNHUwNBAc6E6YA1fSoPsvVelga3iud9j5bI2KVrb6kkp2d g9OnoxAVY/xKsh6eRbSL5EJyts7ZTu/XitJsWQJ7I/EIzernLNbfqAZLAk4ppfnZH/EB pLw5jLDvOrcngsjRVroeelmZQWQ/Wp4x2rhbH8a1DOkPZhkoVjFPOifFdx8tHm6vF8DV LCJ2FcLvf3h+93oghFYvquR3woxO4YpnlhjgLKCKsXr3+jOnWqer+Jg3e+cgg4Ou6IpD HPUQ== X-Gm-Message-State: ABUngvd99VBi9v8gHUZDDYayV0H6PS/RddaXKCOT645W0rJ/GGPdmtiBYh8jOTbjBK6yj1Jk X-Received: by 10.28.11.17 with SMTP id 17mr2866813wml.88.1477652049167; Fri, 28 Oct 2016 03:54:09 -0700 (PDT) Received: from bivouac.eciton.net (bivouac.eciton.net. [2a00:1098:0:86:1000:23:0:2]) by smtp.gmail.com with ESMTPSA id l6sm6655797wjc.7.2016.10.28.03.54.08 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 28 Oct 2016 03:54:08 -0700 (PDT) Date: Fri, 28 Oct 2016 11:54:06 +0100 From: Leif Lindholm To: Ard Biesheuvel Cc: edk2-devel@lists.01.org, lersek@redhat.com, ryan.harkin@linaro.org Message-ID: <20161028105406.GG1161@bivouac.eciton.net> References: <1477646896-21444-1-git-send-email-ard.biesheuvel@linaro.org> <1477646896-21444-7-git-send-email-ard.biesheuvel@linaro.org> MIME-Version: 1.0 In-Reply-To: <1477646896-21444-7-git-send-email-ard.biesheuvel@linaro.org> User-Agent: Mutt/1.5.23 (2014-03-12) Subject: Re: [PATCH v3 6/6] ArmPkg: enable -DDISABLE_NEW_DEPRECATED_INTERFACES 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, 28 Oct 2016 10:54:10 -0000 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Fri, Oct 28, 2016 at 10:28:16AM +0100, Ard Biesheuvel wrote: > Define DISABLE_NEW_DEPRECATED_INTERFACES on the compiler command line by > default, to prevent deprecated interfaces from being used in core EDK2 > code. > > Bug: https://bugzilla.tianocore.org/show_bug.cgi?id=164 > Contributed-under: TianoCore Contribution Agreement 1.0 > Signed-off-by: Ard Biesheuvel > Acked-by: Laszlo Ersek > Tested-by: Ryan Harkin Reviewed-by: Leif Lindholm > --- > ArmPkg/ArmPkg.dsc | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/ArmPkg/ArmPkg.dsc b/ArmPkg/ArmPkg.dsc > index 8b2bfa2338f0..64bc799b8e56 100644 > --- a/ArmPkg/ArmPkg.dsc > +++ b/ArmPkg/ArmPkg.dsc > @@ -3,6 +3,7 @@ > # > # Copyright (c) 2009 - 2010, Apple Inc. All rights reserved.
> # Copyright (c) 2011 - 2015, ARM Ltd. All rights reserved.
> +# Copyright (c) 2016, Linaro Ltd. All rights reserved.
> # > # This program and the accompanying materials > # are licensed and made available under the terms and conditions of the BSD License > @@ -36,6 +37,7 @@ [BuildOptions] > RVCT:*_*_ARM_PLATFORM_FLAGS == --cpu Cortex-A15 > > RELEASE_*_*_CC_FLAGS = -DMDEPKG_NDEBUG > + *_*_*_CC_FLAGS = -DDISABLE_NEW_DEPRECATED_INTERFACES > > [LibraryClasses.common] > BaseLib|MdePkg/Library/BaseLib/BaseLib.inf > -- > 2.7.4 >