Warning fix: memcpy.c
Ralf Corsepius
ralf.corsepius@rtems.org
Sat Mar 5 10:12:00 GMT 2005
Hi,
The patch below fixes this warning:
..
/users/rtems/src/rpms/BUILD/rtems-4.7-arm-rtems4.7-gcc-newlib-gcc4.0.0newlib1.13.0/build/gcc/xgcc -B/users/rtems/src/rpms/BUILD/rtems-4.7-arm-rtems4.7-gcc-newlib-gcc4.0.0newlib1.13.0/build/gcc/ -nostdinc -B/users/rtems/src/rpms/BUILD/rtems-4.7-arm-rtems4.7-gcc-newlib-gcc4.0.0newlib1.13.0/build/arm-rtems4.7/thumb/newlib/ -isystem /users/rtems/src/rpms/BUILD/rtems-4.7-arm-rtems4.7-gcc-newlib-gcc4.0.0newlib1.13.0/build/arm-rtems4.7/thumb/newlib/targ-include -isystem /users/rtems/src/rpms/BUILD/rtems-4.7-arm-rtems4.7-gcc-newlib-gcc4.0.0newlib1.13.0/gcc-4.0.0/newlib/libc/include -B/opt/rtems-4.7/arm-rtems4.7/bin/ -B/opt/rtems-4.7/arm-rtems4.7/lib/ -isystem /opt/rtems-4.7/arm-rtems4.7/include -isystem /opt/rtems-4.7/arm-rtems4.7/sys-include -mthumb -DPACKAGE=\"newlib\" -DVERSION=\"1.13.0\" -I. -I../../../../../../gcc-4.0.0/newlib/libc/string -O2 -DHAVE_GETTIMEOFDAY -DMALLOC_PROVIDED -DEXIT_PROVIDED -DMISSING_SYSCALL_NAMES -DSIGNAL_PROVIDED -DREENTRANT_SYSCALLS_PROVIDED -DHAVE_OPENDIR -DNO_EXEC -DHAVE_FCNTL -fno-builtin -O2 -g -O2 -mthumb -c ../../../../../../gcc-4.0.0/newlib/libc/string/memcmp.c
../../../../../../gcc-4.0.0/newlib/libc/string/memcmp.c: In function 'memcmp':
../../../../../../gcc-4.0.0/newlib/libc/string/memcmp.c:98: warning: pointer targets in assignment differ in signedness
../../../../../../gcc-4.0.0/newlib/libc/string/memcmp.c:99: warning: pointer targets in assignment differ in signedness
Ralf
-------------- next part --------------
A non-text attachment was scrubbed...
Name: newlib-CVS-rtems-rc-20050305-1.diff
Type: text/x-patch
Size: 549 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/newlib/attachments/20050305/b2685f5e/attachment.bin>
More information about the Newlib
mailing list