[RTEMS Project] #2818: NIOS2 Does Not Compile on Master

RTEMS trac trac at rtems.org
Fri Nov 18 19:52:19 UTC 2016


#2818: NIOS2 Does Not Compile on Master
---------------------------+-----------------------------
 Reporter:  joel.sherrill  |      Owner:  sebastian.huber
     Type:  defect         |     Status:  new
 Priority:  highest        |  Milestone:  4.12
Component:  General        |    Version:  4.12
 Severity:  critical       |   Keywords:
---------------------------+-----------------------------
 ../../../../../../../../rtems/c/src/../../cpukit/score/cpu/nios2/nios2
 -isr-get-level.c: In function '_CPU_ISR_Is_enabled':
 ../../../../../../../../rtems/c/src/../../cpukit/score/cpu/nios2/nios2
 -isr-get-level.c:26:16: error: 'status' undeclared (first use in this
 function)
        return ((status & NIOS2_STATUS_IL_MASK) >> NIOS2_STATUS_IL_OFFSET)
 == 0;
                 ^~~~~~
 ../../../../../../../../rtems/c/src/../../cpukit/score/cpu/nios2/nios2
 -isr-get-level.c:26:16: note: each undeclared identifier is reported only
 once for each function it appears in
 ../../../../../../../../rtems/c/src/../../cpukit/score/cpu/nios2/nios2
 -isr-get-level.c:32:1: warning: control reaches end of non-void function
 [-Wreturn-type]
  }
  ^

--
Ticket URL: <http://devel.rtems.org/ticket/2818>
RTEMS Project <http://www.rtems.org/>
RTEMS Project


More information about the bugs mailing list