title: gnu gcc How to suppress warning: ‘typedef’ was ignored in this declaration [enabled by default]
body: <p>I am using GNU gcc 4.6.2 on Fedora 16. I am writing an application using a 3rd party API, after compilation, I got a lot warnings. </p>
  
  <pre><code>warning: ‘typedef’ was ignored in this declaration [enabled by default]
  </code></pre>
  
  <p>Just wondering how can I suppress this? I compile my program with -Wall flag.</p>
  
  <p>In this doc, <a href="http://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html" rel="nofollow">http://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html</a>, it mentioned something like <strong>-Wunused-local-typedefs</strong>. </p>
  
  <p>I have tried <strong>-Wno-unused-local-typedefs</strong>, but doesn't work.</p>
  
  <p>Thanks.</p>