lw-ip: silence a warning related to CONFIG_LWIP_TCP_WND_DEFAULT value
This commit is contained in:
parent
43411da465
commit
e1452f5d6c
2 changed files with 8 additions and 0 deletions
|
@ -148,3 +148,10 @@ set_source_files_properties(
|
||||||
PROPERTIES COMPILE_FLAGS
|
PROPERTIES COMPILE_FLAGS
|
||||||
-Wno-implicit-fallthrough
|
-Wno-implicit-fallthrough
|
||||||
)
|
)
|
||||||
|
# "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
|
||||||
|
)
|
||||||
|
|
|
@ -38,5 +38,6 @@ CFLAGS += -Wno-address # lots of LWIP source files evaluate macros that check a
|
||||||
|
|
||||||
lwip/src/netif/ppp/ppp.o: CFLAGS += -Wno-uninitialized
|
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
|
||||||
|
lwip/src/core/tcp.o: CFLAGS += -Wno-type-limits
|
||||||
|
|
||||||
COMPONENT_ADD_LDFRAGMENTS += linker.lf
|
COMPONENT_ADD_LDFRAGMENTS += linker.lf
|
||||||
|
|
Loading…
Reference in a new issue