Re: [PATCH 16/16] fix handling of integer constant expressions

From: Al Viro
Date: Wed Jun 27 2007 - 08:37:21 EST


On Wed, Jun 27, 2007 at 09:26:28PM +0900, Neil Booth wrote:
> DR 312 clarified the meaning of "known constant size"
>
> http://www.open-std.org/jtc1/sc22/wg14/www/docs/dr_312.htm
>
> in the sensible way, thankfully, so your example is actually invalid.

<looks> Aha. OK...

I'd say that 6.7.5.2[4] should simply have "element type is not a variable
length array" instead, regardless of clarification of "known constant size",
since element type is not allowed to be incomplete in any case. Would be
more readable... But yes, clarification makes sense anyway.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/