[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH] introduce __must_be_array



On 20/05/2009 06:04, "Jan Beulich" <JBeulich@xxxxxxxxxx> wrote:

> Cloning the similar construct from Linux, allowing to detect improper
> uses of ARRAY_SIZE() at build time.
> 
> Signed-off-by: Jan Beulich <jbeulich@xxxxxxxxxx>

Would simply removing the cast to void from BUILD_BUG_ON() lead to compiler
warnings?

 -- Keir



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.