[riot-notifications] [RIOT-OS/RIOT] make: add flag for no-implicit-fallthrough in CXXFLAGS (#8617)
notifications at github.com
Fri Feb 23 09:08:12 CET 2018
--- build output of app tests/conn_can for board waspmote-pro (raw, runtime=1.1s):
-- running on worker haw-icc thread 4, build number 216.
make: Entering directory '/tmp/dwq.0.0677888750370953/4a3d2e5e8b5b332254f74cfdca0d1d2d/tests/conn_can'
Building application "tests_conn_can" for "waspmote-pro" with MCU "atmega1281".
device.c: In function 'can_device_calc_bittiming':
device.c:564:24: error: 'tseg2' may be used uninitialized in this function [-Werror=maybe-uninitialized]
timing->phase_seg2 = tseg2;
device.c:580:68: error: 'tseg1' may be used uninitialized in this function [-Werror=maybe-uninitialized]
timing->bitrate = clock / (timing->brp * (CAN_SYNC_SEG + tseg1 + tseg2));
device.c: At top level:
cc1: error: unrecognized command line option '-Wno-implicit-fallthrough' [-Werror]
cc1: all warnings being treated as errors
/tmp/dwq.0.0677888750370953/4a3d2e5e8b5b332254f74cfdca0d1d2d/Makefile.base:81: recipe for target '/tmp/dwq.0.0677888750370953/4a3d2e5e8b5b332254f74cfdca0d1d2d/build/can/device.o' failed
make: *** [/tmp/dwq.0.0677888750370953/4a3d2e5e8b5b332254f74cfdca0d1d2d/build/can/device.o] Error 1
/tmp/dwq.0.0677888750370953/4a3d2e5e8b5b332254f74cfdca0d1d2d/Makefile.base:20: recipe for target 'ALL--/tmp/dwq.0.0677888750370953/4a3d2e5e8b5b332254f74cfdca0d1d2d/sys/can' failed
make: *** [ALL--/tmp/dwq.0.0677888750370953/4a3d2e5e8b5b332254f74cfdca0d1d2d/sys/can] Error 2
/tmp/dwq.0.0677888750370953/4a3d2e5e8b5b332254f74cfdca0d1d2d/Makefile.base:20: recipe for target 'ALL--/tmp/dwq.0.0677888750370953/4a3d2e5e8b5b332254f74cfdca0d1d2d/sys' failed
make: *** [ALL--/tmp/dwq.0.0677888750370953/4a3d2e5e8b5b332254f74cfdca0d1d2d/sys] Error 2
/tmp/dwq.0.0677888750370953/4a3d2e5e8b5b332254f74cfdca0d1d2d/tests/conn_can/../../Makefile.include:324: recipe for target 'link' failed
make: *** [link] Error 2
make: Leaving directory '/tmp/dwq.0.0677888750370953/4a3d2e5e8b5b332254f74cfdca0d1d2d/tests/conn_can'
-- build directory size: 864K
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the notifications