summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFred Sundvik <fsundvik@gmail.com>2017-04-09 20:04:41 +0300
committerFred Sundvik <fsundvik@gmail.com>2017-04-13 16:00:29 +0300
commitf39e9928eb7f0c77c366721ff489bd5276dad7e2 (patch)
tree714a2268d7344b208106955ed83bae132e614386
parent224fc8a20fc78927ed90326ca6c07370d33d00d5 (diff)
Enable warnings as errors
-rw-r--r--tmk_core/rules.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/tmk_core/rules.mk b/tmk_core/rules.mk
index e4c8aecb2c..25993354f2 100644
--- a/tmk_core/rules.mk
+++ b/tmk_core/rules.mk
@@ -92,6 +92,7 @@ endif
endif
CFLAGS += -Wall
CFLAGS += -Wstrict-prototypes
+CFLAGS += -Werror
#CFLAGS += -mshort-calls
#CFLAGS += -fno-unit-at-a-time
#CFLAGS += -Wundef
@@ -115,6 +116,7 @@ CPPFLAGS += -O$(OPT)
CPPFLAGS += -w
CPPFLAGS += -Wall
CPPFLAGS += -Wundef
+CPPFLAGS += -Werror
#CPPFLAGS += -mshort-calls
#CPPFLAGS += -fno-unit-at-a-time
#CPPFLAGS += -Wstrict-prototypes