aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamien George2015-01-22 14:10:11 +0000
committerDamien George2015-03-19 00:25:33 +0000
commit92496abe0f4e606a5fd8227d861aedff466b9679 (patch)
tree3eb5af4190d07c1085ed0dc8348f72b6aed86e3d
parent6b07a6132fb641481b0f6daec2401f500cc58144 (diff)
unix: Enable extra compiler warnings.
To address issue #699.
-rw-r--r--unix/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/unix/Makefile b/unix/Makefile
index 43b5bf2dd..6da5f6a17 100644
--- a/unix/Makefile
+++ b/unix/Makefile
@@ -18,7 +18,8 @@ INC += -I..
INC += -I$(BUILD)
# compiler settings
-CWARN = -Wall -Wpointer-arith -Werror
+CWARN = -Wall -Werror
+CWARN += -Wdouble-promotion -Wformat -Wmissing-declarations -Wmissing-prototypes -Wold-style-definition -Wpointer-arith -Wredundant-decls -Wshadow -Wsign-compare -Wstrict-prototypes -Wuninitialized -Wunused-parameter
CFLAGS = $(INC) $(CWARN) -ansi -std=gnu99 -DUNIX $(CFLAGS_MOD) $(COPT) $(CFLAGS_EXTRA)
# Debugging/Optimization