Re: [Xen-devel] [PATCH v2 2/2] misc: Replace zero-length arrays with flexible array member (manual)

2020-03-07 Thread Michael S. Tsirkin
On Wed, Mar 04, 2020 at 04:38:16PM +0100, Philippe Mathieu-Daudé wrote: > Description copied from Linux kernel commit from Gustavo A. R. Silva > (see [3]): > > --v-- description start --v-- > > The current codebase makes use of the zero-length array language > extension to the C90 standard,

[Xen-devel] [PATCH v2 2/2] misc: Replace zero-length arrays with flexible array member (manual)

2020-03-04 Thread Philippe Mathieu-Daudé
Description copied from Linux kernel commit from Gustavo A. R. Silva (see [3]): --v-- description start --v-- The current codebase makes use of the zero-length array language extension to the C90 standard, but the preferred mechanism to declare variable-length types such as these ones is a