Added flag to Makefile to treat warnings as errors that fail build, and commented out code in game.c to be warning free

This commit is contained in:
MeirGavish
2025-07-26 20:04:39 +03:00
parent 942a954d00
commit 8043a2bad6
2 changed files with 4 additions and 2 deletions
+1 -1
View File
@@ -38,7 +38,7 @@ GRAPHICS := graphics
#---------------------------------------------------------------------------------
ARCH := -mthumb -mthumb-interwork
CFLAGS := -O3 -Wall \
CFLAGS := -O3 -Wall -Werror\
-mcpu=arm7tdmi -mtune=arm7tdmi \
-ffast-math -fomit-frame-pointer -funroll-loops \
$(ARCH)
+3 -1
View File
@@ -2030,7 +2030,9 @@ void game_round_end()
case 6: // This state handles displaying the rewards earned from the completed round
{
int hand_y = 0;
int interest_y = 0;
// TODO: Implement interest
//int interest_y = 0;
if (hands > 0)
{