DPDK patches and discussions
 help / color / mirror / Atom feed
From: "Wiles, Roger Keith" <keith.wiles@windriver.com>
To: Thomas Monjalon <thomas.monjalon@6wind.com>
Cc: "dev@dpdk.org" <dev@dpdk.org>
Subject: Re: [dpdk-dev] Clang reporting a problem when adding another member initialization.
Date: Mon, 6 Oct 2014 14:55:03 +0000	[thread overview]
Message-ID: <40646D45-E5FE-4164-BDCB-2334EF4FA00D@windriver.com> (raw)
In-Reply-To: <2131179.2o0Ydgys2N@xps13>


On Oct 6, 2014, at 3:54 AM, Thomas Monjalon <thomas.monjalon@6wind.com> wrote:

> 2014-10-03 21:05, Wiles, Roger Keith:
>> I run into a problem with Clang report problem when I tried to add
>> another member to the static initializer of the following in file
>> ixgbe_rxtx_vec.c
> [...]
>> Then I removed the {} and it now builds. Is this a result of the
>> changes to the mbuf structure and Clang being picky?
>> 
>> Should I submit a patch to remove the ‘{ }’ values?
> 
> You should check this thread:
> 	http://dpdk.org/ml/archives/dev/2014-September/005504.html
> 
> You may be hitting a compiler bug.
> 

Is the placement of the comma in the code the right location, it just does not look right to me?
We can leave it as is, but we should have added some comment to the code to explain this one bug.

> -- 
> Thomas

Keith Wiles, Principal Technologist with CTO office, Wind River mobile 972-213-5533

      reply	other threads:[~2014-10-06 14:47 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-03 21:05 Wiles, Roger Keith
2014-10-06  8:54 ` Thomas Monjalon
2014-10-06 14:55   ` Wiles, Roger Keith [this message]

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=40646D45-E5FE-4164-BDCB-2334EF4FA00D@windriver.com \
    --to=keith.wiles@windriver.com \
    --cc=dev@dpdk.org \
    --cc=thomas.monjalon@6wind.com \
    /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).