title: ISO C Void * and Function Pointers
body: <p>While following some tutorials and reading about function pointers I learned that evidently assigning a void pointer to a function pointer in ISO C is undefined, is there any way to resolve the warning I receive during compile time (e.g. a better way of coding it) or should I just ignore it?</p>
  
  <p>Warning:</p>
  
  <pre><code>ISO C forbids assignment between function pointer and 'void *' [-pedantic]
  </code></pre>
  
  <p>Example Code:</p>
  
  <pre><code>void *(*funcPtr)();
  funcPtr = GetPointer();
  </code></pre>
  
  <p>GetPointer is a function that returns a void pointer E.G.</p>
  
  <pre><code>void *GetPointer();
  </code></pre>