[Mesa-dev] [Bug 91826] Mesa 11.0.0-rc2 - state_trackers/clover does not build on FreeBSD
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Mon Aug 31 23:49:03 PDT 2015
https://bugs.freedesktop.org/show_bug.cgi?id=91826
--- Comment #3 from Albert Freeman <albertwdfreeman at gmail.com> ---
Well changing typename to enum seems to fix the problem:
diff --git a/src/gallium/state_trackers/clover/llvm/invocation.cpp
b/src/gallium/state_trackers/clover/llvm/invocation.cpp
index 7c23a27..d74b50d 100644
--- a/src/gallium/state_trackers/clover/llvm/invocation.cpp
+++ b/src/gallium/state_trackers/clover/llvm/invocation.cpp
@@ -465,7 +465,7 @@ namespace {
const bool is_write_only = access_qual == "write_only";
const bool is_read_only = access_qual == "read_only";
- typename module::argument::type marg_type;
+ enum module::argument::type marg_type;
if (is_image2d && is_read_only) {
marg_type = module::argument::image2d_rd;
} else if (is_image2d && is_write_only) {
Results in clang compilation warnings that are the equivalent of the gcc ones.
Of course someone familiar with the code should review this (especially since I
only learned what typename meant within the last few hours (correction: I still
don't really know)).
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20150901/86fe764f/attachment-0001.html>
More information about the mesa-dev
mailing list