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:
@@ -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
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user