<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - shader_query.cpp:49: error: invalid conversion from 'void*' to 'GLuint'"
href="https://bugs.freedesktop.org/show_bug.cgi?id=66346">66346</a>
</td>
</tr>
<tr>
<th>Keywords</th>
<td>regression
</td>
</tr>
<tr>
<th>CC</th>
<td>brianp@vmware.com
</td>
</tr>
<tr>
<th>Assignee</th>
<td>mesa-dev@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Summary</th>
<td>shader_query.cpp:49: error: invalid conversion from 'void*' to 'GLuint'
</td>
</tr>
<tr>
<th>Severity</th>
<td>blocker
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr>
<tr>
<th>OS</th>
<td>Mac OS X (All)
</td>
</tr>
<tr>
<th>Reporter</th>
<td>vlee@freedesktop.org
</td>
</tr>
<tr>
<th>Hardware</th>
<td>x86-64 (AMD64)
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Version</th>
<td>git
</td>
</tr>
<tr>
<th>Component</th>
<td>Mesa core
</td>
</tr>
<tr>
<th>Product</th>
<td>Mesa
</td>
</tr></table>
<p>
<div>
<pre>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</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>