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 \
|
-funsigned-char \
|
||||||
-Wall \
|
-Wall \
|
||||||
-Wextra \
|
-Wextra \
|
||||||
|
-Wstrict-prototypes \
|
||||||
-Wno-unused-parameter \
|
-Wno-unused-parameter \
|
||||||
-Wno-sign-compare \
|
-Wno-sign-compare \
|
||||||
-Wno-pointer-sign \
|
-Wno-pointer-sign \
|
||||||
-Wno-missing-field-initializers \
|
-Wno-missing-field-initializers \
|
||||||
-Wno-unused-result \
|
-Wno-unused-result \
|
||||||
-Werror=format-security \
|
-Werror=format-security \
|
||||||
|
-Werror=init-self \
|
||||||
-Werror=declaration-after-statement \
|
-Werror=declaration-after-statement \
|
||||||
|
-Werror=missing-include-dirs \
|
||||||
|
-Werror=date-time \
|
||||||
|
-Werror=implicit-function-declaration \
|
||||||
|
-Werror=pointer-arith \
|
||||||
])
|
])
|
||||||
|
|
||||||
dnl *********************************************************************
|
dnl *********************************************************************
|
||||||
|
|
Loading…
Reference in New Issue