aboutsummaryrefslogtreecommitdiffstats
path: root/tmk_core/rules.mk
diff options
context:
space:
mode:
authorGravatar Fred Sundvik <fsundvik@gmail.com>2017-04-09 20:04:41 +0300
committerGravatar Fred Sundvik <fsundvik@gmail.com>2017-04-13 16:00:29 +0300
commitf39e9928eb7f0c77c366721ff489bd5276dad7e2 (patch)
tree714a2268d7344b208106955ed83bae132e614386 /tmk_core/rules.mk
parent224fc8a20fc78927ed90326ca6c07370d33d00d5 (diff)
downloadqmk_firmware-f39e9928eb7f0c77c366721ff489bd5276dad7e2.tar.gz
Enable warnings as errors
Diffstat (limited to 'tmk_core/rules.mk')
-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 e4c8aecb2..25993354f 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