Skip to content

Commit

Permalink
align Warning settings with Arduino
Browse files Browse the repository at this point in the history
  • Loading branch information
Jason2866 authored Sep 21, 2024
1 parent 1e08931 commit d548a6a
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 @@ -129,13 +129,13 @@ function(__build_set_default_build_specifications)
list(APPEND compile_options "-ffunction-sections"
"-fdata-sections"
# warning-related flags
"-Wall"
"-Werror"
# "-Wall"
# "-Werror"
"-Wno-error=unused-function"
"-Wno-error=unused-variable"
"-Wno-error=unused-but-set-variable"
"-Wno-error=deprecated-declarations"
"-Wextra"
# "-Wextra"
"-Wno-error=extra"
"-Wno-unused-parameter"
"-Wno-sign-compare"
Expand Down

0 comments on commit d548a6a

Please sign in to comment.