[dpdk-dev] [PATCH v2 02/14] ring: create common structure for prod and cons metadata
Bruce Richardson
bruce.richardson at intel.com
Wed Mar 22 17:38:41 CET 2017
On Wed, Mar 15, 2017 at 03:01:49PM +0100, Thomas Monjalon wrote:
> clang error below:
>
> 2017-03-07 11:32, Bruce Richardson:
> > + union {
> > + uint32_t sp_enqueue; /**< True, if single producer. */
> > + uint32_t sc_dequeue; /**< True, if single consumer. */
> > + };
>
> error: anonymous unions are a C11 extension
What clang version and other CFLAGS settings are you using? Clang
compilation runs fine for me with clang 3.9.1 on Fedora 25.
/Bruce
More information about the dev
mailing list