Elyes Haouas has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/85730?usp=email )
Change subject: [test] add some Wextra's warnings ......................................................................
[test] add some Wextra's warnings
https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-W
Change-Id: Iaf8516b736378d0a33dee59d6e2b98e78f48e756 Signed-off-by: Elyes Haouas ehaouas@noos.fr --- M Makefile.mk 1 file changed, 4 insertions(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/30/85730/1
diff --git a/Makefile.mk b/Makefile.mk index ca79d05..10f0bc8 100644 --- a/Makefile.mk +++ b/Makefile.mk @@ -509,7 +509,10 @@ CFLAGS_common += -nostdinc CFLAGS_common += -std=gnu11 CFLAGS_common += -nostdlib -CFLAGS_common += -Wall +CFLAGS_common += -Wall -Wuninitialized -Wtype-limits -Wstring-compare +CFLAGS_common += -Woverride-init -Wmissing-parameter-type -Wmissing-field-initializers +CFLAGS_common += -Wignored-qualifiers -Wexpansion-to-defined -Wenum-conversion +CFLAGS_common += -Wclobbered -Wcalloc-transposed-args CFLAGS_common += -Wundef CFLAGS_common += -Wstrict-prototypes CFLAGS_common += -Wmissing-prototypes