GCC 14 promotes this to an error.
source/gl_hud.c:1697:2: warning: implicit declaration of function 'Save_Achivements' [-Wimplicit-function-declaration]
1697 | Save_Achivements();
| ^~~~~~~~~~~~~~~~
source/gl_hud.c: In function 'HUD_Parse_Achievement':
source/gl_hud.c:1689:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
1689 | if (achievement_list[ach].unlocked)
| ^~
source/gl_hud.c:1692:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
1692 | achievement_unlocked = 1;
| ^~~~~~~~~~~~~~~~~~~~
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 ();
| ^~~~~~~~~~~~~~~~~~~