path: root/src/mesa/drivers/dri/i965/brw_context.h
diff options
authorKenneth Graunke <>2013-01-08 12:46:05 -0800
committerKenneth Graunke <>2013-01-12 15:35:40 -0800
commit2c4ad502ce12259160be6c73ebdd6e73a5d27c6f (patch)
treedc334663fe33639ec6adc02b1e7f8db497079ab4 /src/mesa/drivers/dri/i965/brw_context.h
parentfea648db08114e0e10c164e2d6507b71bd22f63a (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: Reviewed-by: Matt Turner <>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_context.h')
0 files changed, 0 insertions, 0 deletions