title: implicit int and implicit declaration of functions with gcc compiler
body: <p>I read in the c99 Standard:</p>
  
  <pre><code>-remove implicit function declaration,
  
  -remove implicit int.
  </code></pre>
  
  <p>But when I try to compile this code with gcc compiler in c99 mode using -pedantic</p>
  
  <pre><code>main(void){
      f(3);
      return 0;
  }
  
  
  int f(int a){
      ....
  }
  </code></pre>
  
  <p>I expect 2 errors, but I just receive 2 warnings:</p>
  
  <pre><code>-warning: return type defaults to ‘int’
  
  -warning: implicit declaration of function ‘f’.
  </code></pre>
  
  <p>Shouldn't them be errors in c99?</p>
  
  <p><a href="http://gcc.gnu.org/c99status.html" rel="nofollow">http://gcc.gnu.org/c99status.html</a>
  In both situations there's written "done".</p>
  
  <p>Thanks.</p>