pdl FTBFS - use of GLvoid has a return type in GL/gl.h
Michel Dänzer
daenzer at debian.org
Sun Oct 8 20:04:05 UTC 2006
On Sun, 2006-10-08 at 01:19 +0200, Jérémy Bobbio wrote:
>
> Here's what I have found while trying to fix pdl FTFBS:
>
> * The line with "GLvoid T_VOID" in Graphics/TriD/OpenGL/typemap is
> buggy. xsubpp does not know the T_VOID typekind.
>
> * It was never triggered before the GL/gl.h header included in Mesa
> 6.5.1 (relevant lines added in revision 1.127 [1]), as no other
> functions had a return type of GLvoid before.
>
> Changing the return type of glClearDebugLogMESA() and
> glGetDebugLogMESA() from "GLvoid" to "void" allowed pdl to build.
>
> The meaning of the "void" type is completely hard-coded into xsubpp.
> IMHO, it seems harder to modify xsubpp than to modify GL/gl.h.
>
> Any opinion about a correct fix for this issue?
You should bring this up on the mesa3d-dev at lists.sf.net list.
--
Earthling Michel Dänzer | http://tungstengraphics.com
Libre software enthusiast | Debian, X and DRI developer
More information about the Pkg-mesa-devel
mailing list