-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Labels
area: NetworkingbugThe issue is a bug, or the PR is fixing a bugThe issue is a bug, or the PR is fixing a bugpriority: mediumMedium impact/importance bugMedium impact/importance bug
Description
Describe the bug
Build failure when building with llvm:
[ 82%] Building C object zephyr/subsys/net/ip/CMakeFiles/subsys__net__ip.dir/connection.c.obj
[ 83%] Building C object zephyr/subsys/net/ip/CMakeFiles/subsys__net__ip.dir/tcp2.c.obj
/home/nashif/Work/zephyrproject/zephyr/subsys/net/ip/tcp2.c:885:2: error: format specifies type 'unsigned short' but the argument has type 'int' [-Werror,-Wformat]
conn_send_data_dump(conn);
^~~~~~~~~~~~~~~~~~~~~~~~~
/home/nashif/Work/zephyrproject/zephyr/subsys/net/ip/./tcp2_priv.h:102:3: note: expanded from macro 'conn_send_data_dump'
conn_mss((_conn))); \
^~~~~~~~~~~~~~~~~~
/home/nashif/Work/zephyrproject/zephyr/include/net/net_core.h:49:6: note: expanded from macro 'NET_DBG'
##__VA_ARGS__)
To Reproduce
export ZEPHYR_TOOLCHAIN_VARIANT=llvm
west build -b qemu_x86 tests/net/socket/poll
Expected behavior
clean build
Metadata
Metadata
Assignees
Labels
area: NetworkingbugThe issue is a bug, or the PR is fixing a bugThe issue is a bug, or the PR is fixing a bugpriority: mediumMedium impact/importance bugMedium impact/importance bug