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