summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/intel/intel_screen.h
diff options
context:
space:
mode:
authorKenneth Graunke <kenneth@whitecape.org>2013-01-08 12:46:05 -0800
committerKenneth Graunke <kenneth@whitecape.org>2013-01-12 15:35:40 -0800
commit2c4ad502ce12259160be6c73ebdd6e73a5d27c6f (patch)
treedc334663fe33639ec6adc02b1e7f8db497079ab4 /src/mesa/drivers/dri/intel/intel_screen.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: https://bugs.freedesktop.org/show_bug.cgi?id=58970 Reviewed-by: Matt Turner <mattst88@gmail.com>
Diffstat (limited to 'src/mesa/drivers/dri/intel/intel_screen.h')
0 files changed, 0 insertions, 0 deletions