mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-01 19:54:32 +02:00
lw-ip: silence a warning related to CONFIG_LWIP_TCP_WND_DEFAULT value
This commit is contained in:
committed by
Angus Gratton
parent
21995978e1
commit
bfbc10e2d8
@@ -145,3 +145,11 @@ if(GCC_NOT_5_2_0)
|
|||||||
-Wno-implicit-fallthrough
|
-Wno-implicit-fallthrough
|
||||||
)
|
)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
# "comparison is always false due to limited range of data type" warning
|
||||||
|
# when setting CONFIG_LWIP_TCP_WND_DEFAULT to 65535
|
||||||
|
set_source_files_properties(
|
||||||
|
lwip/src/core/tcp.c
|
||||||
|
PROPERTIES COMPILE_FLAGS
|
||||||
|
-Wno-type-limits
|
||||||
|
)
|
||||||
|
@@ -36,4 +36,6 @@ lwip/src/netif/ppp/ppp.o: CFLAGS += -Wno-uninitialized
|
|||||||
lwip/src/netif/ppp/pppos.o: CFLAGS += -Wno-implicit-fallthrough
|
lwip/src/netif/ppp/pppos.o: CFLAGS += -Wno-implicit-fallthrough
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
lwip/src/core/tcp.o: CFLAGS += -Wno-type-limits
|
||||||
|
|
||||||
COMPONENT_ADD_LDFRAGMENTS += linker.lf
|
COMPONENT_ADD_LDFRAGMENTS += linker.lf
|
||||||
|
Reference in New Issue
Block a user