DPDK patches and discussions
 help / color / mirror / Atom feed
From: David Marchand <david.marchand@6wind.com>
To: Christoph Gysin <christoph.gysin@gmail.com>
Cc: "dev@dpdk.org" <dev@dpdk.org>
Subject: Re: [dpdk-dev] [PATCH] eal: fix C++ build (struct member: virtual)
Date: Tue, 29 Sep 2015 08:24:46 +0200	[thread overview]
Message-ID: <CALwxeUv2_3twRgRzf7iKdyq0oU8nFdC-bvcSa0ysRWRsrjLB7Q@mail.gmail.com> (raw)
In-Reply-To: <5606a0f0.9e18190a.7bb4d.44f4@mx.google.com>

Hello Christoph,

On Sat, Sep 26, 2015 at 3:09 PM, Christoph Gysin <christoph.gysin@gmail.com>
wrote:

> 'virtual' is a keyword and can't be used if the code is to compile with
> C++ compilers.
>
> If rte_devargs.h was included in C++ code, compilation with clang++
> failed with an error. g++ did not fail, but only because of a bug
> that treats it as an anonymous struct with a decl-specifier which it
> ignores.
>
> This simply renames the member to 'virt'.
>

Ack with your signed-off.

-- 
David Marchand

  reply	other threads:[~2015-09-29  6:24 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-26 13:09 Christoph Gysin
2015-09-29  6:24 ` David Marchand [this message]
2015-09-29  6:53   ` Christoph Gysin
2015-10-03 10:14     ` Christoph Gysin
2015-10-05  9:44     ` Dumitrescu, Cristian
2015-10-13  9:10       ` Christoph Gysin
2015-10-13  9:13         ` David Marchand
2015-10-13 12:23           ` David Marchand
2015-10-22 15:52             ` Thomas Monjalon
  -- strict thread matches above, loose matches on Subject: below --
2015-09-26 13:09 Christoph Gysin
2015-09-28 20:04 ` Dumitrescu, Cristian

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=CALwxeUv2_3twRgRzf7iKdyq0oU8nFdC-bvcSa0ysRWRsrjLB7Q@mail.gmail.com \
    --to=david.marchand@6wind.com \
    --cc=christoph.gysin@gmail.com \
    --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).