All of lore.kernel.org
 help / color / mirror / Atom feed
* clang compilation error ACL library
@ 2014-10-22  7:15 Marc Sune
  0 siblings, 0 replies; only message in thread
From: Marc Sune @ 2014-10-22  7:15 UTC (permalink / raw)
  To: <dev-VfR2kkLFssw@public.gmane.org>

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2014-10-22  7:15 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-10-22  7:15 clang compilation error ACL library Marc Sune

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.