From 6f6c9d9f6796ebc561768a5b92ed50d0dbd8880c Mon Sep 17 00:00:00 2001 From: Jason2866 <24528715+Jason2866@users.noreply.github.com> Date: Wed, 25 Sep 2024 17:08:37 +0200 Subject: [PATCH] lower warning level (align with Arduino settings) --- tools/cmake/build.cmake | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/cmake/build.cmake b/tools/cmake/build.cmake index 0bafd9fcb17c..c29f94200e89 100644 --- a/tools/cmake/build.cmake +++ b/tools/cmake/build.cmake @@ -100,13 +100,13 @@ function(__build_set_default_build_specifications) list(APPEND compile_options "-ffunction-sections" "-fdata-sections" # warning-related flags - "-Wall" - "-Werror=all" + # "-Wall" + # "-Werror=all" "-Wno-error=unused-function" "-Wno-error=unused-variable" "-Wno-error=unused-but-set-variable" "-Wno-error=deprecated-declarations" - "-Wextra" + # "-Wextra" "-Wno-unused-parameter" "-Wno-sign-compare" # ignore multiple enum conversion warnings since gcc 11