From 6598fd96813e09251e1cd7773febfa28f67d5522 Mon Sep 17 00:00:00 2001 From: 0xFEEDC0DE64 Date: Wed, 20 Dec 2023 15:21:02 +0100 Subject: [PATCH] Add warning ignores to fix compiling with new esp-idf --- CMakeLists.txt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 409ed787..f2125535 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -400,4 +400,9 @@ idf_component_register( include ) set_property(TARGET ${COMPONENT_LIB} PROPERTY CXX_STANDARD 23) +target_compile_options(${COMPONENT_TARGET} + PRIVATE + -Wno-array-bounds + -Wno-stringop-overflow +) endif()