warnings: add GCC 14 warnings
This commit is contained in:
parent
f269ef3f4f
commit
c688cf9dbb
@ -104,6 +104,14 @@ append_compile_flag(-Wbitwise-instead-of-logical)
|
|||||||
append_compile_flag(-Wunaligned-access)
|
append_compile_flag(-Wunaligned-access)
|
||||||
append_compile_flag(-Wunreachable-code-fallthrough)
|
append_compile_flag(-Wunreachable-code-fallthrough)
|
||||||
|
|
||||||
|
# gcc 13
|
||||||
|
append_compile_flag(-Wdangling-reference)
|
||||||
|
|
||||||
|
# gcc 14
|
||||||
|
append_compile_flag(-Welaborated-enum-base)
|
||||||
|
#append_compile_flag(-Wnrvo)
|
||||||
|
append_compile_flag(-Walloc-size)
|
||||||
|
|
||||||
# -------------------------------------------------------------------------
|
# -------------------------------------------------------------------------
|
||||||
# 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