Skip to content

Commit

Permalink
Fix compiler warnings with GCC 5
Browse files Browse the repository at this point in the history
Since we compile with -Werror, the warnings were treated as errors. It
even found a legitimate off-by-one error in the control setup menu.
  • Loading branch information
Plombo committed Feb 8, 2017
1 parent ba1eb4f commit a91df8b
Show file tree
Hide file tree
Showing 9 changed files with 3,804 additions and 3,803 deletions.
2 changes: 1 addition & 1 deletion engine/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -529,7 +529,7 @@ OBJS = $(MAIN)
#----------------------------------------------------------------------------------------------------

CFLAGS += $(addprefix -I", $(addsuffix ", $(INCS))) $(ARCHFLAGS) -D$(TARGET_PLATFORM)
CFLAGS += -g -Wall -Werror -fsigned-char
CFLAGS += -g -Wall -Werror -fsigned-char -std=gnu99


ifndef BUILD_GP2X
Expand Down
Loading

0 comments on commit a91df8b

Please sign in to comment.