diff options
| author | jacqueline <me@jacqueline.id.au> | 2024-04-19 16:51:53 +1000 |
|---|---|---|
| committer | jacqueline <me@jacqueline.id.au> | 2024-04-19 16:51:53 +1000 |
| commit | 8e113ea9ae595b1bc37e7a567b0bc6b90ec81c05 (patch) | |
| tree | 137728a00306a0b7df3bfe589f050dde05298f49 /lib | |
| parent | 354ba0325a9df220f05486712662c20b2ca0e0d0 (diff) | |
| download | tangara-fw-8e113ea9ae595b1bc37e7a567b0bc6b90ec81c05.tar.gz | |
squash a bunch of warnings
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/libcppbor/CMakeLists.txt | 2 | ||||
| -rw-r--r-- | lib/libmad/CMakeLists.txt | 1 | ||||
| -rw-r--r-- | lib/luavgl/CMakeLists.txt | 1 | ||||
| -rw-r--r-- | lib/lvgl/env_support/cmake/esp.cmake | 1 | ||||
| -rw-r--r-- | lib/opus/CMakeLists.txt | 2 | ||||
| -rw-r--r-- | lib/speexdsp/CMakeLists.txt | 2 | ||||
| -rw-r--r-- | lib/tremor/CMakeLists.txt | 2 |
7 files changed, 8 insertions, 3 deletions
diff --git a/lib/libcppbor/CMakeLists.txt b/lib/libcppbor/CMakeLists.txt index f68a820c..66c862f5 100644 --- a/lib/libcppbor/CMakeLists.txt +++ b/lib/libcppbor/CMakeLists.txt @@ -5,3 +5,5 @@ idf_component_register( SRCS cppbor.cpp cppbor_parse.cpp INCLUDE_DIRS "include/cppbor" ) +target_compile_options(${COMPONENT_LIB} PRIVATE + "-Wno-shadow" "-Wno-deprecated-enum-enum-conversion") diff --git a/lib/libmad/CMakeLists.txt b/lib/libmad/CMakeLists.txt index e56cabaf..078b90b7 100644 --- a/lib/libmad/CMakeLists.txt +++ b/lib/libmad/CMakeLists.txt @@ -41,6 +41,7 @@ target_compile_options(${COMPONENT_LIB} $<$<C_COMPILER_ID:AppleClang,Clang,GNU>:-Wno-implicit-function-declaration> $<$<C_COMPILER_ID:AppleClang,Clang,GNU>:-Wno-stringop-overflow> $<$<C_COMPILER_ID:AppleClang,Clang,GNU>:-fPIC> + -Wno-implicit-fallthrough -Ofast ) diff --git a/lib/luavgl/CMakeLists.txt b/lib/luavgl/CMakeLists.txt index c1f3e8a1..b7d53d6c 100644 --- a/lib/luavgl/CMakeLists.txt +++ b/lib/luavgl/CMakeLists.txt @@ -2,4 +2,5 @@ # # SPDX-License-Identifier: GPL-3.0-only idf_component_register(SRCS "src/luavgl.c" INCLUDE_DIRS "src" REQUIRES "esp-idf-lua" "lvgl") +target_compile_options(${COMPONENT_LIB} PRIVATE "-Wno-cast-function-type" "-Wno-type-limits") diff --git a/lib/lvgl/env_support/cmake/esp.cmake b/lib/lvgl/env_support/cmake/esp.cmake index fb283fb3..443fb514 100644 --- a/lib/lvgl/env_support/cmake/esp.cmake +++ b/lib/lvgl/env_support/cmake/esp.cmake @@ -31,6 +31,7 @@ else() REQUIRES esp_timer) target_compile_definitions(${COMPONENT_LIB} PUBLIC "-DLV_CONF_INCLUDE_SIMPLE") + target_compile_options(${COMPONENT_LIB} PRIVATE "-Wno-missing-field-initializers" "-Wno-incompatible-pointer-types") if(CONFIG_LV_ATTRIBUTE_FAST_MEM_USE_IRAM) target_compile_definitions(${COMPONENT_LIB} diff --git a/lib/opus/CMakeLists.txt b/lib/opus/CMakeLists.txt index 5c33c42d..0071fa50 100644 --- a/lib/opus/CMakeLists.txt +++ b/lib/opus/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.1) +cmake_minimum_required(VERSION 3.5) list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake") include(OpusPackageVersion) diff --git a/lib/speexdsp/CMakeLists.txt b/lib/speexdsp/CMakeLists.txt index 8d323f33..daeddfa9 100644 --- a/lib/speexdsp/CMakeLists.txt +++ b/lib/speexdsp/CMakeLists.txt @@ -10,4 +10,4 @@ libspeexdsp/scal.c libspeexdsp/smallft.c PRIV_INCLUDE_DIRS "libspeexdsp" ) -target_compile_options(${COMPONENT_LIB} PRIVATE -DHAVE_CONFIG_H -Wno-shift-negative-value -Wno-unused-const-variable) +target_compile_options(${COMPONENT_LIB} PRIVATE -DHAVE_CONFIG_H -Wno-shift-negative-value -Wno-unused-const-variable -Wno-incompatible-pointer-types -Wno-unused-function -Wno-unused-variable) diff --git a/lib/tremor/CMakeLists.txt b/lib/tremor/CMakeLists.txt index 530c0493..47037a7f 100644 --- a/lib/tremor/CMakeLists.txt +++ b/lib/tremor/CMakeLists.txt @@ -5,4 +5,4 @@ idf_component_register( SRCS bitwise.c codebook.c dsp.c floor0.c floor1.c floor_lookup.c framing.c info.c mapping0.c mdct.c misc.c res012.c vorbisfile.c INCLUDE_DIRS ".") -target_compile_options("${COMPONENT_LIB}" PRIVATE -Ofast -Wno-error=misleading-indentation -Wno-error=maybe-uninitialized -Wno-error=char-subscripts -Wno-error=unused-label) +target_compile_options("${COMPONENT_LIB}" PRIVATE -Ofast -Wno-misleading-indentation -Wno-maybe-uninitialized -Wno-char-subscripts -Wno-unused-label -Wno-shift-negative-value -Wno-unused-variable -Wno-type-limits -Wno-implicit-fallthrough) |
