[RTEMS Project] #2302: beagle BSPs - warning because of bad symbol name choice
RTEMS trac
trac at rtems.org
Fri Mar 13 18:58:45 UTC 2015
#2302: beagle BSPs - warning because of bad symbol name choice
---------------------------+------------------
Reporter: joel.sherrill | Owner: beng
Type: defect | Status: new
Priority: normal | Milestone: 4.11
Component: General | Version: 4.11
Severity: normal | Keywords:
---------------------------+------------------
The macro TIMER_COUNT is not prefixed by anything ARM, Beagle, etc. and
conflicts with the use of the same name in sp68. I am not even sure this
constant is used. It either needs to be renamed or deleted.
arm-rtems4.11-gcc -B../../../../../beagleboardorig/lib/ -specs bsp_specs
-qrtems -DHAVE_CONFIG_H -I.
-I../../../../../../../rtems/c/src/../../testsuites/sptests/sp68 -I..
-I../../../../../../../rtems/c/src/../../testsuites/sptests/../support/include
-mcpu=cortex-a8 -O2 -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/sp68/init.c
../../../../../../../rtems/c/src/../../testsuites/sptests/sp68/init.c:35:0:
warning: "TIMER_COUNT" redefined
#define TIMER_COUNT 6
^
In file included from
../../../../../../../rtems/c/src/../../testsuites/sptests/../support/include/tmacros.h:21:0,
from
../../../../../../../rtems/c/src/../../testsuites/sptests/sp68/init.c:26:
../../../../../beagleboardorig/lib/include/bsp.h:119:0: note: this is the
location of the previous definition
#define TIMER_COUNT(freq) (TIMER_FREQ/(freq)) /* initial value for
counter*/
^
--
Ticket URL: <http://devel.rtems.org/ticket/2302>
RTEMS Project <http://www.rtems.org/>
RTEMS Project
More information about the bugs
mailing list