Re: [Xen-devel] [PATCH v2] xen: add macro for defining variable length array in public headers

2019-09-03 Thread Jan Beulich
On 03.09.2019 07:15, Juergen Gross wrote: > Several public headers of the hypervisor contain structures with > variable length arrays. In order to be usable with different compilers > those definitions are depending on the compiler type and the standard > supported by the compiler. > > In order

[Xen-devel] [PATCH v2] xen: add macro for defining variable length array in public headers

2019-09-02 Thread Juergen Gross
Several public headers of the hypervisor contain structures with variable length arrays. In order to be usable with different compilers those definitions are depending on the compiler type and the standard supported by the compiler. In order to avoid open coding the different variants in each