[cfe-dev] Clang bug with C99 array as parameter

John McCall rjmccall at apple.com
Tue Aug 3 15:33:40 PDT 2010


On Aug 3, 2010, at 4:49 AM, Mark Bertsch wrote:
> I do not know if this bug is already known:
> With clang trunk (r110038) the following call fails:
> clang test.c
> 
> with test.c:
> void function(short width, int data[][width]) {}
> void test() {
>     function(1, 0);
> }

Very interesting!  I looked into it, and there isn't a quick fix.  Please file a bug.

John.



More information about the cfe-dev mailing list