title: Making `too many arguments in call to function` an error in Clang
body: <p>I am trying to make the compiler warning <code>warning: too many arguments in call to 'IF'</code> an error (where <code>IF</code> is a function).</p>
  
  <p>I am having trouble configuring clang, as I cannot figure out the actual name of the warning.</p>
  
  <p>I tried the following:</p>
  
  <pre><code>clang -Werror=too-many-arguments main.c
  
  warning: unknown warning option '-Werror=too-many-arguments'; did you mean '-Werror=unknown-argument'?
    [-Wunknown-warning-option]
  </code></pre>
  
  <p>But that just produces the warning above.</p>
  
  <p>With </p>
  
  <pre><code>clang -Werror main.c
  </code></pre>
  
  <p>The warning does become an error, but I am trying to make only this specific warning an error.</p>
  
  <p>How do I find the name of this compiler warning so I can promote it to a compiler error?</p>
  
  <p>Thanks.</p>