<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body><span class="vcard"><a class="email" href="mailto:t_arceri@yahoo.com.au" title="Timothy Arceri <t_arceri@yahoo.com.au>"> <span class="fn">Timothy Arceri</span></a>
</span> changed
          <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - shader_query.cpp:49: error: invalid conversion from 'void*' to 'GLuint'"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=66346">bug 66346</a>
          <br>
             <table border="1" cellspacing="0" cellpadding="8">
          <tr>
            <th>What</th>
            <th>Removed</th>
            <th>Added</th>
          </tr>

         <tr>
           <td style="text-align:right;">Resolution</td>
           <td>---
           </td>
           <td>FIXED
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">Status</td>
           <td>REOPENED
           </td>
           <td>RESOLVED
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - shader_query.cpp:49: error: invalid conversion from 'void*' to 'GLuint'"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=66346#c22">Comment # 22</a>
              on <a class="bz_bug_link 
          bz_status_RESOLVED  bz_closed"
   title="RESOLVED FIXED - shader_query.cpp:49: error: invalid conversion from 'void*' to 'GLuint'"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=66346">bug 66346</a>
              from <span class="vcard"><a class="email" href="mailto:t_arceri@yahoo.com.au" title="Timothy Arceri <t_arceri@yahoo.com.au>"> <span class="fn">Timothy Arceri</span></a>
</span></b>
        <pre>Should be fixed by:

commit a087a09fa86f9617af98f6294dd2228555a4891c
Author: Jeremy Huddleston Sequoia <<a href="mailto:jeremyhu@apple.com">jeremyhu@apple.com</a>>
Date:   Wed Jan 20 16:59:45 2016 -0800

    mesa: Fix some function prototype mismatching

    main/api_exec.c:543:36: warning: incompatible pointer types passing 'void
