Added -Wextra to compile flags

-Wextra does several extra checks during the compiling. Unfortunately one of the extra check is for unused parameters.
Several functions have unused parameters (mostly the WrenVM* vm).
This commit is contained in:
Peter Reijnders
2015-03-17 07:29:09 +01:00
parent b9f034b398
commit 9f32de7047
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -25,8 +25,8 @@ CLI_SOURCES := $(wildcard src/cli/*.c)
VM_SOURCES := $(wildcard src/vm/*.c)
BUILD_DIR := build
CFLAGS := -Wall -Werror -Wsign-compare -Wtype-limits -Wuninitialized
# TODO: Add -Wextra.
CFLAGS := -Wall -Wextra -Werror -Wsign-compare -Wtype-limits -Wuninitialized -Wno-unused-parameter
# TODO: dump '-Wno-unused-parameter'
# Mode configuration.
ifeq ($(MODE),debug)