nuttx/net/local
wangming9 21c30f80af net/local: fix build error on CONFIG_DEBUG_OPTLEVEL="-O3"
Summary
The following compilation error occurs after configuring CONFIG_DEBUG_OPTLEVEL="-O3"
CC:  local/local_fifo.c In file included from local/local_fifo.c:25:
In function 'local_format_name',
    inlined from 'local_cs_name' at local/local_fifo.c:101:3,
    inlined from 'local_create_fifos' at local/local_fifo.c:431:3:
local/local_fifo.c:84:16: error: '%x' directive output may be truncated writing between 1 and 8 bytes into a region of size between 5 and 112 [-Werror=format-truncation=]
   84 |                CONFIG_NET_LOCAL_VFS_PATH "/%s%s%" PRIx32,
      |                ^~~~~~~~~~~~~~~~~~~~~~~~~

Signed-off-by: wangming9 <wangming9@xiaomi.com>
2023-09-09 17:08:23 +03:00
..
CMakeLists.txt
Kconfig
local.h
local_accept.c
local_bind.c
local_conn.c
local_connect.c
local_fifo.c net/local: fix build error on CONFIG_DEBUG_OPTLEVEL="-O3" 2023-09-09 17:08:23 +03:00
local_listen.c
local_netpoll.c
local_recvmsg.c
local_recvutils.c
local_release.c
local_sendmsg.c
local_sendpacket.c
local_sockif.c
Make.defs