Trying to build Contiki's multicast (/home/jovyan/contiki-ng/iot-lab-contiki-ng/contiki-ng/examples/multicast) example but it causes "pointer of type 'void *' used in arithmetic" error. Should I suppress the warnings being treated as errors?
make: Entering directory '/home/jovyan/contiki-ng/iot-lab-contiki-ng/contiki-ng/examples/multicast'
MKDIR build/iotlab/m3/obj
CC /home/jovyan/contiki-ng/iot-lab-contiki-ng/arch/platform/iotlab/dev/xmem.c
CC ../../os/storage/cfs/cfs-coffee.c
CC /home/jovyan/contiki-ng/iot-lab-contiki-ng/arch/platform/iotlab/dev/acc-mag-sensor.c
CC /home/jovyan/contiki-ng/iot-lab-contiki-ng/arch/platform/iotlab/dev/fake-button-sensor.c
CC /home/jovyan/contiki-ng/iot-lab-contiki-ng/arch/platform/iotlab/dev/gyr-sensor.c
CC /home/jovyan/contiki-ng/iot-lab-contiki-ng/arch/platform/iotlab/dev/light-sensor.c
CC /home/jovyan/contiki-ng/iot-lab-contiki-ng/arch/platform/iotlab/dev/pressure-sensor.c
CC /home/jovyan/contiki-ng/iot-lab-contiki-ng/arch/platform/iotlab/openlab/platform/iotlab-m3/iotlab-m3.c
CC /home/jovyan/contiki-ng/iot-lab-contiki-ng/arch/platform/iotlab/openlab/platform/iotlab-m3/iotlab-m3_drivers.c
CC /home/jovyan/contiki-ng/iot-lab-contiki-ng/arch/platform/iotlab/openlab/platform/iotlab-m3/iotlab-m3_lib.c
CC /home/jovyan/contiki-ng/iot-lab-contiki-ng/arch/platform/iotlab/openlab/platform/iotlab-m3/iotlab-m3_periph.c
CC /home/jovyan/contiki-ng/iot-lab-contiki-ng/arch/platform/iotlab/openlab/periph/lsm303dlhc/lsm303dlhc.c
CC /home/jovyan/contiki-ng/iot-lab-contiki-ng/arch/platform/iotlab/openlab/periph/lps331ap/lps331ap.c
CC /home/jovyan/contiki-ng/iot-lab-contiki-ng/arch/platform/iotlab/openlab/periph/l3g4200d/l3g4200d.c
CC /home/jovyan/contiki-ng/iot-lab-contiki-ng/arch/platform/iotlab/openlab/periph/isl29020/isl29020.c
CC /home/jovyan/contiki-ng/iot-lab-contiki-ng/arch/platform/iotlab/openlab/periph/n25xxx/n25xxx.c
CC /home/jovyan/contiki-ng/iot-lab-contiki-ng/arch/platform/iotlab/openlab/drivers/cortex-m3/boot.c
CC /home/jovyan/contiki-ng/iot-lab-contiki-ng/arch/platform/iotlab/openlab/drivers/cortex-m3/nvic.c
CC /home/jovyan/contiki-ng/iot-lab-contiki-ng/arch/platform/iotlab/openlab/drivers/stm32/dma.c
CC /home/jovyan/contiki-ng/iot-lab-contiki-ng/arch/platform/iotlab/openlab/drivers/stm32/i2c.c
CC /home/jovyan/contiki-ng/iot-lab-contiki-ng/arch/platform/iotlab/openlab/drivers/stm32/spi.c
CC /home/jovyan/contiki-ng/iot-lab-contiki-ng/arch/platform/iotlab/openlab/drivers/stm32/timer.c
CC /home/jovyan/contiki-ng/iot-lab-contiki-ng/arch/platform/iotlab/openlab/drivers/stm32/uart.c
CC /home/jovyan/contiki-ng/iot-lab-contiki-ng/arch/platform/iotlab/openlab/drivers/stm32/unique_id.c
CC /home/jovyan/contiki-ng/iot-lab-contiki-ng/arch/platform/iotlab/openlab/drivers/stm32/usb.c
CC /home/jovyan/contiki-ng/iot-lab-contiki-ng/arch/platform/iotlab/openlab/drivers/stm32/watchdog.c
CC /home/jovyan/contiki-ng/iot-lab-contiki-ng/arch/platform/iotlab/openlab/drivers/stm32f1xx/adc.c
CC /home/jovyan/contiki-ng/iot-lab-contiki-ng/arch/platform/iotlab/openlab/drivers/stm32f1xx/afio.c
CC /home/jovyan/contiki-ng/iot-lab-contiki-ng/arch/platform/iotlab/openlab/drivers/stm32f1xx/boot.c
CC /home/jovyan/contiki-ng/iot-lab-contiki-ng/arch/platform/iotlab/openlab/drivers/stm32f1xx/exti.c
CC /home/jovyan/contiki-ng/iot-lab-contiki-ng/arch/platform/iotlab/openlab/drivers/stm32f1xx/flash.c
CC /home/jovyan/contiki-ng/iot-lab-contiki-ng/arch/platform/iotlab/openlab/drivers/stm32f1xx/gpio.c
CC /home/jovyan/contiki-ng/iot-lab-contiki-ng/arch/platform/iotlab/openlab/drivers/stm32f1xx/rcc.c
CC /home/jovyan/contiki-ng/iot-lab-contiki-ng/arch/platform/iotlab/openlab/drivers/stm32f1xx/rcc_clock.c
CC /home/jovyan/contiki-ng/iot-lab-contiki-ng/arch/platform/iotlab/openlab/drivers/stm32f1xx/rcc_sysclk.c
CC /home/jovyan/contiki-ng/iot-lab-contiki-ng/arch/platform/iotlab/openlab/drivers/stm32f1xx/rtc.c
CC /home/jovyan/contiki-ng/iot-lab-contiki-ng/arch/platform/iotlab/openlab/drivers/stm32f1xx/sdio.c
CC /home/jovyan/contiki-ng/iot-lab-contiki-ng/arch/platform/iotlab/openlab/drivers/stm32f1xx/stm32f1xx.c
CC /home/jovyan/contiki-ng/iot-lab-contiki-ng/arch/platform/iotlab/openlab/lib/softtimer/soft_timer_delay.c
CC /home/jovyan/contiki-ng/iot-lab-contiki-ng/arch/platform/iotlab/openlab/periph/rf2xx/rf2xx.c
CC /home/jovyan/contiki-ng/iot-lab-contiki-ng/arch/platform/iotlab/./platform.c
CC ../../os/dev/leds.c
CC /home/jovyan/contiki-ng/iot-lab-contiki-ng/arch/platform/iotlab/./int-master.c
CC ../../os/lib/sensors.c
CC ../../os/dev/slip.c
CC /home/jovyan/contiki-ng/iot-lab-contiki-ng/arch/platform/iotlab/./clock-systick.c
CC /home/jovyan/contiki-ng/iot-lab-contiki-ng/arch/platform/iotlab/./watchdog.c
CC /home/jovyan/contiki-ng/iot-lab-contiki-ng/arch/platform/iotlab/./radio-rf2xx.c
CC /home/jovyan/contiki-ng/iot-lab-contiki-ng/arch/platform/iotlab/dev/uart1.c
CC /home/jovyan/contiki-ng/iot-lab-contiki-ng/arch/platform/iotlab/./slip-arch.c
CC /home/jovyan/contiki-ng/iot-lab-contiki-ng/arch/platform/iotlab/./openlab-port.c
CC /home/jovyan/contiki-ng/iot-lab-contiki-ng/arch/platform/iotlab/./rtimer-arch.c
CC /home/jovyan/contiki-ng/iot-lab-contiki-ng/arch/platform/iotlab/./leds-arch.c
CC /home/jovyan/contiki-ng/iot-lab-contiki-ng/arch/platform/iotlab/m3/platform-sensors.c
CC ../../os/net/ipv6/multicast/uip-mcast6-stats.c
CC ../../os/net/ipv6/multicast/mpl.c
../../os/net/ipv6/multicast/mpl.c: In function 'icmp_out':
../../os/net/ipv6/multicast/mpl.c:875:33: error: pointer of type 'void *' used in arithmetic [-Werror=pointer-arith]
memcpy(((void *)locsiptr) + seed_info_len, vector, vec_size);
^
../../os/net/ipv6/multicast/mpl.c:876:37: error: pointer of type 'void *' used in arithmetic [-Werror=pointer-arith]
locsiptr = ((void *)locsiptr) + seed_info_len + vec_size;
^
../../os/net/ipv6/multicast/mpl.c:876:53: error: pointer of type 'void *' used in arithmetic [-Werror=pointer-arith]
locsiptr = ((void *)locsiptr) + seed_info_len + vec_size;
^
../../os/net/ipv6/multicast/mpl.c: In function 'data_message_expiration':
../../os/net/ipv6/multicast/mpl.c:980:34: error: pointer of type 'void *' used in arithmetic [-Werror=pointer-arith]
memcpy(((void *)UIP_EXT_BUF) + 8 + UIP_EXT_BUF->len * 8, &locmmptr->data, locmmptr->size);
^
../../os/net/ipv6/multicast/mpl.c:980:38: error: pointer of type 'void *' used in arithmetic [-Werror=pointer-arith]
memcpy(((void *)UIP_EXT_BUF) + 8 + UIP_EXT_BUF->len * 8, &locmmptr->data, locmmptr->size);
^
../../os/net/ipv6/multicast/mpl.c: In function 'icmp_in':
../../os/net/ipv6/multicast/mpl.c:1134:59: error: pointer of type 'void *' used in arithmetic [-Werror=pointer-arith]
(struct seed_info *)((void *)UIP_ICMP_PAYLOAD + uip_len - uip_l3_icmp_hdr_len)) {
^
../../os/net/ipv6/multicast/mpl.c:1134:69: error: pointer of type 'void *' used in arithmetic [-Werror=pointer-arith]
(struct seed_info *)((void *)UIP_ICMP_PAYLOAD + uip_len - uip_l3_icmp_hdr_len)) {
^
../../os/net/ipv6/multicast/mpl.c:1134:21: error: pointer of type 'void *' used in arithmetic [-Werror=pointer-arith]
(struct seed_info *)((void *)UIP_ICMP_PAYLOAD + uip_len - uip_l3_icmp_hdr_len)) {
^~~~~~~~~
../../os/net/ipv6/multicast/mpl.c:1138:41: error: pointer of type 'void *' used in arithmetic [-Werror=pointer-arith]
locsiptr = ((void *)locsiptr) + sizeof(struct seed_info) + SEED_INFO_GET_LEN(locsiptr);
^
../../os/net/ipv6/multicast/mpl.c:1138:68: error: pointer of type 'void *' used in arithmetic [-Werror=pointer-arith]
locsiptr = ((void *)locsiptr) + sizeof(struct seed_info) + SEED_INFO_GET_LEN(locsiptr);
^
../../os/net/ipv6/multicast/mpl.c:1145:41: error: pointer of type 'void *' used in arithmetic [-Werror=pointer-arith]
locsiptr = ((void *)locsiptr) + sizeof(struct seed_info_s1) + SEED_INFO_GET_LEN(locsiptr);
^
../../os/net/ipv6/multicast/mpl.c:1145:71: error: pointer of type 'void *' used in arithmetic [-Werror=pointer-arith]
locsiptr = ((void *)locsiptr) + sizeof(struct seed_info_s1) + SEED_INFO_GET_LEN(locsiptr);
^
../../os/net/ipv6/multicast/mpl.c:1152:41: error: pointer of type 'void *' used in arithmetic [-Werror=pointer-arith]
locsiptr = ((void *)locsiptr) + sizeof(struct seed_info_s2) + SEED_INFO_GET_LEN(locsiptr);
^
../../os/net/ipv6/multicast/mpl.c:1152:71: error: pointer of type 'void *' used in arithmetic [-Werror=pointer-arith]
locsiptr = ((void *)locsiptr) + sizeof(struct seed_info_s2) + SEED_INFO_GET_LEN(locsiptr);
^
../../os/net/ipv6/multicast/mpl.c:1159:41: error: pointer of type 'void *' used in arithmetic [-Werror=pointer-arith]
locsiptr = ((void *)locsiptr) + sizeof(struct seed_info_s3) + SEED_INFO_GET_LEN(locsiptr);
^
../../os/net/ipv6/multicast/mpl.c:1159:71: error: pointer of type 'void *' used in arithmetic [-Werror=pointer-arith]
locsiptr = ((void *)locsiptr) + sizeof(struct seed_info_s3) + SEED_INFO_GET_LEN(locsiptr);
^
../../os/net/ipv6/multicast/mpl.c:1190:55: error: pointer of type 'void *' used in arithmetic [-Werror=pointer-arith]
(struct seed_info *)((void *)UIP_ICMP_PAYLOAD + uip_len - uip_l3_icmp_hdr_len)) {
^
../../os/net/ipv6/multicast/mpl.c:1190:65: error: pointer of type 'void *' used in arithmetic [-Werror=pointer-arith]
(struct seed_info *)((void *)UIP_ICMP_PAYLOAD + uip_len - uip_l3_icmp_hdr_len)) {
^
../../os/net/ipv6/multicast/mpl.c:1190:17: error: pointer of type 'void *' used in arithmetic [-Werror=pointer-arith]
(struct seed_info *)((void *)UIP_ICMP_PAYLOAD + uip_len - uip_l3_icmp_hdr_len)) {
^~~~~~~~~
../../os/net/ipv6/multicast/mpl.c:1216:35: error: pointer of type 'void *' used in arithmetic [-Werror=pointer-arith]
vector = ((void *)locsiptr) + sizeof(struct seed_info);
^
../../os/net/ipv6/multicast/mpl.c:1219:35: error: pointer of type 'void *' used in arithmetic [-Werror=pointer-arith]
vector = ((void *)locsiptr) + sizeof(struct seed_info_s1);
^
../../os/net/ipv6/multicast/mpl.c:1222:35: error: pointer of type 'void *' used in arithmetic [-Werror=pointer-arith]
vector = ((void *)locsiptr) + sizeof(struct seed_info_s2);
^
../../os/net/ipv6/multicast/mpl.c:1225:35: error: pointer of type 'void *' used in arithmetic [-Werror=pointer-arith]
vector = ((void *)locsiptr) + sizeof(struct seed_info_s3);
^
../../os/net/ipv6/multicast/mpl.c:1357:37: error: pointer of type 'void *' used in arithmetic [-Werror=pointer-arith]
locsiptr = ((void *)locsiptr) + sizeof(struct seed_info) + SEED_INFO_GET_LEN(locsiptr);
^
../../os/net/ipv6/multicast/mpl.c:1357:64: error: pointer of type 'void *' used in arithmetic [-Werror=pointer-arith]
locsiptr = ((void *)locsiptr) + sizeof(struct seed_info) + SEED_INFO_GET_LEN(locsiptr);
^
../../os/net/ipv6/multicast/mpl.c:1360:37: error: pointer of type 'void *' used in arithmetic [-Werror=pointer-arith]
locsiptr = ((void *)locsiptr) + sizeof(struct seed_info_s1) + SEED_INFO_GET_LEN(locsiptr);
^
../../os/net/ipv6/multicast/mpl.c:1360:67: error: pointer of type 'void *' used in arithmetic [-Werror=pointer-arith]
locsiptr = ((void *)locsiptr) + sizeof(struct seed_info_s1) + SEED_INFO_GET_LEN(locsiptr);
^
../../os/net/ipv6/multicast/mpl.c:1363:37: error: pointer of type 'void *' used in arithmetic [-Werror=pointer-arith]
locsiptr = ((void *)locsiptr) + sizeof(struct seed_info_s2) + SEED_INFO_GET_LEN(locsiptr);
^
../../os/net/ipv6/multicast/mpl.c:1363:67: error: pointer of type 'void *' used in arithmetic [-Werror=pointer-arith]
locsiptr = ((void *)locsiptr) + sizeof(struct seed_info_s2) + SEED_INFO_GET_LEN(locsiptr);
^
../../os/net/ipv6/multicast/mpl.c:1366:37: error: pointer of type 'void *' used in arithmetic [-Werror=pointer-arith]
locsiptr = ((void *)locsiptr) + sizeof(struct seed_info_s3) + SEED_INFO_GET_LEN(locsiptr);
^
../../os/net/ipv6/multicast/mpl.c:1366:67: error: pointer of type 'void *' used in arithmetic [-Werror=pointer-arith]
locsiptr = ((void *)locsiptr) + sizeof(struct seed_info_s3) + SEED_INFO_GET_LEN(locsiptr);
^
../../os/net/ipv6/multicast/mpl.c: In function 'accept':
../../os/net/ipv6/multicast/mpl.c:1575:27: error: pointer of type 'void *' used in arithmetic [-Werror=pointer-arith]
hptr = ((void *)hptr) + hptr->len * 8 + 8;
^
../../os/net/ipv6/multicast/mpl.c:1575:43: error: pointer of type 'void *' used in arithmetic [-Werror=pointer-arith]
hptr = ((void *)hptr) + hptr->len * 8 + 8;
^
../../os/net/ipv6/multicast/mpl.c:1577:25: error: pointer of type 'void *' used in arithmetic [-Werror=pointer-arith]
hptr = ((void *)hptr) + hptr->len * 8 + 8;
^
../../os/net/ipv6/multicast/mpl.c:1577:41: error: pointer of type 'void *' used in arithmetic [-Werror=pointer-arith]
hptr = ((void *)hptr) + hptr->len * 8 + 8;
^
cc1: all warnings being treated as errors
/home/jovyan/contiki-ng/iot-lab-contiki-ng/arch/platform/iotlab/Makefile.iotlab:166: recipe for target 'build/iotlab/m3/obj/mpl.o' failed
make: *** [build/iotlab/m3/obj/mpl.o] Error 1
make: Leaving directory '/home/jovyan/contiki-ng/iot-lab-contiki-ng/contiki-ng/examples/multicast'