Failing to compile dispatch.c in programs/Xserver/GL/mesa/main...
This one looks like it is caused by the recent change to gl.h to include <stddef.h> in order to provide a definition for ptrdiff_t.
Unfortunatly, in whacky-xfree86-world, including headers like that will lead to trouble, and what's required is to include "xf86_libc.h" or nothing at all. I've included a patch for this...
But... unfortunately this means that we don't get the ptrdiff_t definition... So, that means that somewhere in maybe os-support/xf86_libc.h? we need something like:
# define ptrdiff_t int
The other option would be to change gl.h and glext.h to use int or GLint instead of ptrdiff_t...
Even though ptrdiff_t ended up being used in glext.h, the intention of the ARB_vao working group was that GLintptr be the same as intptr_t. If stdint.h or inttypes.h is available, one of those could be included and intptr_t be used. I think that would be the preferable forward-looking way to do it.
------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ Dri-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dri-devel
