DPDK patches and discussions
 help / color / mirror / Atom feed
From: Marc Sune <marc.sune@bisdn.de>
To: "<dev@dpdk.org>" <dev@dpdk.org>
Subject: [dpdk-dev] clang compilation error ACL library
Date: Wed, 22 Oct 2014 09:15:58 +0200	[thread overview]
Message-ID: <544759AE.3090403@bisdn.de> (raw)

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

                 reply	other threads:[~2014-10-22  7:07 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=544759AE.3090403@bisdn.de \
    --to=marc.sune@bisdn.de \
    --cc=dev@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).