Warning "__restrict_arr" redefined while building libiberty/xatexit.c
Christian Jönsson
c.christian.joensson@telia.com
Mon Mar 25 00:14:00 GMT 2002
This was on a Debian Woody (test release) sun4m system using
binutils 2.12.90.0.1-1
dejagnu 1.4.2-1.1
gcc 2.95.4-9 (Debian prerelease)
kernel-image-2.2.20-sun4dm-smp 9
libc6 2.2.5-3
While bootstrapping gcc-3.1 I've been getting this warning:
/share2/gcc-rel/gcc/objdir/gcc/xgcc -B/share2/gcc-rel/gcc/objdir/gcc/ -B/usr/local/sparc-linux/bin/ -B/usr/local/sparc-linux/lib/ -isystem /usr/local/sparc-linux/include -c -DHAVE_CONFIG_H -g -O2 -I. -I../../../libiberty/../include -W -Wall -Wtraditional -pedantic ../../../libiberty/xatexit.c
In file included from ../../../include/xregex.h:26,
from ../../../libiberty/regex.c:195:
../../../include/xregex2.h:535:1: warning: "__restrict_arr" redefined
In file included from /usr/include/features.h:283,
from /usr/include/stdlib.h:25,
from ../../../libiberty/regex.c:130:
/usr/include/sys/cdefs.h:212:1: warning: this is the location of the previous definition
Is this something to be preoccupied with?
Cheers,
/ChJ
More information about the Gcc
mailing list