title: Compiler error involving restrict keyword
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/776283/what-does-the-restrict-keyword-mean-in-c">What does the restrict keyword mean in C++?</a>  </p>
  </blockquote>
  
  
  
  <p>I'm trying to install <a href="http://code.google.com/p/qmcpack/" rel="nofollow noreferrer">QMCPACK</a> on OS X 10.8.2 and I'm getting a lot of errors like this: </p>
  
  <pre><code>bspline_base.h:95:17: error: expected ';' at end of declaration list
  void *restrict coefs;
                ^
                ;
  </code></pre>
  
  <p>I am unfamiliar with the restrict keyword but I feel like this may be some other kind of problem, because this is a popular code that compiles for other people.</p>
  
  <p>Here is the full context of that code:</p>
  
  <pre><code>typedef struct
  {
    spline_code sp_code;
    type_code   t_code;
    void *restrict coefs;
  } Bspline;
  </code></pre>