kopia lustrzana https://github.com/espressif/esp-idf
coap: silence format truncation warning (appears with GCC 8)
rodzic
76da10a665
commit
8016448fb1
|
@ -29,3 +29,5 @@ register_component()
|
|||
# TODO: find a way to move this to a port header
|
||||
target_compile_definitions(${COMPONENT_TARGET} PUBLIC WITH_POSIX)
|
||||
|
||||
# Silence format truncation warning, until it is fixed upstream
|
||||
set_source_files_properties(libcoap/src/coap_debug.c PROPERTIES COMPILE_FLAGS -Wno-format-truncation)
|
||||
|
|
|
@ -10,3 +10,5 @@ COMPONENT_SRCDIRS := libcoap/src libcoap port
|
|||
|
||||
COMPONENT_SUBMODULES += libcoap
|
||||
|
||||
# Silence format truncation warning, until it is fixed upstream
|
||||
libcoap/src/coap_debug.o: CFLAGS += -Wno-format-truncation
|
||||
|
|
Ładowanie…
Reference in New Issue