include/EGL/eglext.h
Alan Coopersmith wrote:
> I checked the Khronos copy listed in the header, but they don't have the
> EGLScreenMESA or EGLModeMESA typedefs in, and given the names and the
> " EGL_MESA_screen extension >>> PRELIMINARY <<< " comment, I assumed
> they were Mesa additions.
>
> It could also be fixed in another header with a simple:
> #ifdef __sun
> typedef uint32_t u_int32_t
> #endif
>
> Would eglplatform.h be the right header for that?
Alan, it turns out that your checkins break the build here on Linux/gcc.
Could you check in the alternate typedef you suggested instead?
-Brian
gcc -c -I../../../include -I../../../src/mesa/glapi -Wall -Wmissing-prototypes
-Wdeclaration-after-statement -g -ansi -pedantic -fPIC -D_POSIX_SOURCE
-D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE -D_GNU_SOURCE -DPTHREADS
-DUSE_XSHM -DHAVE_POSIX_MEMALIGN -DDEBUG -DDEBUG_MATH -I/usr/X11R6/include
-std=c99 -ffast-math -fno-strict-aliasing -D_EGL_PLATFORM_X=1 eglapi.c -o
eglapi.o
In file included from egltypedefs.h:7,
from eglcontext.h:6,
from eglapi.c:36:
../../../include/EGL/eglext.h:139: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘EGLScreenMESA’
../../../include/EGL/eglext.h:140: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘EGLModeMESA’
../../../include/EGL/eglext.h:143: error: expected declaration specifiers or
‘...’ before ‘EGLScreenMESA’
------------------------------------------------------------------------------
_______________________________________________
Mesa3d-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev