mirror of
https://github.com/Keychron/qmk_firmware.git
synced 2024-11-26 18:47:24 +06:00
Enable warnings as errors
This commit is contained in:
parent
224fc8a20f
commit
f39e9928eb
|
@ -92,6 +92,7 @@ endif
|
||||||
endif
|
endif
|
||||||
CFLAGS += -Wall
|
CFLAGS += -Wall
|
||||||
CFLAGS += -Wstrict-prototypes
|
CFLAGS += -Wstrict-prototypes
|
||||||
|
CFLAGS += -Werror
|
||||||
#CFLAGS += -mshort-calls
|
#CFLAGS += -mshort-calls
|
||||||
#CFLAGS += -fno-unit-at-a-time
|
#CFLAGS += -fno-unit-at-a-time
|
||||||
#CFLAGS += -Wundef
|
#CFLAGS += -Wundef
|
||||||
|
@ -115,6 +116,7 @@ CPPFLAGS += -O$(OPT)
|
||||||
CPPFLAGS += -w
|
CPPFLAGS += -w
|
||||||
CPPFLAGS += -Wall
|
CPPFLAGS += -Wall
|
||||||
CPPFLAGS += -Wundef
|
CPPFLAGS += -Wundef
|
||||||
|
CPPFLAGS += -Werror
|
||||||
#CPPFLAGS += -mshort-calls
|
#CPPFLAGS += -mshort-calls
|
||||||
#CPPFLAGS += -fno-unit-at-a-time
|
#CPPFLAGS += -fno-unit-at-a-time
|
||||||
#CPPFLAGS += -Wstrict-prototypes
|
#CPPFLAGS += -Wstrict-prototypes
|
||||||
|
|
Loading…
Reference in New Issue
Block a user