[dpdk-dev] [PATCH] eal: fix C++ build (struct member: virtual)
David Marchand
david.marchand at 6wind.com
Tue Sep 29 08:24:46 CEST 2015
Hello Christoph,
On Sat, Sep 26, 2015 at 3:09 PM, Christoph Gysin <christoph.gysin at 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
More information about the dev
mailing list