-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Closed
Labels
bugThe issue is a bug, or the PR is fixing a bugThe issue is a bug, or the PR is fixing a bugpriority: lowLow impact/importance bugLow impact/importance bug
Description
function-sections -fdata-sections -mabi=aapcs --sysroot /home/nashif/Work/SDK/0.9.2/sysroots/armv5-zephyr-eabi/usr -mthumb -mcpu=cortex-m0 -o CMakeFiles/subsys__bluetooth__controller.dir/util/memq.c.obj -c /home/nashif/Work/zephyr/subsys/bluetooth/controller/util/memq.c
/home/nashif/Work/zephyr/subsys/bluetooth/host/hci_core.c: In function ‘le_init’:
/home/nashif/Work/zephyr/subsys/bluetooth/host/hci_core.c:3645:19: error: declaration of ‘buf’ shadows a previous local [-Werror=shadow]
struct net_buf *buf, *rsp;
^~~
/home/nashif/Work/zephyr/subsys/bluetooth/host/hci_core.c:3581:18: note: shadowed declaration is here
struct net_buf *buf;
^~~
/home/nashif/Work/zephyr/subsys/bluetooth/host/hci_core.c:3645:25: error: declaration of ‘rsp’ shadows a previous local [-Werror=shadow]
struct net_buf *buf, *rsp;
^~~
/home/nashif/Work/zephyr/subsys/bluetooth/host/hci_core.c:3582:18: note: shadowed declaration is here
struct net_buf *rsp;
^~~
cc1: all warnings being treated as errors
make[3]: *** [zephyr/subsys/bluetooth/host/CMakeFiles/subsys__bluetooth__host.dir/build.make:87: zephyr/subsys/bluetooth/host/CMakeFiles/subsys__bluetooth__host.dir/hci_core.c.obj] Error 1
Metadata
Metadata
Assignees
Labels
bugThe issue is a bug, or the PR is fixing a bugThe issue is a bug, or the PR is fixing a bugpriority: lowLow impact/importance bugLow impact/importance bug