title: This function declaration is throwing an error: expected ‘;’, ‘,’ or ‘)’ before ‘=’ token
body: <pre><code>#include &lt;libxml/xmlmemory.h&gt;
  #include &lt;libxml/parser.h&gt;
  static xmlDocPtr importSettings(char file[]="CsSettings.xml"){}
  </code></pre>
  
  <p>That's not so complicated, why does it always throw this error?</p>
  
  <pre><code>test.c:3: error: expected ‘;’, ‘,’ or ‘)’ before ‘=’ token
  </code></pre>
  
  <p>Am I compiling it wrong?</p>