build: Enable more warnings/errors
This commit is contained in:
parent
650bddcfd1
commit
05385f2479
@ -581,13 +581,19 @@ CC_CHECK_FLAGS_APPEND([CFLAGS], [CFLAGS], [ \
|
||||
-funsigned-char \
|
||||
-Wall \
|
||||
-Wextra \
|
||||
-Wstrict-prototypes \
|
||||
-Wno-unused-parameter \
|
||||
-Wno-sign-compare \
|
||||
-Wno-pointer-sign \
|
||||
-Wno-missing-field-initializers \
|
||||
-Wno-unused-result \
|
||||
-Werror=format-security \
|
||||
-Werror=init-self \
|
||||
-Werror=declaration-after-statement \
|
||||
-Werror=missing-include-dirs \
|
||||
-Werror=date-time \
|
||||
-Werror=implicit-function-declaration \
|
||||
-Werror=pointer-arith \
|
||||
])
|
||||
|
||||
dnl *********************************************************************
|
||||
|
Loading…
Reference in New Issue
Block a user