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) | |
| download | qmk_firmware-f39e9928eb7f0c77c366721ff489bd5276dad7e2.tar.gz qmk_firmware-f39e9928eb7f0c77c366721ff489bd5276dad7e2.zip | |
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 e4c8aecb2..25993354f 100644 --- a/tmk_core/rules.mk +++ b/tmk_core/rules.mk | |||
| @@ -92,6 +92,7 @@ endif | |||
| 92 | endif | 92 | endif |
| 93 | CFLAGS += -Wall | 93 | CFLAGS += -Wall |
| 94 | CFLAGS += -Wstrict-prototypes | 94 | CFLAGS += -Wstrict-prototypes |
| 95 | CFLAGS += -Werror | ||
| 95 | #CFLAGS += -mshort-calls | 96 | #CFLAGS += -mshort-calls |
| 96 | #CFLAGS += -fno-unit-at-a-time | 97 | #CFLAGS += -fno-unit-at-a-time |
| 97 | #CFLAGS += -Wundef | 98 | #CFLAGS += -Wundef |
| @@ -115,6 +116,7 @@ CPPFLAGS += -O$(OPT) | |||
| 115 | CPPFLAGS += -w | 116 | CPPFLAGS += -w |
| 116 | CPPFLAGS += -Wall | 117 | CPPFLAGS += -Wall |
| 117 | CPPFLAGS += -Wundef | 118 | CPPFLAGS += -Wundef |
| 119 | CPPFLAGS += -Werror | ||
| 118 | #CPPFLAGS += -mshort-calls | 120 | #CPPFLAGS += -mshort-calls |
| 119 | #CPPFLAGS += -fno-unit-at-a-time | 121 | #CPPFLAGS += -fno-unit-at-a-time |
| 120 | #CPPFLAGS += -Wstrict-prototypes | 122 | #CPPFLAGS += -Wstrict-prototypes |
