title: Eclipse giving me Invalid arguments ' Candidates are: void * memset(void *, int, ?) ' though I know the args are good
body: <p>I am getting an invalid arguments error in eclipse, though I am confident my arguments are good.  The suggested arguments contains a '?' which I think may indicate the problem, though I do not know how to fix it.  </p>
  
  <p>I have done my best to copy the example I saw here:<br>
  <a href="http://www.cplusplus.com/reference/clibrary/cstring/memset/">http://www.cplusplus.com/reference/clibrary/cstring/memset/</a></p>
  
  <p>In order to be certain that I am getting the args right.</p>
  
  <pre><code>#include &lt;stdio.h&gt;
  #include &lt;string.h&gt;
  void foo()
  {
      char str[] = "why oh why does my IDE give me errors when I know my args are good?";
      memset(str, '-', 4);
      puts(str);
  }
  </code></pre>
  
  <p>Eclipse gives me the following error on the memset line:</p>
  
  <p>Invalid arguments ' Candidates are: void * memset(void *, int, ?) '</p>
  
  <p>What could be causing this?  And what is up with that '?' as the 3rd arg?</p>
  
  <p>Thanks in advance!</p>
  
  <p>PS:  Just noticed I am getting similar errors when I try to use operations like malloc, calloc, etc.</p>