[RTEMS Project] #2304: or1ksim warnings in spcontext01
RTEMS trac
trac at rtems.org
Fri Mar 13 19:03:00 UTC 2015
#2304: or1ksim warnings in spcontext01
---------------------------+------------------
Reporter: joel.sherrill | Owner:
Type: defect | Status: new
Priority: normal | Milestone: 4.11
Component: General | Version: 4.11
Severity: normal | Keywords:
---------------------------+------------------
Looks like the or1k is missing some prototypes/methods:
Making all in spcontext01
gmake[6]: Entering directory `/users/joel/rtems-4.11-work/rtems-
testing/rtems/build-or1k-or1ksim-rtems/or1k-
rtems4.11/c/or1ksim/testsuites/sptests/spcontext01'
or1k-rtems4.11-gcc -B../../../../../or1ksim/lib/ -specs bsp_specs -qrtems
-DHAVE_CONFIG_H -I.
-I../../../../../../../rtems/c/src/../../testsuites/sptests/spcontext01
-I..
-I../../../../../../../rtems/c/src/../../testsuites/sptests/../support/include
-O2 -O0 -g -Wall -Wmissing-prototypes -Wimplicit-function-declaration
-Wstrict-prototypes -Wnested-externs -MT init.o -MD -MP -MF .deps/init.Tpo
-c -o init.o
../../../../../../../rtems/c/src/../../testsuites/sptests/spcontext01/init.c
../../../../../../../rtems/c/src/../../testsuites/sptests/spcontext01/init.c:
In function 'validate_task':
../../../../../../../rtems/c/src/../../testsuites/sptests/spcontext01/init.c:42:3:
warning: implicit declaration of function '_CPU_Context_validate'
[-Wimplicit-function-declaration]
_CPU_Context_validate(arg);
^
../../../../../../../rtems/c/src/../../testsuites/sptests/spcontext01/init.c:42:3:
warning: nested extern declaration of '_CPU_Context_validate' [-Wnested-
externs]
../../../../../../../rtems/c/src/../../testsuites/sptests/spcontext01/init.c:
In function 'clobber_and_switch_timer':
../../../../../../../rtems/c/src/../../testsuites/sptests/spcontext01/init.c:118:3:
warning: implicit declaration of function '_CPU_Context_volatile_clobber'
[-Wimplicit-function-declaration]
_CPU_Context_volatile_clobber(pattern);
^
../../../../../../../rtems/c/src/../../testsuites/sptests/spcontext01/init.c:118:3:
warning: nested extern declaration of '_CPU_Context_volatile_clobber'
[-Wnested-externs]
--
Ticket URL: <http://devel.rtems.org/ticket/2304>
RTEMS Project <http://www.rtems.org/>
RTEMS Project
More information about the bugs
mailing list