From 692d0d6f1d73fc764aa903829d27d01dbfcdccd8 Mon Sep 17 00:00:00 2001 From: guzhihao4 Date: Tue, 21 Mar 2023 16:35:14 +0800 Subject: [PATCH] Ignore warnings to enable llvm15 Issue: #I6LPWU Signed-off-by: guzhihao4 Change-Id: I55900ab6adb3e2b07526246230339773f497843c --- scripts/Makefile.extrawarn | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/Makefile.extrawarn b/scripts/Makefile.extrawarn index fe327a4532dd..5582f5445f4c 100644 --- a/scripts/Makefile.extrawarn +++ b/scripts/Makefile.extrawarn @@ -53,6 +53,9 @@ KBUILD_CFLAGS += $(call cc-disable-warning, pointer-to-enum-cast) KBUILD_CFLAGS += -Wno-tautological-constant-out-of-range-compare KBUILD_CFLAGS += $(call cc-disable-warning, unaligned-access) KBUILD_CFLAGS += $(call cc-disable-warning, cast-function-type-strict) +KBUILD_CFLAGS += -Wno-declaration-after-statement +KBUILD_CFLAGS += -Wno-strict-prototypes +KBUILD_CFLAGS += -Wno-int-conversion endif endif -- Gitee