[Mesa-dev] [Bug 66346] New: shader_query.cpp:49: error: invalid conversion from 'void*' to 'GLuint'

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Jun 28 17:40:42 PDT 2013


https://bugs.freedesktop.org/show_bug.cgi?id=66346

          Priority: medium
            Bug ID: 66346
          Keywords: regression
                CC: brianp at vmware.com
          Assignee: mesa-dev at lists.freedesktop.org
           Summary: shader_query.cpp:49: error: invalid conversion from
                    'void*' to 'GLuint'
          Severity: blocker
    Classification: Unclassified
                OS: Mac OS X (All)
          Reporter: vlee at freedesktop.org
          Hardware: x86-64 (AMD64)
            Status: NEW
           Version: git
         Component: Mesa core
           Product: Mesa

mesa: 5a925cc5504575c22dbb7d29842d7fc5babcb5c7 (master)

$ make
[...]
  CXX      shader_query.lo
../../src/mesa/main/shader_query.cpp: In function 'void
_mesa_BindAttribLocation(void*, GLuint, const GLcharARB*)':
../../src/mesa/main/shader_query.cpp:49: error: invalid conversion from 'void*'
to 'GLuint'
../../src/mesa/main/shader_query.cpp:49: error:   initializing argument 2 of
'gl_shader_program*
_mesa_lookup_shader_program_err$../../src/mesa/main/shader_query.cpp: In
function 'void _mesa_GetActiveAttrib(void*, GLuint, GLsizei, GLsizei*, GLint*,
GLenum*,$../../src/mesa/main/shader_query.cpp:87: error: invalid conversion
from 'void*' to 'GLuint'
../../src/mesa/main/shader_query.cpp:87: error:   initializing argument 2 of
'gl_shader_program*
_mesa_lookup_shader_program_err$../../src/mesa/main/shader_query.cpp: In
function 'GLint _mesa_GetAttribLocation(void*, const GLcharARB*)':
../../src/mesa/main/shader_query.cpp:139: error: invalid conversion from
'void*' to 'GLuint'
../../src/mesa/main/shader_query.cpp:139: error:   initializing argument 2 of
'gl_shader_program* _mesa_lookup_shader_program_er$make[4]: ***
[shader_query.lo] Error 1

$ gcc --version
i686-apple-darwin11-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc. build 5658)
(LLVM build 2336.11.00)
Copyright (C) 2007 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

include/GL/glext.h
  3468  #ifndef GL_ARB_shader_objects
  3469  #define GL_ARB_shader_objects 1
  3470  #ifdef __APPLE__
  3471  typedef void *GLhandleARB;
  3472  #else
  3473  typedef unsigned int GLhandleARB;
  3474  #endif

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20130629/12524751/attachment.html>


More information about the mesa-dev mailing list