Thread (116 messages) 116 messages, 7 authors, 2017-04-13

Re: [PATCH v2 02/14] ring: create common structure for prod and cons metadata

From: Bruce Richardson <hidden>
Date: 2017-03-22 16:38:45

On Wed, Mar 15, 2017 at 03:01:49PM +0100, Thomas Monjalon wrote:
clang error below:

2017-03-07 11:32, Bruce Richardson:
quoted
+       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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help