squash a bunch of warnings

This commit is contained in:
jacqueline
2024-04-19 16:51:53 +10:00
parent 354ba0325a
commit 8e113ea9ae
11 changed files with 17 additions and 11 deletions
+2
View File
@@ -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")
+1
View File
@@ -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
)
+1
View File
@@ -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")
+1
View File
@@ -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}
+1 -1
View File
@@ -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)
+1 -1
View File
@@ -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)
+1 -1
View File
@@ -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)