From 9b23491339f6b864b8c1426ea2c642f0a034b3ac Mon Sep 17 00:00:00 2001 From: David Cermak Date: Fri, 4 Jun 2021 13:23:24 +0200 Subject: [PATCH] wpa_supplicant: Temporarily disable write-string warning Since some assignment of a string literal to `char *` variables were added and not caught by the CI. --- components/wpa_supplicant/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/wpa_supplicant/CMakeLists.txt b/components/wpa_supplicant/CMakeLists.txt index b5bc98216c..a4ff1cce4d 100644 --- a/components/wpa_supplicant/CMakeLists.txt +++ b/components/wpa_supplicant/CMakeLists.txt @@ -111,7 +111,7 @@ idf_component_register(SRCS "${srcs}" "${tls_src}" PRIV_INCLUDE_DIRS src PRIV_REQUIRES mbedtls esp_timer) -target_compile_options(${COMPONENT_LIB} PRIVATE -Wno-strict-aliasing) +target_compile_options(${COMPONENT_LIB} PRIVATE -Wno-strict-aliasing -Wno-write-strings) target_compile_definitions(${COMPONENT_LIB} PRIVATE __ets__ ESP_SUPPLICANT