From c805a5cff82e406ab88c47b4b659c9832b590ffd 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 220a0ccd76..2e10bb82af 100644 --- a/components/wpa_supplicant/CMakeLists.txt +++ b/components/wpa_supplicant/CMakeLists.txt @@ -157,7 +157,7 @@ idf_component_register(SRCS "${srcs}" "${tls_src}" "${roaming_src}" "${crypto_sr PRIV_INCLUDE_DIRS src src/utils 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