Skip to content

Commit

Permalink
lower warning level (align with Arduino settings)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jason2866 authored Sep 25, 2024
1 parent ed697b7 commit 6f6c9d9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tools/cmake/build.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6f6c9d9

Please sign in to comment.