From mboxrd@z Thu Jan 1 00:00:00 1970 From: Keir Fraser Subject: Re: [PATCH 10/34] xen/crypto: rijndael: Fix compilation with Clang 3.5 Date: Tue, 01 Apr 2014 16:54:53 +0100 Message-ID: <533AE14D.8090301@gmail.com> References: <1395766541-23979-1-git-send-email-julien.grall@linaro.org> <1395766541-23979-11-git-send-email-julien.grall@linaro.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta5.messagelabs.com ([195.245.231.135]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1WV11e-0000Av-PJ for xen-devel@lists.xenproject.org; Tue, 01 Apr 2014 15:54:59 +0000 Received: by mail-we0-f171.google.com with SMTP id t61so6404207wes.2 for ; Tue, 01 Apr 2014 08:54:57 -0700 (PDT) In-Reply-To: <1395766541-23979-11-git-send-email-julien.grall@linaro.org> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Julien Grall Cc: xen-devel@lists.xenproject.org, tim@xen.org, ian.campbell@citrix.com, stefano.stabellini@citrix.com List-Id: xen-devel@lists.xenproject.org Julien Grall wrote: > Td0, Td1, Td2, Td3, Td4 are only used when NEED_RIJNDAEL is defined. > > rijndael.c:383:18: error: unused variable 'Td0' [-Werror,-Wunused-const-variable] > static const u32 Td0[256] = { > ^ > rijndael.c:449:18: error: unused variable 'Td1' [-Werror,-Wunused-const-variable] > static const u32 Td1[256] = { > ^ > rijndael.c:515:18: error: unused variable 'Td2' [-Werror,-Wunused-const-variable] > static const u32 Td2[256] = { > ^ > rijndael.c:581:18: error: unused variable 'Td3' [-Werror,-Wunused-const-variable] > static const u32 Td3[256] = { > ^ > rijndael.c:647:18: error: unused variable 'Td4' [-Werror,-Wunused-const-variable] > static const u32 Td4[256] = { > > Signed-off-by: Julien Grall > Cc: Keir Fraser Acked-by: Keir Fraser