Opened 19 years ago

Closed 19 years ago

#1052 closed defect (invalid)

grep-2.5.1a regex error

Reported by: giftbound@… Owned by: lfs-book@…
Priority: lowest Milestone:
Component: Book Version: SVN
Severity: normal Keywords:
Cc:

Description

not sure if its a bug but I get the following: depmode=gcc3 /bin/sh ../depcomp \ gcc -DLIBDIR=\"/tools/lib\" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I. -I../intl -g -O2 -c test -f regex.c || echo './'regex.c In file included from ./regex.h:2,

from regex.c:212:

./posix/regex.h:536:1: warning: "restrict_arr" redefined In file included from /tools/include/features.h:308,

from /tools/include/wchar.h:28, from regex.c:55:

/tools/include/sys/cdefs.h:275:1: warning: this is the location of the previous definition regex.c: In function `regex_compile': regex.c:3197: warning: comparison is always true due to limited range of data type rm -f libgreputils.a ar cru libgreputils.a closeout.o error.o exclude.o hard-locale.o isdir.o obstack.o quotearg.o savedir.o xmalloc.o xstrtol.o xstrtoumax.o regex.o

Change History (1)

comment:1 by jim@…, 19 years ago

Resolution: invalid
Status: newclosed

Yes, it looks like a bug, but it's programming issue but it does compile and work file. This same thing happens with a lot of programs, but they compile fine. The only time you should be concerned is when the compile fails and stops.

Marking as Invalid

Note: See TracTickets for help on using tickets.