From c7901ae4297d42d55bb3a06010198ecf14b3a7ba Mon Sep 17 00:00:00 2001 From: jacqueline Date: Sat, 21 Jan 2023 15:09:05 +1100 Subject: build fixes for new compiler version and standard --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index 7f56397f..86c54a3c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -5,6 +5,7 @@ set(SDKCONFIG_DEFAULTS "sdkconfig.common") # No exceptions in app builds (this is different in test builds). idf_build_set_property(COMPILE_OPTIONS "-DRESULT_DISABLE_EXCEPTIONS" APPEND) +idf_build_set_property(COMPILE_OPTIONS "-DTCB_SPAN_NO_CONTRACT_CHECKING" APPEND) # Include all app components. list(APPEND EXTRA_COMPONENT_DIRS "$ENV{PROJ_PATH}/src") -- cgit v1.2.3