You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Seen whilst updating a mcumgr PR:
In file included from /tmp/aa/zephyr/include/zephyr/kernel/sched_priq.h:9,
from /tmp/aa/zephyr/include/zephyr/kernel_includes.h:23,
from /tmp/aa/zephyr/include/zephyr/kernel.h:17,
from /tmp/aa/zephyr/include/zephyr/zephyr.h:18,
from /tmp/aa/zephyr/subsys/mgmt/mcumgr/lib/cmd/fs_mgmt/include/fs_mgmt/hash_checksum_mgmt.h:11,
from /tmp/aa/zephyr/subsys/mgmt/mcumgr/lib/cmd/fs_mgmt/src/hash_checksum_mgmt.c:10:
/tmp/aa/zephyr/include/zephyr/sys/util.h:108: warning: "ARRAY_SIZE" redefined
108 | #define ARRAY_SIZE(array) \
|
In file included from /tmp/aa/zephyr/include/zephyr/mgmt/mcumgr/buf.h:11,
from /tmp/aa/zephyr/subsys/mgmt/mcumgr/lib/mgmt/include/mgmt/mgmt.h:11,
from /tmp/aa/zephyr/subsys/mgmt/mcumgr/lib/cmd/fs_mgmt/src/hash_checksum_mgmt.c:9:
/tmp/aa/modules/lib/zcbor/include/zcbor_common.h:74: note: this is the location of the previous definition
74 | #define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]))
To Reproduce
Build something using both includes
Expected behavior
No warning to be emitted
Impact
Annoyance
Environment (please complete the following information):
OS: Linux
Toolchain: Zephyr SDK 0.14.0
Commit SHA or Version used: Adding commits on top of 70c4841
The text was updated successfully, but these errors were encountered:
Describe the bug
Seen whilst updating a mcumgr PR:
To Reproduce
Build something using both includes
Expected behavior
No warning to be emitted
Impact
Annoyance
Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: