From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx.bisdn.de (mx.bisdn.de [185.27.182.31]) by dpdk.org (Postfix) with ESMTP id 44AC67E95 for ; Wed, 22 Oct 2014 09:07:09 +0200 (CEST) Received: from [172.16.251.36] (unknown [172.16.251.36]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx.bisdn.de (Postfix) with ESMTPSA id 4F883A2DA9 for ; Wed, 22 Oct 2014 09:15:27 +0200 (CEST) Message-ID: <544759AE.3090403@bisdn.de> Date: Wed, 22 Oct 2014 09:15:58 +0200 From: Marc Sune User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20131103 Icedove/17.0.10 MIME-Version: 1.0 To: "" Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: [dpdk-dev] clang compilation error ACL library X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Oct 2014 07:07:10 -0000 Hi all, The latest head produces this compilation error within librte_acl, with clang version 3.0-6.2: CC acl_gen.o /home/marc/dpdk/lib/librte_acl/acl_gen.c:249:11: error: array index of '-128' indexes before the beginning of the array [-Werror,-Warray-bounds] index = dfa[QRANGE_MIN]; ^ ~~~~~~~~~~ /home/marc/dpdk/lib/librte_acl/acl_gen.c:211:2: note: array 'dfa' declared here uint64_t *node_a, index, dfa[RTE_ACL_DFA_SIZE]; ^ 1 error generated. Best regards marc