[Bug 1949] New: arm_interrupt_disable: no return statement in function returning non-void

bugzilla-daemon at rtems.org bugzilla-daemon at rtems.org
Sun Nov 6 15:37:25 UTC 2011


https://www.rtems.org/bugzilla/show_bug.cgi?id=1949

           Summary: arm_interrupt_disable:  no return statement in
                    function returning non-void
           Product: RTEMS
           Version: HEAD
          Platform: All
        OS/Version: RTEMS
            Status: NEW
          Severity: normal
          Priority: P3
         Component: cpukit
        AssignedTo: joel.sherrill at oarcorp.com
        ReportedBy: ralf.corsepius at rtems.org


GCC emits this warning when building the arm1136jfs BSP:

make[7]: Entering directory
`/users/rtems/src/rtems-git/rtems.export2/BUILD-arm-rtems4.11/arm-rtems4.11/c/arm1136jfs/cpukit/score/cpu/arm'
arm-rtems4.11-gcc --pipe -DHAVE_CONFIG_H   -I../../..
-I../../../../cpukit/../../../arm1136jfs/lib/include   -mcpu=arm1136jf-s -O2 -g
-Wall -Wimplicit-function-declaration -Wstrict-prototypes -Wnested-externs -MT
libscorecpu_a-cpu.o -MD -MP -MF .deps/libscorecpu_a-cpu.Tpo -c -o
libscorecpu_a-cpu.o `test -f 'cpu.c' || echo
'../../../../../../../../c/src/../../cpukit/score/cpu/arm/'`cpu.c
In file included from
../../../../cpukit/../../../arm1136jfs/lib/include/rtems/score/percpu.h:22:0,
                 from
../../../../cpukit/../../../arm1136jfs/lib/include/rtems/system.h:23,
                 from
../../../../../../../../c/src/../../cpukit/score/cpu/arm/cpu.c:31:
../../../../cpukit/../../../arm1136jfs/lib/include/rtems/score/cpu.h: In
function 'arm_interrupt_disable':
../../../../cpukit/../../../arm1136jfs/lib/include/rtems/score/cpu.h:290:1:
warning: no return statement in function returning non-void [-Wreturn-type]

-- 
Configure bugmail: https://www.rtems.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the bugs mailing list