pdl FTBFS - use of GLvoid has a return type in GL/gl.h

Jérémy Bobbio jeremy.bobbio at etu.upmc.fr
Mon Oct 9 17:06:32 UTC 2006


On Sun, Oct 08, 2006 at 10:04:05PM +0200, Michel Dänzer wrote:
> 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.

I did. The fix was comited in revision 1.133 of GL/gl.h [1].

Could you include it in the Debian package?

[1]
http://webcvs.freedesktop.org/mesa/Mesa/include/GL/gl.h?r1=1.132&r2=1.133

Regards,
-- 
Jérémy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-mesa-devel/attachments/20061009/36f76734/attachment.pgp


More information about the Pkg-mesa-devel mailing list