| Summary: | Fixed build with mesa 19.2.1 | ||
|---|---|---|---|
| Product: | SDL | Reporter: | Alistair <alistair> |
| Component: | build | Assignee: | Sam Lantinga <slouken> |
| Status: | RESOLVED FIXED | QA Contact: | Sam Lantinga <slouken> |
| Severity: | normal | ||
| Priority: | P2 | CC: | alistair, sylvain.becker |
| Version: | HG 2.1 | ||
| Hardware: | x86 | ||
| OS: | Linux | ||
| Attachments: | Patch to fix build issue | ||
Isn't this fixed by this one ? Fixed bug 4797 - SDL fails to compile with Mesa Master (thanks Michael Olbrich!) https://hg.libsdl.org/SDL/rev/369b01006eb2 Ah yes it is. This build failure is for the release, not the latest. This is no longer an issue. Already fixed |
Created attachment 4018 [details] Patch to fix build issue Fix the following two build failures when building for x86 with mesa 19.2.1 In file included from /include/SDL_opengles.h:33, from /src/video/SDL_video.c:41: /usr/include/GLES/gl.h:63:25: error: conflicting types for 'GLsizeiptr' 63 | typedef khronos_ssize_t GLsizeiptr; | ^~~~~~~~~~ In file included from /include/SDL_opengl.h:2105, from /src/video/SDL_video.c:37: /include/SDL_opengl_glext.h:472:19: note: previous declaration of 'GLsizeiptr' was here 472 | typedef ptrdiff_t GLsizeiptr; | ^~~~~~~~~~ In file included from /include/SDL_opengles.h:33, from /src/video/SDL_video.c:41: /usr/include/GLES/gl.h:64:26: error: conflicting types for 'GLintptr' 64 | typedef khronos_intptr_t GLintptr; | ^~~~~~~~ In file included from /include/SDL_opengl.h:2105, from /src/video/SDL_video.c:37: /include/SDL_opengl_glext.h:473:19: note: previous declaration of 'GLintptr' was here 473 | typedef ptrdiff_t GLintptr; | ^~~~~~~~