From aff3b4b1fc06f909114995da31bdff098199412d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=8F=E7=86=8A=E6=A2=A6=E5=B7=A5=E5=8E=82?= Date: Tue, 5 Nov 2024 02:48:40 +0000 Subject: [PATCH] =?UTF-8?q?=E8=AE=BE=E7=BD=AE=E4=B8=8D=E6=98=BE=E7=A4=BA?= =?UTF-8?q?=E4=B8=8D=E4=BD=BF=E7=94=A8=E8=AD=A6=E5=91=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 小熊梦工厂 --- application/samples/CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/application/samples/CMakeLists.txt b/application/samples/CMakeLists.txt index 92235c0..18e16b6 100755 --- a/application/samples/CMakeLists.txt +++ b/application/samples/CMakeLists.txt @@ -35,7 +35,11 @@ set(PUBLIC_DEFINES set(COMPONENT_PUBLIC_CCFLAGS ) +# 设置不显示不使用警告 set(COMPONENT_CCFLAGS + -Wno-unused-variable + -Wno-unused-parameter + -Wno-error=unused-function ) set(WHOLE_LINK -- Gitee