warnings: add clang-12 warnings

This commit is contained in:
Danny Robson 2021-04-19 15:09:24 +10:00
parent 11ed45b116
commit 9843d15679

View File

@ -90,6 +90,12 @@ append_compile_flag(-Wold-style-cast)
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
#AX_APPEND_COMPILE_FLAGS([-Wgnu-flexible-array-union-member], [], [-Werror])