>>> On 03.01.17 at 13:06, <andrew.coop...@citrix.com> wrote: > --- a/xen/arch/x86/cpu/cpu.h > +++ b/xen/arch/x86/cpu/cpu.h > @@ -1,9 +1,13 @@ > /* attempt to consolidate cpu attributes */ > struct cpu_dev { > - char * c_vendor; > + char c_vendor[8]; > > - /* some have two possibilities for cpuid string */ > - char * c_ident[2]; > + union { > + char c_ident[13]; > + struct { > + uint32_t b, d, c; > + }; > + };
This broke the build with at least gcc 4.3.x, which doesn't allow initializers for unnamed struct/union. Jan _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org https://lists.xen.org/xen-devel