This option is new in GCC-14, and maps to MISRA Rule 1.1. The codebase is
clean to it, and Eclair is blocking.
Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Acked-by: Stefano Stabellini <sstabellini@kernel.org>
CFLAGS += -Werror -Wredundant-decls -Wwrite-strings -Wno-pointer-arith
CFLAGS += -Wdeclaration-after-statement
$(call cc-option-add,CFLAGS,CC,-Wvla)
+$(call cc-option-add,CFLAGS,CC,-Wflex-array-member-not-at-end)
CFLAGS += -pipe -D__XEN__ -include $(srctree)/include/xen/config.h
CFLAGS-$(CONFIG_DEBUG_INFO) += -g