Julien Grall writes ("Re: [PATCH for Xen 4.5] xen/arm: Add support for GICv3 
for domU"):
> I need to create an empty structure. Is the dummy field really needed?

Empty structs are a gcc extension (`(gcc-4.4) Empty Structures').  I
would be very surprised if clang didn't support them too.

AIUI our policy, gcc extensions are fine except in the Xen public
headers.

> If so, did you meant?
> 
> struct
> {
>    int :0;
> }

Whatever you do, don't do this!

Ian.

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

Reply via email to