title: Disabling the "did you mean..." suggestions in GCC
body: <p>Newer versions of GCC come with what I consider to be an irritating misfeature: they try to second-guess me, emitting useless "did you mean?" suggestions that drown out other warnings.</p>
  
  <p>For example:</p>
  
  <pre><code>$ gcc -Wall -c -o /dev/null -xc - &lt;&lt;'EOT'
  #include &lt;stdlib.h&gt;
  
  void foo(char *b, size_t z){ readlink("/foo", b, z); }
  EOT
  &lt;stdin&gt;: In function ‘foo’:
  &lt;stdin&gt;:3:30: warning: implicit declaration of function ‘readlink’;
  did you mean ‘realloc’? [-Wimplicit-function-declaration]
  </code></pre>
  
  <p>No, I did not mean <code>realloc</code>; I just forgot to include the <code>unistd.h</code> header.</p>
  
  <p>Is there any way to turn this off?</p>
  
  <p>I want to have it print just <code>implicit declaration of function ‘readlink’ [-Wimplicit-function-declaration]</code>, without the helpful suggestion.</p>