|
|
|
|
|
|
|
|
|
|
xen-devel
Re: [Xen-devel] [PATCH] introduce __must_be_array
>>> Keir Fraser <keir.fraser@xxxxxxxxxxxxx> 20.05.09 15:15 >>>
>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?
While I didn't try it, I'm convinced it would.
Jan
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
|
|
|
|