title: Gl3w compilation errors: invalid conversion from 'PROC ... to void*'
body: <p>Setting up gl3w in my computer: 2 errors that I have no idea how to resolve are being thrown:</p>
  
  <p>Function that's built by Gl3w script which has the errors:</p>
  
  <pre><code>static void *get_proc(const char *proc)               - line 19
  {
  void *res;
  
  res = wglGetProcAddress(proc);                    - line 23, first error
  if (!res)
      res = GetProcAddress(libgl, proc);        - line 25, second error
  return res;
  }
  </code></pre>
  
  <p>Build errors:</p>
  
  <pre><code>||=== LearnOPG, Debug ===|
  C:\CodeBlocks\LearnOPG\gl3w.c||In function 'void* get_proc(const char*)':|
  
  C:\CodeBlocks\LearnOPG\gl3w.c|23|error: invalid conversion from 'PROC {aka int (__attribute__((__stdcall__)) *)()}' to 'void*' [-fpermissive]|
  
  C:\CodeBlocks\LearnOPG\gl3w.c|25|error: invalid conversion from 'FARPROC {aka int (__attribute__((__stdcall__)) *)()}' to 'void*' [-fpermissive]|
  
  ||=== Build finished: 2 errors, 0 warnings (0 minutes, 0 seconds) ===|
  </code></pre>