title: error: cannot convert from'func::str' to 'str*'
body: <p>I'm getting this error but I really don't know why.</p>
  
  <pre><code>#include &lt;stdio.h&gt;
  static struct str* func(void);
  int main(void) {
  
     return 0;
  }
  static struct  str* func(void) {
     struct str {
         char arimb1 : 4;
         char arimb2 : 4;
         char arimb3 : 4;
         char arimb4 : 4;
     }s;
     static struct  str * ptr;
     ptr = &amp;s;
     return (ptr);
  
  }
  </code></pre>
  
  <p>And the error(s) are: </p>
  
  <pre><code>return value type does not match the function type  [E0120]
  'return': cannot convert from 'func::str *' to 'str *' [C2440]
  </code></pre>
  
  <p>Thank you all so much!<br/>
  PS: I'm using Visual Studio (Microsoft) but I've tried also repl c and I'm getting the same error there too.  </p>