warning removal changes
Chris Johns
chrisj at rtems.org
Sun Sep 3 10:52:31 UTC 2006
Joel Sherrill wrote:
>
> Please update your tree and test. If you see problems or
> have fixes for other warnings, please help.
>
I have built multilib kernels without bsps for arm i386 m68k mips
powerpc sh sparc tic4x targets. The get the following error with the tic4x:
gmake[6]: Entering directory
`/local/tools/rtems/tools/packages/BUILD/rtems-4.7-tic4x-rtems4.7-4.6.99.3/build/tic4x-rtems4.7/cpukit/score/cpu/c4x'
if tic4x-rtems4.7-gcc --pipe -DHAVE_CONFIG_H -I../../..
-I../../../../lib/include -Wall -fasm -g -O2 -MT libscorecpu_a-cpu.o
-MD -MP -MF ".deps/libscorecpu_a-cpu.Tpo" -c -o libscorecpu_a-cpu.o
`test -f 'cpu.c' || echo
'../../../../../../rtems-4.6.99.3/cpukit/score/cpu/c4x/'`cpu.c; \
then mv -f ".deps/libscorecpu_a-cpu.Tpo" ".deps/libscorecpu_a-cpu.Po";
else rm -f ".deps/libscorecpu_a-cpu.Tpo"; exit 1; fi
In file included from ../../../../lib/include/rtems/score/cpu.h:28,
from ../../../../lib/include/rtems/system.h:184,
from
../../../../../../rtems-4.6.99.3/cpukit/score/cpu/c4x/cpu.c:15:
../../../../lib/include/rtems/score/types.h:36: error: syntax error
before "Priority_Bit_map_control"
../../../../lib/include/rtems/score/types.h:36: warning: type defaults
to `int' in declaration of `Priority_Bit_map_control'
../../../../lib/include/rtems/score/types.h:36: warning: data definition
has no type or storage class
gmake[6]: *** [libscorecpu_a-cpu.o] Error 1
I have errors with the bsps on the m68k target. I do not know the status
of the other bsps.
I built using contrib/rtemsrpms:
$ cd contrib/rtemsrpms
$ ./bootstrap && ./configure && make 2>&1 | tee build.txt
> We are primarily dealing with 16/32 bit integer issues and
> pointer mangling that gcc doesn't like. I would like to
> be warning free. :)
Does this means we need to test this code before branching ?
Regards
Chris
More information about the users
mailing list