[Mesa-dev] [Bug 83631] /usr/include/GL/glxext.h:480:143: error: 'GLintptr' has not been declared

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Sep 15 17:03:31 PDT 2014


https://bugs.freedesktop.org/show_bug.cgi?id=83631

--- Comment #5 from Orion Poplawski <orion at cora.nwra.com> ---
So, make the test:

$ cat gltest.c
#define GL_GLEXT_LEGACY
#include <GL/glx.h>
int main(void)
{
   GLintptr p;
   return 0;
}

$ gcc gltest.c
In file included from /usr/include/GL/glx.h:333:0,
                 from gltest.c:2:
/usr/include/GL/glxext.h:480:143: error: unknown type name ‘GLintptr’
 typedef void ( *PFNGLXCOPYBUFFERSUBDATANVPROC) (Display *dpy, GLXContext
readCtx, GLXContext writeCtx, GLenum readTarget, GLenum writeTarget, GLintptr
readOffset, GLintptr writeOffset, GLsizeiptr size);
                                                                               
                                                               ^
....


Now, I suppose it is kind of strange to define GL_GLEXT_LEGACY (not GLXEXT) and
then include glx.h, but...

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20140916/b15a89c6/attachment.html>


More information about the mesa-dev mailing list