diff options
author | Fred Sundvik <fsundvik@gmail.com> | 2017-04-09 20:04:41 +0300 |
---|---|---|
committer | Fred Sundvik <fsundvik@gmail.com> | 2017-04-13 16:00:29 +0300 |
commit | f39e9928eb7f0c77c366721ff489bd5276dad7e2 (patch) | |
tree | 714a2268d7344b208106955ed83bae132e614386 | |
parent | 224fc8a20fc78927ed90326ca6c07370d33d00d5 (diff) |
Enable warnings as errors
-rw-r--r-- | tmk_core/rules.mk | 2 |
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 |