-
Notifications
You must be signed in to change notification settings - Fork 2.1k
All Cortex-M platforms broken on current master #5726
Copy link
Copy link
Closed
Labels
Type: bugThe issue reports a bug / The PR fixes a bug (including spelling errors)The issue reports a bug / The PR fixes a bug (including spelling errors)
Milestone
Description
Just wanted to bulid something for the arduino-due on the current master, but something broke (actually it broke for all cortex-m based boards):
/home/hauke/dev/riot/RIOT/cpu/cortexm_common/vectors_cortexm.c: In function `hard_fault_handler':
/home/hauke/dev/riot/RIOT/cpu/cortexm_common/vectors_cortexm.c:276:9: error: `orig_sp' may be used uninitialized in this function [-Werror=maybe-uninitialized]
__asm__ volatile (
^
/home/hauke/dev/riot/RIOT/cpu/cortexm_common/vectors_cortexm.c:271:15: error: `pc' may be used uninitialized in this function [-Werror=maybe-uninitialized]
printf("In GDB:\n set $pc=0x%" PRIx32 "\n frame 0\n bt\n", pc);
^
cc1: all warnings being treated as errors
What happened here?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Type: bugThe issue reports a bug / The PR fixes a bug (including spelling errors)The issue reports a bug / The PR fixes a bug (including spelling errors)