source/gl_screen.c:375:17: warning: too many arguments for format [-Wformat-extra-args]
375 | strcpy(s, va("Hold %s to buy %s\n", GetUseButtonL(), GetPerkName(weapon), cost));
| ^~~~~~~~~~~~~~~~~~~~~
source/gl_screen.c:385:17: warning: too many arguments for format [-Wformat-extra-args]
385 | strcpy(s, va("Hold %s to Activate the Trap\n", GetUseButtonL(), cost));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
source/gl_screen.c:390:17: warning: too many arguments for format [-Wformat-extra-args]
390 | strcpy(s, va("Hold %s to Pack-a-Punch\n", GetUseButtonL(), cost));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
source/gl_screen.c:405:17: warning: too many arguments for format [-Wformat-extra-args]
405 | strcpy(s, va("Hold %s to use Teleporter\n", GetUseButtonL(), cost));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
source/gl_screen.c:430:17: warning: too many arguments for format [-Wformat-extra-args]
430 | strcpy(s, va("Hold %s to End the Game\n", GetUseButtonL(), cost));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
GCC 14 makes this an error.
source/gl_rmisc.c: In function 'R_Init':
source/gl_rmisc.c:256:2: warning: implicit declaration of function 'R_InitOtherTextures'; did you mean 'R_InitTextures'? [-Wimplicit-function-declaration]
256 | R_InitOtherTextures ();
| ^~~~~~~~~~~~~~~~~~~
| R_InitTextures
source/gl_rmisc.c: At top level:
source/gl_rmisc.c:671:6: warning: conflicting types for 'R_InitOtherTextures'
671 | void R_InitOtherTextures (void)
| ^~~~~~~~~~~~~~~~~~~
source/gl_rmisc.c:256:2: note: previous implicit declaration of 'R_InitOtherTextures' was here
256 | R_InitOtherTextures ();
| ^~~~~~~~~~~~~~~~~~~