title: Is it possible to get gcc to ignore unknown -W... command line options?
body: <p>I have a build configuration that has some "-Wno" options meant to cover both 'gcc' and 'clang'. The problem is that gcc doesn't recognize some of the clang specific ones and fails to compile because of it.</p>
  
  <p>Example of the error:</p>
  
  <pre><code> error: unrecognized command line option "-Wno-self-assign"
  </code></pre>
  
  <p>Is there a way to tell gcc to ignore command line options that it doesn't recognize?</p>