summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorjacqueline <me@jacqueline.id.au>2024-04-19 16:51:53 +1000
committerjacqueline <me@jacqueline.id.au>2024-04-19 16:51:53 +1000
commit8e113ea9ae595b1bc37e7a567b0bc6b90ec81c05 (patch)
tree137728a00306a0b7df3bfe589f050dde05298f49 /tools
parent354ba0325a9df220f05486712662c20b2ca0e0d0 (diff)
downloadtangara-fw-8e113ea9ae595b1bc37e7a567b0bc6b90ec81c05.tar.gz
squash a bunch of warnings
Diffstat (limited to 'tools')
-rw-r--r--tools/cmake/common.cmake10
1 files changed, 5 insertions, 5 deletions
diff --git a/tools/cmake/common.cmake b/tools/cmake/common.cmake
index 872bf555..896dabf3 100644
--- a/tools/cmake/common.cmake
+++ b/tools/cmake/common.cmake
@@ -43,11 +43,11 @@ include($ENV{IDF_PATH}/tools/cmake/project.cmake)
# Additional warnings used when compiling our components.
# Unable to be used due to issues in ESP-IDF includes are: -Wpedantic
# -Wuseless-cast -Wconversion -Wold-style-cast -Wsign-conversion -Wcast-align
-set(EXTRA_WARNINGS "-Wshadow" "-Wnon-virtual-dtor" "-Wunused"
- "-Woverloaded-virtual" "-Wmisleading-indentation" "-Wduplicated-cond"
- "-Wduplicated-branches" "-Wlogical-op" "-Wnull-dereference"
- "-Wdouble-promotion" "-Wformat=2" "-Wimplicit-fallthrough"
- "-Wno-deprecated-enum-enum-conversion" "-Wno-array-bounds")
+set(EXTRA_WARNINGS "-Wnon-virtual-dtor" "-Wunused" "-Woverloaded-virtual"
+ "-Wmisleading-indentation" "-Wduplicated-cond" "-Wduplicated-branches"
+ "-Wlogical-op" "-Wnull-dereference" "-Wdouble-promotion" "-Wformat=2"
+ "-Wimplicit-fallthrough" "-Wno-deprecated-enum-enum-conversion"
+ "-Wno-array-bounds" "-Wno-missing-field-initializers")
# Extra build flags that should apply to the entire build. This should mostly
# just be used to setting flags that our external dependencies requires.