Jacob Garber has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/52203 )
Change subject: [Test] Enable -Wcast-function-type ......................................................................
[Test] Enable -Wcast-function-type
Signed-off-by: Jacob Garber jgarber1@ualberta.ca Change-Id: I3e872fe00e483ed8c7db64918650a7ceac9aacbe --- M Makefile.inc 1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/03/52203/1
diff --git a/Makefile.inc b/Makefile.inc index a372efa..ddd820f 100644 --- a/Makefile.inc +++ b/Makefile.inc @@ -428,7 +428,7 @@ CFLAGS_common += -nostdlib -Wall -Wundef -Wstrict-prototypes -Wmissing-prototypes CFLAGS_common += -Wwrite-strings -Wredundant-decls -Wno-trigraphs -Wimplicit-fallthrough CFLAGS_common += -Wshadow -Wdate-time -Wtype-limits -Wvla -CFLAGS_common += -Wdangling-else +CFLAGS_common += -Wdangling-else -Wcast-function-type CFLAGS_common += -fno-common -ffreestanding -fno-builtin -fomit-frame-pointer CFLAGS_common += -fstrict-aliasing -ffunction-sections -fdata-sections -fno-pie ifeq ($(CONFIG_COMPILER_GCC),y)