forked from ioquake/ioq3
-
Notifications
You must be signed in to change notification settings - Fork 56
Open
Description
Here is what I get when I try to download the game and build it on gcc 14.2:
code/renderergl2/tr_extensions.c: In function 'GLimp_InitExtraExtensions':
code/renderergl2/tr_extensions.c:221:39: error: assignment to 'void (*)(GLenum, GLint *, GLsizei *, GLsizei)' {aka 'void (*)(unsigned int, int *, int *, int)'} from incompatible pointer type 'void (*)(GLenum, const GLint *, const GLsizei *, GLsizei)' {aka 'void (*)(unsigned int, const int *, const int *, int)'} [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wincompatible-pointer-types-Wincompatible-pointer-types8;;]
221 | qglMultiDrawArraysEXT = (PFNGLMULTIDRAWARRAYSEXTPROC) SDL_GL_GetProcAddress("glMultiDrawArraysEXT");
| ^
code/renderergl2/tr_extensions.c:222:41: error: assignment to 'void (*)(GLenum, const GLsizei *, GLenum, const GLvoid **, GLsizei)' {aka 'void (*)(unsigned int, const int *, unsigned int, const void **, int)'} from incompatible pointer type 'void (*)(GLenum, const GLsizei *, GLenum, const void * const*, GLsizei)' {aka 'void (*)(unsigned int, const int *, unsigned int, const void * const*, int)'} [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wincompatible-pointer-types-Wincompatible-pointer-types8;;]
222 | qglMultiDrawElementsEXT = (PFNGLMULTIDRAWELEMENTSEXTPROC) SDL_GL_GetProcAddress("glMultiDrawElementsEXT");
| ^
make[2]: *** [Makefile:2763: build/release-linux-x86_64/renderergl2/tr_extensions.o] Error 1
Perhaps this is a missing warning flag or something? Perhaps there are new default language requirements in C? Not really sure.
If this is addressable, I'd appreciate it very much.
Thank you!
Metadata
Metadata
Assignees
Labels
No labels