title: Suppress -Wunknown-pragmas warning in GCC
body: <p>I try to ignore warnings coming from some 3rd party header files like this:</p>
  
  <pre><code>#pragma GCC diagnostic push
  #pragma GCC diagnostic ignored "-Wunknown-pragmas"
  #pragma GCC diagnostic ignored "-Wreorder"
  
  #include &lt;some_3rd_party_header.h&gt;
  
  #pragma GCC diagnostic pop
  </code></pre>
  
  <p>This approach seems to work in general, but not for the unknown pragma warnings (I still get them). </p>
  
  <p>Why does it work for other warnings but not for this one? Can anyone confirm this behaviour?</p>
  
  <p>I'm using g++ (version 4.7.1) with <code>-Wall</code> and <code>-std=c++0x</code> under Debian.</p>