mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
mqtt: silence a format warning
This commit is contained in:
parent
d4cbfd34cc
commit
d6a5cd6e82
@ -9,3 +9,11 @@ set(COMPONENT_SRCS "esp-mqtt/mqtt_client.c"
|
|||||||
set(COMPONENT_REQUIRES lwip nghttp mbedtls tcp_transport)
|
set(COMPONENT_REQUIRES lwip nghttp mbedtls tcp_transport)
|
||||||
|
|
||||||
register_component()
|
register_component()
|
||||||
|
|
||||||
|
if(GCC_NOT_5_2_0)
|
||||||
|
# Temporary suppress "format-overflow" warning until we are fixed in esp-mqtt repo
|
||||||
|
set_source_files_properties(
|
||||||
|
esp-mqtt/lib/transport_ws.c
|
||||||
|
PROPERTIES COMPILE_FLAGS
|
||||||
|
-Wno-format-overflow)
|
||||||
|
endif()
|
||||||
|
@ -2,3 +2,7 @@ COMPONENT_SUBMODULES += esp-mqtt
|
|||||||
COMPONENT_ADD_INCLUDEDIRS := esp-mqtt/include
|
COMPONENT_ADD_INCLUDEDIRS := esp-mqtt/include
|
||||||
COMPONENT_SRCDIRS := esp-mqtt esp-mqtt/lib
|
COMPONENT_SRCDIRS := esp-mqtt esp-mqtt/lib
|
||||||
COMPONENT_PRIV_INCLUDEDIRS := esp-mqtt/lib/include
|
COMPONENT_PRIV_INCLUDEDIRS := esp-mqtt/lib/include
|
||||||
|
|
||||||
|
ifeq ($(GCC_NOT_5_2_0), 1)
|
||||||
|
esp-mqtt/lib/transport_ws.o: CFLAGS += -Wno-format-overflow
|
||||||
|
endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user