warnings: add some clang-14 warnings
This commit is contained in:
parent
29b2a1539e
commit
b09ea14d5a
@ -96,6 +96,12 @@ append_compile_flag(-Wstring-concatenation)
|
|||||||
append_compile_flag(-Wtautological-unsigned-char-zero-compare)
|
append_compile_flag(-Wtautological-unsigned-char-zero-compare)
|
||||||
append_compile_flag(-Wtautological-value-range-compare)
|
append_compile_flag(-Wtautological-value-range-compare)
|
||||||
|
|
||||||
|
# clang 14
|
||||||
|
append_compile_flag(-Wbitwise-instead-of-logical)
|
||||||
|
append_compile_flag(-Wunaligned-access)
|
||||||
|
append_compile_flag(-Wunreachable-code-fallthrough)
|
||||||
|
|
||||||
|
|
||||||
# -------------------------------------------------------------------------
|
# -------------------------------------------------------------------------
|
||||||
# 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