Re: [Mesa-dev] [PATCH] i965: Fix build error with clang.

2013-01-08 Thread Matt Turner
On Tue, Jan 8, 2013 at 12:46 PM, Kenneth Graunke wrote: > Technically, variable sized arrays are a required feature of C99, > redacted to be optional in C11, and not actually part of C++ whatsoever. > > Gcc allows using them in C++ unless you specify -pedantic, and Clang > appears to allow them fo

[Mesa-dev] [PATCH] i965: Fix build error with clang.

2013-01-08 Thread Kenneth Graunke
Technically, variable sized arrays are a required feature of C99, redacted to be optional in C11, and not actually part of C++ whatsoever. Gcc allows using them in C++ unless you specify -pedantic, and Clang appears to allow them for simple/POD types. exec_list is arguably POD, since it doesn't h