diff options
author | Kenneth Graunke <[email protected]> | 2013-01-08 12:46:05 -0800 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2013-01-12 15:35:40 -0800 |
commit | 2c4ad502ce12259160be6c73ebdd6e73a5d27c6f (patch) | |
tree | dc334663fe33639ec6adc02b1e7f8db497079ab4 /src/mapi | |
parent | fea648db08114e0e10c164e2d6507b71bd22f63a (diff) |
i965: Fix build error with clang.
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 have virtual methods, but I
can see why Clang would be like "meh, it's a C++ struct, say no", seeing as
it's meant to support C99.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=58970
Reviewed-by: Matt Turner <[email protected]>
Diffstat (limited to 'src/mapi')
0 files changed, 0 insertions, 0 deletions