title: Default argument in the middle of parameter list?
body: <p>I saw a function declaration in our code that looked as follows</p>
  
  <pre><code>void error(char const *msg, bool showKind = true, bool exit);
  </code></pre>
  
  <p>I thought first that this is an error because you cannot have default arguments in the middle of functions, but the compiler accepted this declaration. Has anyone seen this before? I'm using GCC4.5. Is this a GCC extension?</p>
  
  <p>The weird thing is, if I take this out in a separate file and try to compile, GCC rejects it. I've double checked everything, including the compiler options used. </p>