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

          Priority: medium
            Bug ID: 66346
          Keywords: regression
                CC: bri...@vmware.com
          Assignee: mesa-dev@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: v...@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.
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to