(GLhandleARB, GLuint, const GLcharARB *)' (aka 'void (unsigned long, unsigned
int, const char *)') to
    parameter of
          type 'void (*)(GLuint, GLuint, const GLchar *)' (aka 'void
(*)(unsigned int, unsigned int, const char *)') [-Wincompatible-pointer-types]
          SET_BindAttribLocation(exec, _mesa_BindAttribLocation);
                                       ^~~~~~~~~~~~~~~~~~~~~~~~
    ./main/dispatch.h:7590:88: note: passing argument to parameter 'fn' here
    static inline void SET_BindAttribLocation(struct _glapi_table *disp, void
(GLAPIENTRYP fn)(GLuint, GLuint, const GLchar *)) {
                                                                               
           ^
    main/api_exec.c:547:31: warning: incompatible pointer types passing 'void
(GLhandleARB)' (aka 'void (unsigned long)') to parameter of type 'void
(*)(GLuint)' (aka 'void (*)(unsigned
    int)')
          [-Wincompatible-pointer-types]
          SET_CompileShader(exec, _mesa_CompileShader);
                                  ^~~~~~~~~~~~~~~~~~~
    ./main/dispatch.h:7612:83: note: passing argument to parameter 'fn' here
    static inline void SET_CompileShader(struct _glapi_table *disp, void
(GLAPIENTRYP fn)(GLuint)) {
                                                                               
      ^
    main/api_exec.c:568:33: warning: incompatible pointer types passing 'void
(GLhandleARB, GLuint, GLsizei, GLsizei *, GLint *, GLenum *, GLcharARB *)' (aka
'void (unsigned long,
    unsigned int,
          int, int *, int *, unsigned int *, char *)') to parameter of type
'void (*)(GLuint, GLuint, GLsizei, GLsizei *, GLint *, GLenum *, GLchar *)'
(aka 'void (*)(unsigned int,
    unsigned int,
          int, int *, int *, unsigned int *, char *)')
[-Wincompatible-pointer-types]
          SET_GetActiveAttrib(exec, _mesa_GetActiveAttrib);
                                    ^~~~~~~~~~~~~~~~~~~~~
    ./main/dispatch.h:7711:85: note: passing argument to parameter 'fn' here
    static inline void SET_GetActiveAttrib(struct _glapi_table *disp, void
(GLAPIENTRYP fn)(GLuint, GLuint, GLsizei , GLsizei *, GLint *, GLenum *, GLchar
*)) {
                                                                               
        ^
    main/api_exec.c:571:35: warning: incompatible pointer types passing 'GLint
(GLhandleARB, const GLcharARB *)' (aka 'int (unsigned long, const char *)') to
parameter of type
          'GLint (*)(GLuint, const GLchar *)' (aka 'int (*)(unsigned int, const
char *)') [-Wincompatible-pointer-types]
          SET_GetAttribLocation(exec, _mesa_GetAttribLocation);
                                      ^~~~~~~~~~~~~~~~~~~~~~~
    ./main/dispatch.h:7744:88: note: passing argument to parameter 'fn' here
    static inline void SET_GetAttribLocation(struct _glapi_table *disp, GLint
(GLAPIENTRYP fn)(GLuint, const GLchar *)) {
                                                                               
           ^
    main/api_exec.c:585:33: warning: incompatible pointer types passing 'void
(GLhandleARB, GLsizei, GLsizei *, GLcharARB *)' (aka 'void (unsigned long, int,
int *, char *)') to
    parameter of
          type 'void (*)(GLuint, GLsizei, GLsizei *, GLchar *)' (aka 'void
(*)(unsigned int, int, int *, char *)') [-Wincompatible-pointer-types]
          SET_GetShaderSource(exec, _mesa_GetShaderSource);
                                    ^~~~~~~~~~~~~~~~~~~~~
    ./main/dispatch.h:7788:85: note: passing argument to parameter 'fn' here
    static inline void SET_GetShaderSource(struct _glapi_table *disp, void
(GLAPIENTRYP fn)(GLuint, GLsizei, GLsizei *, GLchar *)) {
                                                                               
        ^
    main/api_exec.c:597:29: warning: incompatible pointer types passing 'void
(GLhandleARB)' (aka 'void (unsigned long)') to parameter of type 'void
(*)(GLuint)' (aka 'void (*)(unsigned
    int)')
          [-Wincompatible-pointer-types]
          SET_LinkProgram(exec, _mesa_LinkProgram);
                                ^~~~~~~~~~~~~~~~~
    ./main/dispatch.h:7909:81: note: passing argument to parameter 'fn' here
    static inline void SET_LinkProgram(struct _glapi_table *disp, void
(GLAPIENTRYP fn)(GLuint)) {
                                                                               
    ^
    main/api_exec.c:628:30: warning: incompatible pointer types passing 'void
(GLhandleARB, GLsizei, const GLcharARB *const *, const GLint *)' (aka
          'void (unsigned long, int, const char *const *, const int *)') to
parameter of type 'void (*)(GLuint, GLsizei, const GLchar *const *, const GLint
*)' (aka 'void (*)(unsigned
    int, int,
          const char *const *, const int *)') [-Wincompatible-pointer-types]
          SET_ShaderSource(exec, _mesa_ShaderSource);
                                 ^~~~~~~~~~~~~~~~~~
    ./main/dispatch.h:7920:82: note: passing argument to parameter 'fn' here
    static inline void SET_ShaderSource(struct _glapi_table *disp, void
(GLAPIENTRYP fn)(GLuint, GLsizei, const GLchar * const *, const GLint *)) {
                                                                               
     ^
    main/api_exec.c:653:28: warning: incompatible pointer types passing 'void
(GLhandleARB)' (aka 'void (unsigned long)') to parameter of type 'void
(*)(GLuint)' (aka 'void (*)(unsigned
    int)')
          [-Wincompatible-pointer-types]
          SET_UseProgram(exec, _mesa_UseProgram);
                               ^~~~~~~~~~~~~~~~
    ./main/dispatch.h:8173:80: note: passing argument to parameter 'fn' here
    static inline void SET_UseProgram(struct _glapi_table *disp, void
(GLAPIENTRYP fn)(GLuint)) {
                                                                               
   ^
    main/api_exec.c:655:33: warning: incompatible pointer types passing 'void
(GLhandleARB)' (aka 'void (unsigned long)') to parameter of type 'void
(*)(GLuint)' (aka 'void (*)(unsigned
    int)')
          [-Wincompatible-pointer-types]
          SET_ValidateProgram(exec, _mesa_ValidateProgram);
                                    ^~~~~~~~~~~~~~~~~~~~~
    ./main/dispatch.h:8184:85: note: passing argument to parameter 'fn' here
    static inline void SET_ValidateProgram(struct _glapi_table *disp, void
(GLAPIENTRYP fn)(GLuint)) {

    main/dlist.c:9457:26: warning: incompatible pointer types passing 'void
(GLhandleARB)' (aka 'void (unsigned long)') to parameter of type 'void
(*)(GLuint)' (aka 'void (*)(unsigned
    int)')
          [-Wincompatible-pointer-types]
       SET_UseProgram(table, save_UseProgramObjectARB);
                             ^~~~~~~~~~~~~~~~~~~~~~~~
    ./main/dispatch.h:8173:80: note: passing argument to parameter 'fn' here
    static inline void SET_UseProgram(struct _glapi_table *disp, void
(GLAPIENTRYP fn)(GLuint)) {
                                                                               
   ^
    1 warning generated.

    Signed-off-by: Jeremy Huddleston Sequoia <<a href="mailto:jeremyhu@apple.com">jeremyhu@apple.com</a>>
    Reviewed-by: Nicolai Hähnle <<a href="mailto:nicolai.haehnle@amd.com">nicolai.haehnle@amd.com</a>></pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>