فهرست منبع

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.
David Cermak 4 سال پیش
والد
کامیت
02ac1baee4
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      components/wpa_supplicant/CMakeLists.txt

+ 1 - 1
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