pdl FTBFS - use of GLvoid has a return type in GL/gl.h
Jérémy Bobbio
jeremy.bobbio at etu.upmc.fr
Sat Oct 7 23:19:25 UTC 2006
Hi!
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?
[1] http://webcvs.freedesktop.org/mesa/Mesa/include/GL/gl.h
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/20061008/3da9f4be/attachment.pgp
More information about the Pkg-mesa-devel
mailing list