[cfe-dev] Error on valid array variable declaration?

Steve Naroff snaroff at apple.com
Fri Jan 18 12:42:19 PST 2008


Fixed by r46179.

Thanks,

snaroff

On Jan 17, 2008, at 10:30 PM, Eli Friedman wrote:

> int a[];
>
> This declaration is a tentative definition with an incomplete type; it
> is a perfectly valid construct. clang gives a bogus "variable has
> incomplete type 'int []'" error.
>
> -Eli
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev




More information about the cfe-dev mailing list