<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Mesa 11.0.0-rc2 - state_trackers/clover does not build on FreeBSD"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=91826#c3">Comment # 3</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Mesa 11.0.0-rc2 - state_trackers/clover does not build on FreeBSD"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=91826">bug 91826</a>
              from <span class="vcard"><a class="email" href="mailto:albertwdfreeman@gmail.com" title="Albert Freeman <albertwdfreeman@gmail.com>"> <span class="fn">Albert Freeman</span></a>
</span></b>
        <pre>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)).</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the QA Contact for the bug.</li>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>