warnings: add clang-12 warnings
This commit is contained in:
parent
11ed45b116
commit
9843d15679
@ -90,6 +90,12 @@ append_compile_flag(-Wold-style-cast)
|
|||||||
|
|
||||||
append_compile_flag(-Wmissing-field-initializers)
|
append_compile_flag(-Wmissing-field-initializers)
|
||||||
|
|
||||||
|
# clang 12
|
||||||
|
append_compile_flag(-Wcast-function-type)
|
||||||
|
append_compile_flag(-Wstring-concatenation)
|
||||||
|
append_compile_flag(-Wtautological-unsigned-char-zero-compare)
|
||||||
|
append_compile_flag(-Wtautological-value-range-compare)
|
||||||
|
|
||||||
# -------------------------------------------------------------------------
|
# -------------------------------------------------------------------------
|
||||||
# Required extensions
|
# Required extensions
|
||||||
#AX_APPEND_COMPILE_FLAGS([-Wgnu-flexible-array-union-member], [], [-Werror])
|
#AX_APPEND_COMPILE_FLAGS([-Wgnu-flexible-array-union-member], [], [-Werror])
|
||||||
|
Loading…
Reference in New Issue
Block a user