lwip: suppress some GCC 11 warnings

Closes https://github.com/espressif/esp-idf/issues/9142
This commit is contained in:
Anton Maklakov 2022-06-13 15:06:57 +07:00 committed by David Čermák
parent 87c987920a
commit d2ce9abb2a

View File

@ -178,6 +178,13 @@ set_source_files_properties(
-Wno-type-limits
)
# ignore some declaration mismatches
set_source_files_properties(
lwip/src/netif/ppp/chap_ms.c
PROPERTIES COMPILE_FLAGS
-Wno-array-parameter
)
if(CONFIG_OPENTHREAD_ENABLED)
idf_component_optional_requires(PRIVATE openthread)
endif()