<86>Jan 25 06:57:04 userdel[3058533]: delete user 'rooter' <86>Jan 25 06:57:04 userdel[3058533]: removed group 'rooter' owned by 'rooter' <86>Jan 25 06:57:04 userdel[3058533]: removed shadow group 'rooter' owned by 'rooter' <86>Jan 25 06:57:04 groupadd[3058546]: group added to /etc/group: name=rooter, GID=1820 <86>Jan 25 06:57:04 groupadd[3058546]: group added to /etc/gshadow: name=rooter <86>Jan 25 06:57:04 groupadd[3058546]: new group: name=rooter, GID=1820 <86>Jan 25 06:57:04 useradd[3058553]: new user: name=rooter, UID=1820, GID=1820, home=/root, shell=/bin/bash, from=none <86>Jan 25 06:57:04 userdel[3058563]: delete user 'builder' <86>Jan 25 06:57:04 userdel[3058563]: removed group 'builder' owned by 'builder' <86>Jan 25 06:57:04 userdel[3058563]: removed shadow group 'builder' owned by 'builder' <86>Jan 25 06:57:04 groupadd[3058571]: group added to /etc/group: name=builder, GID=1821 <86>Jan 25 06:57:04 groupadd[3058571]: group added to /etc/gshadow: name=builder <86>Jan 25 06:57:04 groupadd[3058571]: new group: name=builder, GID=1821 <86>Jan 25 06:57:04 useradd[3058578]: new user: name=builder, UID=1821, GID=1821, home=/usr/src, shell=/bin/bash, from=none Building target platforms: i586 Building for target i586 Wrote: /usr/src/in/nosrpm/agrep-3.41.5-alt1.nosrc.rpm (w1.gzdio) Installing agrep-3.41.5-alt1.src.rpm Building target platforms: i586 Building for target i586 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.96210 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf agrep-3.41.5 + echo 'Source #0 (agrep-3.41.5.tar):' Source #0 (agrep-3.41.5.tar): + /bin/tar -xf /usr/src/RPM/SOURCES/agrep-3.41.5.tar + cd agrep-3.41.5 + /bin/chmod -c -Rf u+rwX,go-w . + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.52805 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd agrep-3.41.5 + make -j16 'CFLAGS=-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -Wno-error=implicit-function-declaration -Wno-error=implicit-int -Wno-error=int-conversion -D__APPLE__ -DHAVE_DIRENT_H' make: Entering directory '/usr/src/RPM/BUILD/agrep-3.41.5' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -Wno-error=implicit-function-declaration -Wno-error=implicit-int -Wno-error=int-conversion -D__APPLE__ -DHAVE_DIRENT_H -c -o dummyfil.o dummyfil.c make: Leaving directory '/usr/src/RPM/BUILD/agrep-3.41.5' make: Entering directory '/usr/src/RPM/BUILD/agrep-3.41.5' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -Wno-error=implicit-function-declaration -Wno-error=implicit-int -Wno-error=int-conversion -D__APPLE__ -DHAVE_DIRENT_H -c -o checkfil.o checkfil.c make: Leaving directory '/usr/src/RPM/BUILD/agrep-3.41.5' make: Entering directory '/usr/src/RPM/BUILD/agrep-3.41.5' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -Wno-error=implicit-function-declaration -Wno-error=implicit-int -Wno-error=int-conversion -D__APPLE__ -DHAVE_DIRENT_H -c -o recursiv.o recursiv.c recursiv.c: In function 'recursive': recursiv.c:124:36: warning: implicit declaration of function 'exec' [-Wimplicit-function-declaration] 124 | if ((ret = exec(3, file_list)) == -1) return -1; | ^~~~ make: Leaving directory '/usr/src/RPM/BUILD/agrep-3.41.5' make: Entering directory '/usr/src/RPM/BUILD/agrep-3.41.5' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -Wno-error=implicit-function-declaration -Wno-error=implicit-int -Wno-error=int-conversion -D__APPLE__ -DHAVE_DIRENT_H -c -o follow.o follow.c make: Leaving directory '/usr/src/RPM/BUILD/agrep-3.41.5' make: Entering directory '/usr/src/RPM/BUILD/agrep-3.41.5' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -Wno-error=implicit-function-declaration -Wno-error=implicit-int -Wno-error=int-conversion -D__APPLE__ -DHAVE_DIRENT_H -c -o main.o main.c main.c: In function 'main': main.c:79:15: warning: implicit declaration of function 'fileagrep' [-Wimplicit-function-declaration] 79 | ret = fileagrep(argc, argv, 0, stdout); | ^~~~~~~~~ main.c:96:1: warning: label 'ABORT' defined but not used [-Wunused-label] 96 | ABORT: exit(ret); /* changed by [TG] 23.09.96 */ | ^~~~~ make: Leaving directory '/usr/src/RPM/BUILD/agrep-3.41.5' make: Entering directory '/usr/src/RPM/BUILD/agrep-3.41.5' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -Wno-error=implicit-function-declaration -Wno-error=implicit-int -Wno-error=int-conversion -D__APPLE__ -DHAVE_DIRENT_H -c -o compat.o compat.c compat.c:11:8: warning: type defaults to 'int' in declaration of 'FILEOUT' [-Wimplicit-int] 11 | extern FILEOUT; | ^~~~~~~ compat.c:12:8: warning: type defaults to 'int' in declaration of 'REGEX' [-Wimplicit-int] 12 | extern REGEX; | ^~~~~ compat.c:13:8: warning: type defaults to 'int' in declaration of 'DELIMITER' [-Wimplicit-int] 13 | extern DELIMITER; | ^~~~~~~~~ compat.c:14:8: warning: type defaults to 'int' in declaration of 'WHOLELINE' [-Wimplicit-int] 14 | extern WHOLELINE; | ^~~~~~~~~ compat.c:15:8: warning: type defaults to 'int' in declaration of 'LINENUM' [-Wimplicit-int] 15 | extern LINENUM; | ^~~~~~~ compat.c:16:8: warning: type defaults to 'int' in declaration of 'I' [-Wimplicit-int] 16 | extern I, S, DD; | ^ compat.c:16:11: warning: type defaults to 'int' in declaration of 'S' [-Wimplicit-int] 16 | extern I, S, DD; | ^ compat.c:16:14: warning: type defaults to 'int' in declaration of 'DD' [-Wimplicit-int] 16 | extern I, S, DD; | ^~ compat.c:17:8: warning: type defaults to 'int' in declaration of 'JUMP' [-Wimplicit-int] 17 | extern JUMP; | ^~~~ make: Leaving directory '/usr/src/RPM/BUILD/agrep-3.41.5' make: Entering directory '/usr/src/RPM/BUILD/agrep-3.41.5' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -Wno-error=implicit-function-declaration -Wno-error=implicit-int -Wno-error=int-conversion -D__APPLE__ -DHAVE_DIRENT_H -c -o checksg.o checksg.c checksg.c: In function 'checksg': checksg.c:30:20: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 30 | m = strlen(Pattern); | ^~~~~~~ | | | unsigned char * In file included from re.h:7, from agrep.h:19, from checksg.c:3: /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'unsigned char *' 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ make: Leaving directory '/usr/src/RPM/BUILD/agrep-3.41.5' make: Entering directory '/usr/src/RPM/BUILD/agrep-3.41.5' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -Wno-error=implicit-function-declaration -Wno-error=implicit-int -Wno-error=int-conversion -D__APPLE__ -DHAVE_DIRENT_H -c -o parse.o parse.c make: Leaving directory '/usr/src/RPM/BUILD/agrep-3.41.5' make: Entering directory '/usr/src/RPM/BUILD/agrep-3.41.5' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -Wno-error=implicit-function-declaration -Wno-error=implicit-int -Wno-error=int-conversion -D__APPLE__ -DHAVE_DIRENT_H -c -o maskgen.o maskgen.c maskgen.c:19:8: warning: type defaults to 'int' in declaration of 'Mask' [-Wimplicit-int] 19 | extern Mask[], Bit[], Init[], NO_ERR_MASK; | ^~~~ maskgen.c:19:16: warning: type defaults to 'int' in declaration of 'Bit' [-Wimplicit-int] 19 | extern Mask[], Bit[], Init[], NO_ERR_MASK; | ^~~ maskgen.c:19:23: warning: type defaults to 'int' in declaration of 'Init' [-Wimplicit-int] 19 | extern Mask[], Bit[], Init[], NO_ERR_MASK; | ^~~~ maskgen.c:19:31: warning: type defaults to 'int' in declaration of 'NO_ERR_MASK' [-Wimplicit-int] 19 | extern Mask[], Bit[], Init[], NO_ERR_MASK; | ^~~~~~~~~~~ maskgen.c: In function 'maskgen': maskgen.c:48:25: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 48 | if ((M = strlen(Pattern)) <= 0) return 0; | ^~~~~~~ | | | unsigned char * In file included from re.h:7, from agrep.h:19, from maskgen.c:8: /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'unsigned char *' 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ make: Leaving directory '/usr/src/RPM/BUILD/agrep-3.41.5' make: Entering directory '/usr/src/RPM/BUILD/agrep-3.41.5' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -Wno-error=implicit-function-declaration -Wno-error=implicit-int -Wno-error=int-conversion -D__APPLE__ -DHAVE_DIRENT_H -c -o asearch1.o asearch1.c asearch1.c: In function 'asearch1': asearch1.c:65:36: warning: implicit declaration of function 'fill_buf' [-Wimplicit-function-declaration] 65 | while ((num_read = fill_buf(Text, buffer + Max_record, BlockSize)) > 0) | ^~~~~~~~ asearch1.c:80:58: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] 80 | strncpy(buffer+Max_record+num_read, old_D_pat, D_length); | ~~~~~~~~~~~~~~~~~^~~~~~~~~ | | | unsigned char * In file included from /usr/include/features.h:503, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from agrep.h:15, from asearch1.c:2: /usr/include/bits/string_fortified.h:92:1: note: expected 'char *' but argument is of type 'unsigned char *' 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ asearch1.c:121:88: warning: pointer targets in passing argument 2 of 'free_buf' differ in signedness [-Wpointer-sign] 121 | free_buf(Text, buffer); | ^~~~~~ | | | unsigned char * agrep.h:140:36: note: expected 'char *' but argument is of type 'unsigned char *' 140 | extern void free_buf(int fd, char *sbuf); | ~~~~~~^~~~ asearch1.c:132:72: warning: pointer targets in passing argument 2 of 'free_buf' differ in signedness [-Wpointer-sign] 132 | free_buf(Text, buffer); | ^~~~~~ | | | unsigned char * agrep.h:140:36: note: expected 'char *' but argument is of type 'unsigned char *' 140 | extern void free_buf(int fd, char *sbuf); | ~~~~~~^~~~ asearch1.c:137:67: warning: implicit declaration of function 'output' [-Wimplicit-function-declaration] 137 | if (-1 == output(buffer, lasti, i-D_length-1, j)) {free_buf(Text, buffer); return -1;} | ^~~~~~ asearch1.c:137:123: warning: pointer targets in passing argument 2 of 'free_buf' differ in signedness [-Wpointer-sign] 137 | if (-1 == output(buffer, lasti, i-D_length-1, j)) {free_buf(Text, buffer); return -1;} | ^~~~~~ | | | unsigned char * agrep.h:140:36: note: expected 'char *' but argument is of type 'unsigned char *' 140 | extern void free_buf(int fd, char *sbuf); | ~~~~~~^~~~ asearch1.c:140:123: warning: pointer targets in passing argument 2 of 'free_buf' differ in signedness [-Wpointer-sign] 140 | if (-1 == output(buffer, lasti, i-D_length-1, j)) {free_buf(Text, buffer); return -1;} | ^~~~~~ | | | unsigned char * agrep.h:140:36: note: expected 'char *' but argument is of type 'unsigned char *' 140 | extern void free_buf(int fd, char *sbuf); | ~~~~~~^~~~ asearch1.c:144:72: warning: pointer targets in passing argument 2 of 'free_buf' differ in signedness [-Wpointer-sign] 144 | free_buf(Text, buffer); | ^~~~~~ | | | unsigned char * agrep.h:140:36: note: expected 'char *' but argument is of type 'unsigned char *' 140 | extern void free_buf(int fd, char *sbuf); | ~~~~~~^~~~ asearch1.c:194:88: warning: pointer targets in passing argument 2 of 'free_buf' differ in signedness [-Wpointer-sign] 194 | free_buf(Text, buffer); | ^~~~~~ | | | unsigned char * agrep.h:140:36: note: expected 'char *' but argument is of type 'unsigned char *' 140 | extern void free_buf(int fd, char *sbuf); | ~~~~~~^~~~ asearch1.c:205:72: warning: pointer targets in passing argument 2 of 'free_buf' differ in signedness [-Wpointer-sign] 205 | free_buf(Text, buffer); | ^~~~~~ | | | unsigned char * agrep.h:140:36: note: expected 'char *' but argument is of type 'unsigned char *' 140 | extern void free_buf(int fd, char *sbuf); | ~~~~~~^~~~ asearch1.c:210:123: warning: pointer targets in passing argument 2 of 'free_buf' differ in signedness [-Wpointer-sign] 210 | if (-1 == output(buffer, lasti, i-D_length-1, j)) {free_buf(Text, buffer); return -1;} | ^~~~~~ | | | unsigned char * agrep.h:140:36: note: expected 'char *' but argument is of type 'unsigned char *' 140 | extern void free_buf(int fd, char *sbuf); | ~~~~~~^~~~ asearch1.c:213:123: warning: pointer targets in passing argument 2 of 'free_buf' differ in signedness [-Wpointer-sign] 213 | if (-1 == output(buffer, lasti, i-D_length-1, j)) {free_buf(Text, buffer); return -1;} | ^~~~~~ | | | unsigned char * agrep.h:140:36: note: expected 'char *' but argument is of type 'unsigned char *' 140 | extern void free_buf(int fd, char *sbuf); | ~~~~~~^~~~ asearch1.c:217:72: warning: pointer targets in passing argument 2 of 'free_buf' differ in signedness [-Wpointer-sign] 217 | free_buf(Text, buffer); | ^~~~~~ | | | unsigned char * agrep.h:140:36: note: expected 'char *' but argument is of type 'unsigned char *' 140 | extern void free_buf(int fd, char *sbuf); | ~~~~~~^~~~ asearch1.c:242:50: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] 242 | strncpy(buffer+Max_record-ResidueSize, buffer+lasti, ResidueSize); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ | | | unsigned char * /usr/include/bits/string_fortified.h:92:1: note: expected 'char *' but argument is of type 'unsigned char *' 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ asearch1.c:242:70: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] 242 | strncpy(buffer+Max_record-ResidueSize, buffer+lasti, ResidueSize); | ~~~~~~^~~~~~ | | | unsigned char * /usr/include/bits/string_fortified.h:92:1: note: expected 'const char *' but argument is of type 'unsigned char *' 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ asearch1.c:247:32: warning: pointer targets in passing argument 2 of 'free_buf' differ in signedness [-Wpointer-sign] 247 | free_buf(Text, buffer); | ^~~~~~ | | | unsigned char * agrep.h:140:36: note: expected 'char *' but argument is of type 'unsigned char *' 140 | extern void free_buf(int fd, char *sbuf); | ~~~~~~^~~~ make: Leaving directory '/usr/src/RPM/BUILD/agrep-3.41.5' make: Entering directory '/usr/src/RPM/BUILD/agrep-3.41.5' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -Wno-error=implicit-function-declaration -Wno-error=implicit-int -Wno-error=int-conversion -D__APPLE__ -DHAVE_DIRENT_H -c -o bitap.o bitap.c bitap.c: In function 'bitap': bitap.c:106:32: warning: implicit declaration of function 're' [-Wimplicit-function-declaration] 106 | return re(fd, M, D); /* SUN: need to find a even point */ | ^~ bitap.c:109:32: warning: implicit declaration of function 're1' [-Wimplicit-function-declaration] 109 | return re1(fd, M, D); | ^~~ bitap.c:115:24: warning: implicit declaration of function 'asearch1'; did you mean 'bsearch'? [-Wimplicit-function-declaration] 115 | return asearch1(old_D_pat, fd, D); | ^~~~~~~~ | bsearch bitap.c:120:24: warning: implicit declaration of function 'asearch'; did you mean 'bsearch'? [-Wimplicit-function-declaration] 120 | return asearch(old_D_pat, fd, D); | ^~~~~~~ | bsearch bitap.c:143:36: warning: implicit declaration of function 'fill_buf' [-Wimplicit-function-declaration] 143 | while ((num_read = fill_buf(fd, buffer + Max_record, BlockSize)) > 0) | ^~~~~~~~ bitap.c:162:58: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] 162 | strncpy(buffer+Max_record+num_read, old_D_pat, D_length); | ~~~~~~~~~~~~~~~~~^~~~~~~~~ | | | unsigned char * In file included from /usr/include/features.h:503, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from agrep.h:15, from bitap.c:36: /usr/include/bits/string_fortified.h:92:1: note: expected 'char *' but argument is of type 'unsigned char *' 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ bitap.c:199:86: warning: pointer targets in passing argument 2 of 'free_buf' differ in signedness [-Wpointer-sign] 199 | free_buf(fd, buffer); | ^~~~~~ | | | unsigned char * agrep.h:140:36: note: expected 'char *' but argument is of type 'unsigned char *' 140 | extern void free_buf(int fd, char *sbuf); | ~~~~~~^~~~ bitap.c:207:70: warning: pointer targets in passing argument 2 of 'free_buf' differ in signedness [-Wpointer-sign] 207 | free_buf(fd, buffer); | ^~~~~~ | | | unsigned char * agrep.h:140:36: note: expected 'char *' but argument is of type 'unsigned char *' 140 | extern void free_buf(int fd, char *sbuf); | ~~~~~~^~~~ bitap.c:214:67: warning: implicit declaration of function 'output' [-Wimplicit-function-declaration] 214 | if (-1 == output(buffer, lasti, print_end, j)) { free_buf(fd, buffer); return -1;} | ^~~~~~ bitap.c:214:119: warning: pointer targets in passing argument 2 of 'free_buf' differ in signedness [-Wpointer-sign] 214 | if (-1 == output(buffer, lasti, print_end, j)) { free_buf(fd, buffer); return -1;} | ^~~~~~ | | | unsigned char * agrep.h:140:36: note: expected 'char *' but argument is of type 'unsigned char *' 140 | extern void free_buf(int fd, char *sbuf); | ~~~~~~^~~~ bitap.c:217:70: warning: pointer targets in passing argument 2 of 'free_buf' differ in signedness [-Wpointer-sign] 217 | free_buf(fd, buffer); | ^~~~~~ | | | unsigned char * agrep.h:140:36: note: expected 'char *' but argument is of type 'unsigned char *' 140 | extern void free_buf(int fd, char *sbuf); | ~~~~~~^~~~ bitap.c:255:86: warning: pointer targets in passing argument 2 of 'free_buf' differ in signedness [-Wpointer-sign] 255 | free_buf(fd, buffer); | ^~~~~~ | | | unsigned char * agrep.h:140:36: note: expected 'char *' but argument is of type 'unsigned char *' 140 | extern void free_buf(int fd, char *sbuf); | ~~~~~~^~~~ bitap.c:262:70: warning: pointer targets in passing argument 2 of 'free_buf' differ in signedness [-Wpointer-sign] 262 | free_buf(fd, buffer); | ^~~~~~ | | | unsigned char * agrep.h:140:36: note: expected 'char *' but argument is of type 'unsigned char *' 140 | extern void free_buf(int fd, char *sbuf); | ~~~~~~^~~~ bitap.c:269:119: warning: pointer targets in passing argument 2 of 'free_buf' differ in signedness [-Wpointer-sign] 269 | if (-1 == output(buffer, lasti, print_end, j)) { free_buf(fd, buffer); return -1;} | ^~~~~~ | | | unsigned char * agrep.h:140:36: note: expected 'char *' but argument is of type 'unsigned char *' 140 | extern void free_buf(int fd, char *sbuf); | ~~~~~~^~~~ bitap.c:272:70: warning: pointer targets in passing argument 2 of 'free_buf' differ in signedness [-Wpointer-sign] 272 | free_buf(fd, buffer); | ^~~~~~ | | | unsigned char * agrep.h:140:36: note: expected 'char *' but argument is of type 'unsigned char *' 140 | extern void free_buf(int fd, char *sbuf); | ~~~~~~^~~~ bitap.c:292:50: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] 292 | strncpy(buffer+Max_record-ResidueSize, buffer+lasti, ResidueSize); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ | | | unsigned char * /usr/include/bits/string_fortified.h:92:1: note: expected 'char *' but argument is of type 'unsigned char *' 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ bitap.c:292:70: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] 292 | strncpy(buffer+Max_record-ResidueSize, buffer+lasti, ResidueSize); | ~~~~~~^~~~~~ | | | unsigned char * /usr/include/bits/string_fortified.h:92:1: note: expected 'const char *' but argument is of type 'unsigned char *' 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ bitap.c:301:46: warning: pointer targets in passing argument 2 of 'free_buf' differ in signedness [-Wpointer-sign] 301 | free_buf(fd, buffer); | ^~~~~~ | | | unsigned char * agrep.h:140:36: note: expected 'char *' but argument is of type 'unsigned char *' 140 | extern void free_buf(int fd, char *sbuf); | ~~~~~~^~~~ bitap.c:305:30: warning: pointer targets in passing argument 2 of 'free_buf' differ in signedness [-Wpointer-sign] 305 | free_buf(fd, buffer); | ^~~~~~ | | | unsigned char * agrep.h:140:36: note: expected 'char *' but argument is of type 'unsigned char *' 140 | extern void free_buf(int fd, char *sbuf); | ~~~~~~^~~~ bitap.c: At top level: bitap.c:450:1: warning: return type defaults to 'int' [-Wimplicit-int] 450 | fill_buf(fd, buf, record_size) | ^~~~~~~~ bitap.c: In function 'alloc_buf': bitap.c:493:22: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 493 | *buf = (char *)malloc(size); | ^ make: Leaving directory '/usr/src/RPM/BUILD/agrep-3.41.5' make: Entering directory '/usr/src/RPM/BUILD/agrep-3.41.5' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -Wno-error=implicit-function-declaration -Wno-error=implicit-int -Wno-error=int-conversion -D__APPLE__ -DHAVE_DIRENT_H -c -o delim.o delim.c delim.c: In function 'preprocess_delimiter': delim.c:15:16: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 15 | strcpy(temp, src); | ^~~~ | | | unsigned char * In file included from /usr/include/features.h:503, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from agrep.h:15, from delim.c:3: /usr/include/bits/string_fortified.h:77:1: note: expected 'char *' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ delim.c:15:22: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] 15 | strcpy(temp, src); | ^~~ | | | unsigned char * /usr/include/bits/string_fortified.h:77:1: note: expected 'const char *' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ delim.c:27:28: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 27 | *pdestlen = strlen(dest); | ^~~~ | | | unsigned char * In file included from re.h:7, from agrep.h:19: /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'unsigned char *' 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ make: Leaving directory '/usr/src/RPM/BUILD/agrep-3.41.5' make: Entering directory '/usr/src/RPM/BUILD/agrep-3.41.5' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -Wno-error=implicit-function-declaration -Wno-error=implicit-int -Wno-error=int-conversion -D__APPLE__ -DHAVE_DIRENT_H -c -o asplit.o asplit.c In file included from asplit.c:4: putils.c: In function 'print_tree': putils.c:69:1: warning: type of 'level' defaults to 'int' [-Wimplicit-int] 69 | print_tree(t, level) | ^~~~~~~~~~ asplit.c: In function 'asplit_pattern_flat': asplit.c:86:17: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 86 | while (buffer_pat = (aparse_flat(buffer, buffer_end, *pAParse, pAParse)) ) { | ^~~~~~~~~~ asplit.c: In function 'aparse_tree': asplit.c:260:44: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 260 | strcpy(n->data.leaf.value, oldtokenbuf); | ~~~~~~~~~~~~^~~~~~ | | | unsigned char * In file included from /usr/include/features.h:503, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from agrep.h:15, from asplit.c:3: /usr/include/bits/string_fortified.h:77:1: note: expected 'char *' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ asplit.c:260:52: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] 260 | strcpy(n->data.leaf.value, oldtokenbuf); | ^~~~~~~~~~~ | | | unsigned char * /usr/include/bits/string_fortified.h:77:1: note: expected 'const char *' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ asplit.c: In function 'eval_tree': asplit.c:350:87: warning: array subscript has type 'char' [-Wchar-subscripts] 350 | if (tree->type == LEAF) return ((tree->op & NOTPAT) ? (!matched_terminals[tree->terminalindex]) : (matched_terminals[tree->terminalindex])); | ~~~~^~~~~~~~~~~~~~~ asplit.c:350:130: warning: array subscript has type 'char' [-Wchar-subscripts] 350 | if (tree->type == LEAF) return ((tree->op & NOTPAT) ? (!matched_terminals[tree->terminalindex]) : (matched_terminals[tree->terminalindex])); | ~~~~^~~~~~~~~~~~~~~ asplit.c: In function 'asplit_terminal': asplit.c:382:65: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 382 | word_length = strlen(aterminals[first].data.leaf.value); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ | | | unsigned char * In file included from re.h:7, from agrep.h:19: /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'unsigned char *' 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ asplit.c:386:71: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] 386 | strcpy(&pat_buf[*pat_ptr], aterminals[first].data.leaf.value); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ | | | unsigned char * /usr/include/bits/string_fortified.h:77:1: note: expected 'const char *' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ make: Leaving directory '/usr/src/RPM/BUILD/agrep-3.41.5' make: Entering directory '/usr/src/RPM/BUILD/agrep-3.41.5' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -Wno-error=implicit-function-declaration -Wno-error=implicit-int -Wno-error=int-conversion -D__APPLE__ -DHAVE_DIRENT_H -c -o utilitie.o utilitie.c utilitie.c: In function 'word_exists': utilitie.c:162:38: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] 162 | if (!strncmp(line, word, wordlen)) { | ^~~~ | | | unsigned char * In file included from re.h:7, from utilitie.c:7: /usr/include/string.h:159:33: note: expected 'const char *' but argument is of type 'unsigned char *' 159 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ utilitie.c:162:44: warning: pointer targets in passing argument 2 of 'strncmp' differ in signedness [-Wpointer-sign] 162 | if (!strncmp(line, word, wordlen)) { | ^~~~ | | | unsigned char * /usr/include/string.h:159:51: note: expected 'const char *' but argument is of type 'unsigned char *' 159 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ make: Leaving directory '/usr/src/RPM/BUILD/agrep-3.41.5' make: Entering directory '/usr/src/RPM/BUILD/agrep-3.41.5' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -Wno-error=implicit-function-declaration -Wno-error=implicit-int -Wno-error=int-conversion -D__APPLE__ -DHAVE_DIRENT_H -c -o codepage.o codepage.c codepage.c: In function 'get_current_codepage': codepage.c:50:5: warning: type of 'VOID' defaults to 'int' [-Wimplicit-int] 50 | int get_current_codepage(VOID) | ^~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/agrep-3.41.5' make: Entering directory '/usr/src/RPM/BUILD/agrep-3.41.5' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -Wno-error=implicit-function-declaration -Wno-error=implicit-int -Wno-error=int-conversion -D__APPLE__ -DHAVE_DIRENT_H -c -o preproce.o preproce.c preproce.c: In function 'preprocess': preproce.c:68:25: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 68 | if ((m = strlen(Pattern)) <= 0) return 0; | ^~~~~~~ | | | unsigned char * In file included from re.h:7, from agrep.h:19, from preproce.c:20: /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'unsigned char *' 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ preproce.c:86:22: warning: implicit declaration of function 'asplit_pattern' [-Wimplicit-function-declaration] 86 | if (((ret1 = asplit_pattern(Pattern, m, aterminals, &anum_terminals, &AParse)) <= 0) || /* can change the pattern if simple boolean with {} */ | ^~~~~~~~~~~~~~ preproce.c:87:22: warning: implicit declaration of function 'asplit_terminal' [-Wimplicit-function-declaration] 87 | ((ret2 = asplit_terminal(0, anum_terminals, multibuf, &multilen)) <= 0) || | ^~~~~~~~~~~~~~~ preproce.c:89:58: warning: implicit declaration of function 'destroy_tree' [-Wimplicit-function-declaration] 89 | if (AComplexBoolean && (AParse != NULL)) destroy_tree(AParse); /* so that direct exec invocations don't use AParse by mistake! */ | ^~~~~~~~~~~~ preproce.c:101:28: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 101 | m = strlen(Pattern); | ^~~~~~~ | | | unsigned char * /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'unsigned char *' 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ preproce.c:125:44: warning: implicit declaration of function 'quick_tcompress' [-Wimplicit-function-declaration] 125 | if ((tc_D_length = quick_tcompress(FREQ_FILE, HASH_FILE, D_pattern, D_length, tc_D_pattern, MaxDelimit*2, TC_EASYSEARCH)) <= 0) { | ^~~~~~~~~~~~~~~ preproce.c:126:40: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 126 | strcpy(tc_D_pattern, D_pattern); | ^~~~~~~~~~~~ | | | unsigned char * In file included from /usr/include/features.h:503, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from agrep.h:15: /usr/include/bits/string_fortified.h:77:1: note: expected 'char *' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ preproce.c:126:54: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] 126 | strcpy(tc_D_pattern, D_pattern); | ^~~~~~~~~ | | | unsigned char * /usr/include/bits/string_fortified.h:77:1: note: expected 'const char *' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ preproce.c:144:40: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 144 | r_pat = (CHAR *) malloc(strlen(Pattern)+2*strlen(D_pattern) + 8); /* bug-report, From: Chris Dalton */ | ^~~~~~~ | | | unsigned char * /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'unsigned char *' 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ preproce.c:144:58: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 144 | r_pat = (CHAR *) malloc(strlen(Pattern)+2*strlen(D_pattern) + 8); /* bug-report, From: Chris Dalton */ | ^~~~~~~~~ | | | unsigned char * /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'unsigned char *' 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ preproce.c:145:16: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 145 | strcpy(temp, D_pattern); | ^~~~ | | | unsigned char * /usr/include/bits/string_fortified.h:77:1: note: expected 'char *' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ preproce.c:145:22: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] 145 | strcpy(temp, D_pattern); | ^~~~~~~~~ | | | unsigned char * /usr/include/bits/string_fortified.h:77:1: note: expected 'const char *' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ preproce.c:146:28: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 146 | d_end = t = strlen(temp); /* size of D_pattern, including '; ' */ | ^~~~ | | | unsigned char * /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'unsigned char *' 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ preproce.c:153:24: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] 153 | strcat(temp, Pattern); | ^~~~ | | | unsigned char * /usr/include/bits/string_fortified.h:128:1: note: expected 'char *' but argument is of type 'unsigned char *' 128 | __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ preproce.c:153:30: warning: pointer targets in passing argument 2 of 'strcat' differ in signedness [-Wpointer-sign] 153 | strcat(temp, Pattern); | ^~~~~~~ | | | unsigned char * /usr/include/bits/string_fortified.h:128:1: note: expected 'const char *' but argument is of type 'unsigned char *' 128 | __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ preproce.c:154:28: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 154 | m = strlen(temp); | ^~~~ | | | unsigned char * /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'unsigned char *' 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ preproce.c:167:24: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] 167 | strcat(temp, Pattern); | ^~~~ | | | unsigned char * /usr/include/bits/string_fortified.h:128:1: note: expected 'char *' but argument is of type 'unsigned char *' 128 | __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ preproce.c:167:30: warning: pointer targets in passing argument 2 of 'strcat' differ in signedness [-Wpointer-sign] 167 | strcat(temp, Pattern); | ^~~~~~~ | | | unsigned char * /usr/include/bits/string_fortified.h:128:1: note: expected 'const char *' but argument is of type 'unsigned char *' 128 | __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ preproce.c:168:28: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 168 | m = strlen(temp); | ^~~~ | | | unsigned char * /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'unsigned char *' 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ preproce.c:223:16: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 223 | strcpy(D_pattern, old_D_pat); | ^~~~~~~~~ | | | unsigned char * /usr/include/bits/string_fortified.h:77:1: note: expected 'char *' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ preproce.c:223:27: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] 223 | strcpy(D_pattern, old_D_pat); | ^~~~~~~~~ | | | unsigned char * /usr/include/bits/string_fortified.h:77:1: note: expected 'const char *' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ preproce.c:368:27: warning: implicit declaration of function 'init' [-Wimplicit-function-declaration] 368 | num_pos = init(r_pat, table); | ^~~~ preproce.c:388:24: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 388 | strcpy(old_pat, Pattern); /* do real change to the Pattern to be returned */ | ^~~~~~~ | | | unsigned char * /usr/include/bits/string_fortified.h:77:1: note: expected 'char *' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ preproce.c:388:33: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] 388 | strcpy(old_pat, Pattern); /* do real change to the Pattern to be returned */ | ^~~~~~~ | | | unsigned char * /usr/include/bits/string_fortified.h:77:1: note: expected 'const char *' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ make: Leaving directory '/usr/src/RPM/BUILD/agrep-3.41.5' make: Entering directory '/usr/src/RPM/BUILD/agrep-3.41.5' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -Wno-error=implicit-function-declaration -Wno-error=implicit-int -Wno-error=int-conversion -D__APPLE__ -DHAVE_DIRENT_H -c -o asearch.o asearch.c asearch.c: In function 'asearch': asearch.c:51:24: warning: implicit declaration of function 'asearch0'; did you mean 'asearch'? [-Wimplicit-function-declaration] 51 | return asearch0(old_D_pat, text, D); | ^~~~~~~~ | asearch asearch.c:54:27: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 54 | D_length = strlen(old_D_pat); | ^~~~~~~~~ | | | unsigned char * In file included from re.h:7, from agrep.h:19, from asearch.c:2: /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'unsigned char *' 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ asearch.c:73:29: warning: implicit declaration of function 'fill_buf' [-Wimplicit-function-declaration] 73 | while ((l = fill_buf(text, buffer + Max_record, BlockSize)) > 0) | ^~~~~~~~ asearch.c:88:47: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] 88 | strncpy(buffer+end, old_D_pat, D_length); | ~~~~~~^~~~ | | | unsigned char * In file included from /usr/include/features.h:503, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from agrep.h:15: /usr/include/bits/string_fortified.h:92:1: note: expected 'char *' but argument is of type 'unsigned char *' 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ asearch.c:88:53: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] 88 | strncpy(buffer+end, old_D_pat, D_length); | ^~~~~~~~~ | | | unsigned char * /usr/include/bits/string_fortified.h:92:1: note: expected 'const char *' but argument is of type 'unsigned char *' 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ asearch.c:147:88: warning: pointer targets in passing argument 2 of 'free_buf' differ in signedness [-Wpointer-sign] 147 | free_buf(text, buffer); | ^~~~~~ | | | unsigned char * agrep.h:140:36: note: expected 'char *' but argument is of type 'unsigned char *' 140 | extern void free_buf(int fd, char *sbuf); | ~~~~~~^~~~ asearch.c:158:72: warning: pointer targets in passing argument 2 of 'free_buf' differ in signedness [-Wpointer-sign] 158 | free_buf(text, buffer); | ^~~~~~ | | | unsigned char * agrep.h:140:36: note: expected 'char *' but argument is of type 'unsigned char *' 140 | extern void free_buf(int fd, char *sbuf); | ~~~~~~^~~~ asearch.c:164:67: warning: implicit declaration of function 'output' [-Wimplicit-function-declaration] 164 | if (-1 == output(buffer, lasti, printout_end, j)) {free_buf(text, buffer); return -1;} | ^~~~~~ asearch.c:164:123: warning: pointer targets in passing argument 2 of 'free_buf' differ in signedness [-Wpointer-sign] 164 | if (-1 == output(buffer, lasti, printout_end, j)) {free_buf(text, buffer); return -1;} | ^~~~~~ | | | unsigned char * agrep.h:140:36: note: expected 'char *' but argument is of type 'unsigned char *' 140 | extern void free_buf(int fd, char *sbuf); | ~~~~~~^~~~ asearch.c:167:123: warning: pointer targets in passing argument 2 of 'free_buf' differ in signedness [-Wpointer-sign] 167 | if (-1 == output(buffer, lasti, printout_end, j)) {free_buf(text, buffer); return -1;} | ^~~~~~ | | | unsigned char * agrep.h:140:36: note: expected 'char *' but argument is of type 'unsigned char *' 140 | extern void free_buf(int fd, char *sbuf); | ~~~~~~^~~~ asearch.c:171:72: warning: pointer targets in passing argument 2 of 'free_buf' differ in signedness [-Wpointer-sign] 171 | free_buf(text, buffer); | ^~~~~~ | | | unsigned char * agrep.h:140:36: note: expected 'char *' but argument is of type 'unsigned char *' 140 | extern void free_buf(int fd, char *sbuf); | ~~~~~~^~~~ asearch.c:237:72: warning: pointer targets in passing argument 2 of 'free_buf' differ in signedness [-Wpointer-sign] 237 | free_buf(text, buffer); | ^~~~~~ | | | unsigned char * agrep.h:140:36: note: expected 'char *' but argument is of type 'unsigned char *' 140 | extern void free_buf(int fd, char *sbuf); | ~~~~~~^~~~ asearch.c:253:88: warning: pointer targets in passing argument 2 of 'free_buf' differ in signedness [-Wpointer-sign] 253 | free_buf(text, buffer); | ^~~~~~ | | | unsigned char * agrep.h:140:36: note: expected 'char *' but argument is of type 'unsigned char *' 140 | extern void free_buf(int fd, char *sbuf); | ~~~~~~^~~~ asearch.c:264:72: warning: pointer targets in passing argument 2 of 'free_buf' differ in signedness [-Wpointer-sign] 264 | free_buf(text, buffer); | ^~~~~~ | | | unsigned char * agrep.h:140:36: note: expected 'char *' but argument is of type 'unsigned char *' 140 | extern void free_buf(int fd, char *sbuf); | ~~~~~~^~~~ asearch.c:270:123: warning: pointer targets in passing argument 2 of 'free_buf' differ in signedness [-Wpointer-sign] 270 | if (-1 == output(buffer, lasti, printout_end, j)) {free_buf(text, buffer); return -1;} | ^~~~~~ | | | unsigned char * agrep.h:140:36: note: expected 'char *' but argument is of type 'unsigned char *' 140 | extern void free_buf(int fd, char *sbuf); | ~~~~~~^~~~ asearch.c:273:123: warning: pointer targets in passing argument 2 of 'free_buf' differ in signedness [-Wpointer-sign] 273 | if (-1 == output(buffer, lasti, printout_end, j)) {free_buf(text, buffer); return -1;} | ^~~~~~ | | | unsigned char * agrep.h:140:36: note: expected 'char *' but argument is of type 'unsigned char *' 140 | extern void free_buf(int fd, char *sbuf); | ~~~~~~^~~~ asearch.c:277:72: warning: pointer targets in passing argument 2 of 'free_buf' differ in signedness [-Wpointer-sign] 277 | free_buf(text, buffer); | ^~~~~~ | | | unsigned char * agrep.h:140:36: note: expected 'char *' but argument is of type 'unsigned char *' 140 | extern void free_buf(int fd, char *sbuf); | ~~~~~~^~~~ asearch.c:317:58: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] 317 | strncpy(buffer+Max_record-ResidueSize, buffer+lasti, ResidueSize); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ | | | unsigned char * /usr/include/bits/string_fortified.h:92:1: note: expected 'char *' but argument is of type 'unsigned char *' 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ asearch.c:317:78: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] 317 | strncpy(buffer+Max_record-ResidueSize, buffer+lasti, ResidueSize); | ~~~~~~^~~~~~ | | | unsigned char * /usr/include/bits/string_fortified.h:92:1: note: expected 'const char *' but argument is of type 'unsigned char *' 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ asearch.c:322:32: warning: pointer targets in passing argument 2 of 'free_buf' differ in signedness [-Wpointer-sign] 322 | free_buf(text, buffer); | ^~~~~~ | | | unsigned char * agrep.h:140:36: note: expected 'char *' but argument is of type 'unsigned char *' 140 | extern void free_buf(int fd, char *sbuf); | ~~~~~~^~~~ asearch.c: In function 'asearch0': asearch.c:588:27: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 588 | D_length = strlen(old_D_pat); | ^~~~~~~~~ | | | unsigned char * /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'unsigned char *' 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ asearch.c:614:47: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] 614 | strncpy(buffer+end, old_D_pat, D_length); | ~~~~~~^~~~ | | | unsigned char * /usr/include/bits/string_fortified.h:92:1: note: expected 'char *' but argument is of type 'unsigned char *' 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ asearch.c:614:53: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] 614 | strncpy(buffer+end, old_D_pat, D_length); | ^~~~~~~~~ | | | unsigned char * /usr/include/bits/string_fortified.h:92:1: note: expected 'const char *' but argument is of type 'unsigned char *' 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ asearch.c:656:88: warning: pointer targets in passing argument 2 of 'free_buf' differ in signedness [-Wpointer-sign] 656 | free_buf(text, buffer); | ^~~~~~ | | | unsigned char * agrep.h:140:36: note: expected 'char *' but argument is of type 'unsigned char *' 140 | extern void free_buf(int fd, char *sbuf); | ~~~~~~^~~~ asearch.c:667:72: warning: pointer targets in passing argument 2 of 'free_buf' differ in signedness [-Wpointer-sign] 667 | free_buf(text, buffer); | ^~~~~~ | | | unsigned char * agrep.h:140:36: note: expected 'char *' but argument is of type 'unsigned char *' 140 | extern void free_buf(int fd, char *sbuf); | ~~~~~~^~~~ asearch.c:673:123: warning: pointer targets in passing argument 2 of 'free_buf' differ in signedness [-Wpointer-sign] 673 | if (-1 == output(buffer, lasti, printout_end, j)) {free_buf(text, buffer); return -1;} | ^~~~~~ | | | unsigned char * agrep.h:140:36: note: expected 'char *' but argument is of type 'unsigned char *' 140 | extern void free_buf(int fd, char *sbuf); | ~~~~~~^~~~ asearch.c:676:123: warning: pointer targets in passing argument 2 of 'free_buf' differ in signedness [-Wpointer-sign] 676 | if (-1 == output(buffer, lasti, printout_end, j)) {free_buf(text, buffer); return -1;} | ^~~~~~ | | | unsigned char * agrep.h:140:36: note: expected 'char *' but argument is of type 'unsigned char *' 140 | extern void free_buf(int fd, char *sbuf); | ~~~~~~^~~~ asearch.c:680:72: warning: pointer targets in passing argument 2 of 'free_buf' differ in signedness [-Wpointer-sign] 680 | free_buf(text, buffer); | ^~~~~~ | | | unsigned char * agrep.h:140:36: note: expected 'char *' but argument is of type 'unsigned char *' 140 | extern void free_buf(int fd, char *sbuf); | ~~~~~~^~~~ asearch.c:732:88: warning: pointer targets in passing argument 2 of 'free_buf' differ in signedness [-Wpointer-sign] 732 | free_buf(text, buffer); | ^~~~~~ | | | unsigned char * agrep.h:140:36: note: expected 'char *' but argument is of type 'unsigned char *' 140 | extern void free_buf(int fd, char *sbuf); | ~~~~~~^~~~ asearch.c:743:72: warning: pointer targets in passing argument 2 of 'free_buf' differ in signedness [-Wpointer-sign] 743 | free_buf(text, buffer); | ^~~~~~ | | | unsigned char * agrep.h:140:36: note: expected 'char *' but argument is of type 'unsigned char *' 140 | extern void free_buf(int fd, char *sbuf); | ~~~~~~^~~~ asearch.c:749:123: warning: pointer targets in passing argument 2 of 'free_buf' differ in signedness [-Wpointer-sign] 749 | if (-1 == output(buffer, lasti, printout_end, j)) {free_buf(text, buffer); return -1;} | ^~~~~~ | | | unsigned char * agrep.h:140:36: note: expected 'char *' but argument is of type 'unsigned char *' 140 | extern void free_buf(int fd, char *sbuf); | ~~~~~~^~~~ asearch.c:752:123: warning: pointer targets in passing argument 2 of 'free_buf' differ in signedness [-Wpointer-sign] 752 | if (-1 == output(buffer, lasti, printout_end, j)) {free_buf(text, buffer); return -1;} | ^~~~~~ | | | unsigned char * agrep.h:140:36: note: expected 'char *' but argument is of type 'unsigned char *' 140 | extern void free_buf(int fd, char *sbuf); | ~~~~~~^~~~ asearch.c:756:72: warning: pointer targets in passing argument 2 of 'free_buf' differ in signedness [-Wpointer-sign] 756 | free_buf(text, buffer); | ^~~~~~ | | | unsigned char * agrep.h:140:36: note: expected 'char *' but argument is of type 'unsigned char *' 140 | extern void free_buf(int fd, char *sbuf); | ~~~~~~^~~~ asearch.c:785:58: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] 785 | strncpy(buffer+Max_record-ResidueSize, buffer+lasti, ResidueSize); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ | | | unsigned char * /usr/include/bits/string_fortified.h:92:1: note: expected 'char *' but argument is of type 'unsigned char *' 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ asearch.c:785:78: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] 785 | strncpy(buffer+Max_record-ResidueSize, buffer+lasti, ResidueSize); | ~~~~~~^~~~~~ | | | unsigned char * /usr/include/bits/string_fortified.h:92:1: note: expected 'const char *' but argument is of type 'unsigned char *' 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ asearch.c:790:32: warning: pointer targets in passing argument 2 of 'free_buf' differ in signedness [-Wpointer-sign] 790 | free_buf(text, buffer); | ^~~~~~ | | | unsigned char * agrep.h:140:36: note: expected 'char *' but argument is of type 'unsigned char *' 140 | extern void free_buf(int fd, char *sbuf); | ~~~~~~^~~~ make: Leaving directory '/usr/src/RPM/BUILD/agrep-3.41.5' make: Entering directory '/usr/src/RPM/BUILD/agrep-3.41.5' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -Wno-error=implicit-function-declaration -Wno-error=implicit-int -Wno-error=int-conversion -D__APPLE__ -DHAVE_DIRENT_H -c -o agrephlp.o agrephlp.c agrephlp.c: In function 'agrep_online_help': agrephlp.c:228:12: warning: implicit declaration of function 'get_current_codepage' [-Wimplicit-function-declaration] 228 | if ((cpage=get_current_codepage()) != -1) fprintf(stderr,"is CP %d.\n\n",cpage); | ^~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/agrep-3.41.5' make: Entering directory '/usr/src/RPM/BUILD/agrep-3.41.5' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -Wno-error=implicit-function-declaration -Wno-error=implicit-int -Wno-error=int-conversion -D__APPLE__ -DHAVE_DIRENT_H -c -o newmgrep.o newmgrep.c newmgrep.c:73:8: warning: type defaults to 'int' in declaration of 'COUNT' [-Wimplicit-int] 73 | extern COUNT, FNAME, SILENT, FILENAMEONLY, prev_num_of_matched, num_of_matched; | ^~~~~ newmgrep.c:73:15: warning: type defaults to 'int' in declaration of 'FNAME' [-Wimplicit-int] 73 | extern COUNT, FNAME, SILENT, FILENAMEONLY, prev_num_of_matched, num_of_matched; | ^~~~~ newmgrep.c:73:22: warning: type defaults to 'int' in declaration of 'SILENT' [-Wimplicit-int] 73 | extern COUNT, FNAME, SILENT, FILENAMEONLY, prev_num_of_matched, num_of_matched; | ^~~~~~ newmgrep.c:73:30: warning: type defaults to 'int' in declaration of 'FILENAMEONLY' [-Wimplicit-int] 73 | extern COUNT, FNAME, SILENT, FILENAMEONLY, prev_num_of_matched, num_of_matched; | ^~~~~~~~~~~~ newmgrep.c:73:44: warning: type defaults to 'int' in declaration of 'prev_num_of_matched' [-Wimplicit-int] 73 | extern COUNT, FNAME, SILENT, FILENAMEONLY, prev_num_of_matched, num_of_matched; | ^~~~~~~~~~~~~~~~~~~ newmgrep.c:73:65: warning: type defaults to 'int' in declaration of 'num_of_matched' [-Wimplicit-int] 73 | extern COUNT, FNAME, SILENT, FILENAMEONLY, prev_num_of_matched, num_of_matched; | ^~~~~~~~~~~~~~ newmgrep.c:74:8: warning: type defaults to 'int' in declaration of 'INVERSE' [-Wimplicit-int] 74 | extern INVERSE, OUTTAIL; | ^~~~~~~ newmgrep.c:74:17: warning: type defaults to 'int' in declaration of 'OUTTAIL' [-Wimplicit-int] 74 | extern INVERSE, OUTTAIL; | ^~~~~~~ newmgrep.c:75:8: warning: type defaults to 'int' in declaration of 'WORDBOUND' [-Wimplicit-int] 75 | extern WORDBOUND, WHOLELINE, NOUPPER; | ^~~~~~~~~ newmgrep.c:75:19: warning: type defaults to 'int' in declaration of 'WHOLELINE' [-Wimplicit-int] 75 | extern WORDBOUND, WHOLELINE, NOUPPER; | ^~~~~~~~~ newmgrep.c:75:30: warning: type defaults to 'int' in declaration of 'NOUPPER' [-Wimplicit-int] 75 | extern WORDBOUND, WHOLELINE, NOUPPER; | ^~~~~~~ newmgrep.c:79:8: warning: type defaults to 'int' in declaration of 'total_line' [-Wimplicit-int] 79 | extern total_line; | ^~~~~~~~~~ newmgrep.c:80:8: warning: type defaults to 'int' in declaration of 'agrep_initialfd' [-Wimplicit-int] 80 | extern agrep_initialfd; | ^~~~~~~~~~~~~~~ newmgrep.c: In function 'prepf': newmgrep.c:222:35: warning: implicit declaration of function 'fill_buf' [-Wimplicit-function-declaration] 222 | while((num_read = fill_buf(mfp, buf+length, 2*BLOCKSIZE)) > 0) { | ^~~~~~~~ newmgrep.c:228:55: warning: pointer targets in passing argument 2 of 'free_buf' differ in signedness [-Wpointer-sign] 228 | free_buf(mfp, buf); | ^~~ | | | unsigned char * In file included from newmgrep.c:23: agrep.h:140:36: note: expected 'char *' but argument is of type 'unsigned char *' 140 | extern void free_buf(int fd, char *sbuf); | ~~~~~~^~~~ newmgrep.c:289:39: warning: pointer targets in passing argument 2 of 'free_buf' differ in signedness [-Wpointer-sign] 289 | free_buf(mfp, buf); | ^~~ | | | unsigned char * agrep.h:140:36: note: expected 'char *' but argument is of type 'unsigned char *' 140 | extern void free_buf(int fd, char *sbuf); | ~~~~~~^~~~ newmgrep.c:324:32: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 324 | p = strlen(patt[i]); | ~~~~^~~ | | | unsigned char * In file included from re.h:7, from agrep.h:19: /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'unsigned char *' 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ newmgrep.c:350:39: warning: pointer targets in passing argument 2 of 'free_buf' differ in signedness [-Wpointer-sign] 350 | free_buf(mfp, buf); | ^~~ | | | unsigned char * agrep.h:140:36: note: expected 'char *' but argument is of type 'unsigned char *' 140 | extern void free_buf(int fd, char *sbuf); | ~~~~~~^~~~ newmgrep.c:373:23: warning: pointer targets in passing argument 2 of 'free_buf' differ in signedness [-Wpointer-sign] 373 | free_buf(mfp, buf); | ^~~ | | | unsigned char * agrep.h:140:36: note: expected 'char *' but argument is of type 'unsigned char *' 140 | extern void free_buf(int fd, char *sbuf); | ~~~~~~^~~~ newmgrep.c: In function 'mgrep': newmgrep.c:528:55: warning: implicit declaration of function 'm_short'; did you mean 'qsort'? [-Wimplicit-function-declaration] 528 | if(SHORT) { if (-1 == m_short(text, start, end)) {free_buf(fd, text); return -1;}} | ^~~~~~~ | qsort newmgrep.c:528:96: warning: pointer targets in passing argument 2 of 'free_buf' differ in signedness [-Wpointer-sign] 528 | if(SHORT) { if (-1 == m_short(text, start, end)) {free_buf(fd, text); return -1;}} | ^~~~ | | | unsigned char * agrep.h:140:36: note: expected 'char *' but argument is of type 'unsigned char *' 140 | extern void free_buf(int fd, char *sbuf); | ~~~~~~^~~~ newmgrep.c:529:55: warning: implicit declaration of function 'monkey1' [-Wimplicit-function-declaration] 529 | else { if (-1 == monkey1(text, start, end)) {free_buf(fd, text); return -1;}} | ^~~~~~~ newmgrep.c:529:96: warning: pointer targets in passing argument 2 of 'free_buf' differ in signedness [-Wpointer-sign] 529 | else { if (-1 == monkey1(text, start, end)) {free_buf(fd, text); return -1;}} | ^~~~ | | | unsigned char * agrep.h:140:36: note: expected 'char *' but argument is of type 'unsigned char *' 140 | extern void free_buf(int fd, char *sbuf); | ~~~~~~^~~~ newmgrep.c:542:62: warning: pointer targets in passing argument 2 of 'free_buf' differ in signedness [-Wpointer-sign] 542 | free_buf(fd, text); | ^~~~ | | | unsigned char * agrep.h:140:36: note: expected 'char *' but argument is of type 'unsigned char *' 140 | extern void free_buf(int fd, char *sbuf); | ~~~~~~^~~~ newmgrep.c:550:46: warning: pointer targets in passing argument 2 of 'free_buf' differ in signedness [-Wpointer-sign] 550 | free_buf(fd, text); | ^~~~ | | | unsigned char * agrep.h:140:36: note: expected 'char *' but argument is of type 'unsigned char *' 140 | extern void free_buf(int fd, char *sbuf); | ~~~~~~^~~~ newmgrep.c:560:37: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] 560 | strncpy(text+start, text+end, residue); | ~~~~^~~~~~ | | | unsigned char * In file included from /usr/include/features.h:503, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from newmgrep.c:12: /usr/include/bits/string_fortified.h:92:1: note: expected 'char *' but argument is of type 'unsigned char *' 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ newmgrep.c:560:49: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] 560 | strncpy(text+start, text+end, residue); | ~~~~^~~~ | | | unsigned char * /usr/include/bits/string_fortified.h:92:1: note: expected 'const char *' but argument is of type 'unsigned char *' 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ newmgrep.c:564:46: warning: pointer targets in passing argument 2 of 'free_buf' differ in signedness [-Wpointer-sign] 564 | free_buf(fd, text); | ^~~~ | | | unsigned char * agrep.h:140:36: note: expected 'char *' but argument is of type 'unsigned char *' 140 | extern void free_buf(int fd, char *sbuf); | ~~~~~~^~~~ newmgrep.c:599:62: warning: pointer targets in passing argument 2 of 'free_buf' differ in signedness [-Wpointer-sign] 599 | free_buf(fd, text); | ^~~~ | | | unsigned char * agrep.h:140:36: note: expected 'char *' but argument is of type 'unsigned char *' 140 | extern void free_buf(int fd, char *sbuf); | ~~~~~~^~~~ newmgrep.c:607:46: warning: pointer targets in passing argument 2 of 'free_buf' differ in signedness [-Wpointer-sign] 607 | free_buf(fd, text); | ^~~~ | | | unsigned char * agrep.h:140:36: note: expected 'char *' but argument is of type 'unsigned char *' 140 | extern void free_buf(int fd, char *sbuf); | ~~~~~~^~~~ newmgrep.c:612:30: warning: pointer targets in passing argument 2 of 'free_buf' differ in signedness [-Wpointer-sign] 612 | free_buf(fd, text); | ^~~~ | | | unsigned char * agrep.h:140:36: note: expected 'char *' but argument is of type 'unsigned char *' 140 | extern void free_buf(int fd, char *sbuf); | ~~~~~~^~~~ newmgrep.c: In function 'monkey1': newmgrep.c:980:96: warning: implicit declaration of function 'eval_tree' [-Wimplicit-function-declaration] 980 | if (AComplexBoolean && dd(curtextbegin, curtextend) && eval_tree(AParse, amatched_terminals)) { | ^~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/agrep-3.41.5' make: Entering directory '/usr/src/RPM/BUILD/agrep-3.41.5' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -Wno-error=implicit-function-declaration -Wno-error=implicit-int -Wno-error=int-conversion -D__APPLE__ -DHAVE_DIRENT_H -c -o sgrep.o sgrep.c sgrep.c:100:8: warning: type defaults to 'int' in declaration of 'WORDBOUND' [-Wimplicit-int] 100 | extern WORDBOUND, WHOLELINE, NOUPPER; | ^~~~~~~~~ sgrep.c:100:19: warning: type defaults to 'int' in declaration of 'WHOLELINE' [-Wimplicit-int] 100 | extern WORDBOUND, WHOLELINE, NOUPPER; | ^~~~~~~~~ sgrep.c:100:30: warning: type defaults to 'int' in declaration of 'NOUPPER' [-Wimplicit-int] 100 | extern WORDBOUND, WHOLELINE, NOUPPER; | ^~~~~~~ sgrep.c: In function 'sgrep': sgrep.c:262:5: warning: type of 'samepattern' defaults to 'int' [-Wimplicit-int] 262 | int sgrep(in_pat, in_m, fd, D, samepattern) | ^~~~~ sgrep.c:286:17: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] 286 | strncpy(pat, in_pat, MAXLINE); | ^~~ | | | unsigned char * In file included from /usr/include/features.h:503, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from sgrep.c:26: /usr/include/bits/string_fortified.h:92:1: note: expected 'char *' but argument is of type 'unsigned char *' 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ sgrep.c:286:22: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] 286 | strncpy(pat, in_pat, MAXLINE); | ^~~~~~ | | | unsigned char * /usr/include/bits/string_fortified.h:92:1: note: expected 'const char *' but argument is of type 'unsigned char *' 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ sgrep.c:334:36: warning: implicit declaration of function 'fill_buf' [-Wimplicit-function-declaration] 334 | while( (num_read = fill_buf(fd, text+offset, 2*BLOCKSIZE)) > 0) | ^~~~~~~~ sgrep.c:409:51: warning: implicit declaration of function 'monkey' [-Wimplicit-function-declaration] 409 | if (-1 == monkey(pat, m, text+start, text+end, oldpat, oldm)) { | ^~~~~~ sgrep.c:410:62: warning: pointer targets in passing argument 2 of 'free_buf' differ in signedness [-Wpointer-sign] 410 | free_buf(fd, text); | ^~~~ | | | unsigned char * In file included from sgrep.c:28: agrep.h:140:36: note: expected 'char *' but argument is of type 'unsigned char *' 140 | extern void free_buf(int fd, char *sbuf); | ~~~~~~^~~~ sgrep.c:415:51: warning: implicit declaration of function 'bm' [-Wimplicit-function-declaration] 415 | if (-1 == bm(pat, m, text+start, text+end, oldpat, oldm)) { | ^~ sgrep.c:416:62: warning: pointer targets in passing argument 2 of 'free_buf' differ in signedness [-Wpointer-sign] 416 | free_buf(fd, text); | ^~~~ | | | unsigned char * agrep.h:140:36: note: expected 'char *' but argument is of type 'unsigned char *' 140 | extern void free_buf(int fd, char *sbuf); | ~~~~~~^~~~ sgrep.c:423:51: warning: implicit declaration of function 'monkey4' [-Wimplicit-function-declaration] 423 | if (-1 == monkey4( pat, m, text+start, text+end, D , oldpat, oldm )) { | ^~~~~~~ sgrep.c:424:62: warning: pointer targets in passing argument 2 of 'free_buf' differ in signedness [-Wpointer-sign] 424 | free_buf(fd, text); | ^~~~ | | | unsigned char * agrep.h:140:36: note: expected 'char *' but argument is of type 'unsigned char *' 140 | extern void free_buf(int fd, char *sbuf); | ~~~~~~^~~~ sgrep.c:430:59: warning: implicit declaration of function 'a_monkey' [-Wimplicit-function-declaration] 430 | if (-1 == a_monkey(pat, m, text+start, text+end, D, oldpat, oldm)) { | ^~~~~~~~ sgrep.c:431:70: warning: pointer targets in passing argument 2 of 'free_buf' differ in signedness [-Wpointer-sign] 431 | free_buf(fd, text); | ^~~~ | | | unsigned char * agrep.h:140:36: note: expected 'char *' but argument is of type 'unsigned char *' 140 | extern void free_buf(int fd, char *sbuf); | ~~~~~~^~~~ sgrep.c:436:59: warning: implicit declaration of function 'agrep'; did you mean 'sgrep'? [-Wimplicit-function-declaration] 436 | if (-1 == agrep(pat, m, text+start, text+end, D, oldpat, oldm)) { | ^~~~~ | sgrep sgrep.c:437:70: warning: pointer targets in passing argument 2 of 'free_buf' differ in signedness [-Wpointer-sign] 437 | free_buf(fd, text); | ^~~~ | | | unsigned char * agrep.h:140:36: note: expected 'char *' but argument is of type 'unsigned char *' 140 | extern void free_buf(int fd, char *sbuf); | ~~~~~~^~~~ sgrep.c:454:62: warning: pointer targets in passing argument 2 of 'free_buf' differ in signedness [-Wpointer-sign] 454 | free_buf(fd, text); | ^~~~ | | | unsigned char * agrep.h:140:36: note: expected 'char *' but argument is of type 'unsigned char *' 140 | extern void free_buf(int fd, char *sbuf); | ~~~~~~^~~~ sgrep.c:460:46: warning: pointer targets in passing argument 2 of 'free_buf' differ in signedness [-Wpointer-sign] 460 | free_buf(fd, text); | ^~~~ | | | unsigned char * agrep.h:140:36: note: expected 'char *' but argument is of type 'unsigned char *' 140 | extern void free_buf(int fd, char *sbuf); | ~~~~~~^~~~ sgrep.c:470:37: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] 470 | strncpy(text+start, text+end, residue); | ~~~~^~~~~~ | | | unsigned char * /usr/include/bits/string_fortified.h:92:1: note: expected 'char *' but argument is of type 'unsigned char *' 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ sgrep.c:470:49: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] 470 | strncpy(text+start, text+end, residue); | ~~~~^~~~ | | | unsigned char * /usr/include/bits/string_fortified.h:92:1: note: expected 'const char *' but argument is of type 'unsigned char *' 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ sgrep.c:474:46: warning: pointer targets in passing argument 2 of 'free_buf' differ in signedness [-Wpointer-sign] 474 | free_buf(fd, text); | ^~~~ | | | unsigned char * agrep.h:140:36: note: expected 'char *' but argument is of type 'unsigned char *' 140 | extern void free_buf(int fd, char *sbuf); | ~~~~~~^~~~ sgrep.c:493:62: warning: pointer targets in passing argument 2 of 'free_buf' differ in signedness [-Wpointer-sign] 493 | free_buf(fd, text); | ^~~~ | | | unsigned char * agrep.h:140:36: note: expected 'char *' but argument is of type 'unsigned char *' 140 | extern void free_buf(int fd, char *sbuf); | ~~~~~~^~~~ sgrep.c:499:62: warning: pointer targets in passing argument 2 of 'free_buf' differ in signedness [-Wpointer-sign] 499 | free_buf(fd, text); | ^~~~ | | | unsigned char * agrep.h:140:36: note: expected 'char *' but argument is of type 'unsigned char *' 140 | extern void free_buf(int fd, char *sbuf); | ~~~~~~^~~~ sgrep.c:507:62: warning: pointer targets in passing argument 2 of 'free_buf' differ in signedness [-Wpointer-sign] 507 | free_buf(fd, text); | ^~~~ | | | unsigned char * agrep.h:140:36: note: expected 'char *' but argument is of type 'unsigned char *' 140 | extern void free_buf(int fd, char *sbuf); | ~~~~~~^~~~ sgrep.c:514:70: warning: pointer targets in passing argument 2 of 'free_buf' differ in signedness [-Wpointer-sign] 514 | free_buf(fd, text); | ^~~~ | | | unsigned char * agrep.h:140:36: note: expected 'char *' but argument is of type 'unsigned char *' 140 | extern void free_buf(int fd, char *sbuf); | ~~~~~~^~~~ sgrep.c:520:70: warning: pointer targets in passing argument 2 of 'free_buf' differ in signedness [-Wpointer-sign] 520 | free_buf(fd, text); | ^~~~ | | | unsigned char * agrep.h:140:36: note: expected 'char *' but argument is of type 'unsigned char *' 140 | extern void free_buf(int fd, char *sbuf); | ~~~~~~^~~~ sgrep.c:537:62: warning: pointer targets in passing argument 2 of 'free_buf' differ in signedness [-Wpointer-sign] 537 | free_buf(fd, text); | ^~~~ | | | unsigned char * agrep.h:140:36: note: expected 'char *' but argument is of type 'unsigned char *' 140 | extern void free_buf(int fd, char *sbuf); | ~~~~~~^~~~ sgrep.c:543:46: warning: pointer targets in passing argument 2 of 'free_buf' differ in signedness [-Wpointer-sign] 543 | free_buf(fd, text); | ^~~~ | | | unsigned char * agrep.h:140:36: note: expected 'char *' but argument is of type 'unsigned char *' 140 | extern void free_buf(int fd, char *sbuf); | ~~~~~~^~~~ sgrep.c:548:30: warning: pointer targets in passing argument 2 of 'free_buf' differ in signedness [-Wpointer-sign] 548 | free_buf(fd, text); | ^~~~ | | | unsigned char * agrep.h:140:36: note: expected 'char *' but argument is of type 'unsigned char *' 140 | extern void free_buf(int fd, char *sbuf); | ~~~~~~^~~~ sgrep.c:283:19: warning: unused variable 'tempbuf' [-Wunused-variable] 283 | CHARTYPE *tempbuf; | ^~~~~~~ sgrep.c: In function 'agrep': sgrep.c:1196:51: warning: implicit declaration of function 's_output' [-Wimplicit-function-declaration] 1196 | if (-1 == s_output(text, ¤tpos, textbegin, textend, &lastout, pat, M, oldpat, oldM)) return -1; | ^~~~~~~~ sgrep.c: In function 'prep_bm': sgrep.c:1488:10: warning: type defaults to 'int' in declaration of 'm' [-Wimplicit-int] 1488 | register m; | ^ sgrep.c: In function 'a_monkey': sgrep.c:1871:35: warning: implicit declaration of function 'verify' [-Wimplicit-function-declaration] 1871 | if((pos = verify(m, 2*m+D, D, pat, oldtext)) > 0) { | ^~~~~~ sgrep.c: In function 'am_preprocess': sgrep.c:2107:20: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 2107 | m = strlen(Pattern); | ^~~~~~~ | | | unsigned char * In file included from re.h:7, from agrep.h:19: /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'unsigned char *' 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ sgrep.c: In function 'verify': sgrep.c:2150:51: warning: operation on 'last' may be undefined [-Wsequence-point] 2150 | if(A[last] < D) A[last+1] = A[last++]+1; | ~~~~^~ sgrep.c:2172:51: warning: operation on 'last' may be undefined [-Wsequence-point] 2172 | if(B[last] < D) B[last+1] = B[last++]+1; | ~~~~^~ sgrep.c: In function 'm_preprocess': sgrep.c:2193:20: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 2193 | m = strlen(Pattern); | ^~~~~~~ | | | unsigned char * /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'unsigned char *' 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ sgrep.c: In function 'prep4': sgrep.c:2492:23: warning: operation on 'char_map[103]' may be undefined [-Wsequence-point] 2492 | char_map['g'] = char_map['g'] = 1; | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ sgrep.c:2493:23: warning: operation on 'char_map[116]' may be undefined [-Wsequence-point] 2493 | char_map['t'] = char_map['t'] = 2; | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ sgrep.c:2494:23: warning: operation on 'char_map[99]' may be undefined [-Wsequence-point] 2494 | char_map['c'] = char_map['c'] = 3; | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ sgrep.c:2495:23: warning: operation on 'char_map[110]' may be undefined [-Wsequence-point] 2495 | char_map['n'] = char_map['n'] = 5; | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ sgrep.c:2497:17: warning: implicit declaration of function 'blog'; did you mean 'log'? [-Wimplicit-function-declaration] 2497 | BSize = blog(4, m); | ^~~~ | log sgrep.c:2509:75: warning: array subscript has type 'char' [-Wchar-subscripts] 2509 | hash = (hash << LOG_DNA) +char_map[Pattern[i-k]]; | ~~~~~~~^~~~~ make: Leaving directory '/usr/src/RPM/BUILD/agrep-3.41.5' make: Entering directory '/usr/src/RPM/BUILD/agrep-3.41.5' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -Wno-error=implicit-function-declaration -Wno-error=implicit-int -Wno-error=int-conversion -D__APPLE__ -DHAVE_DIRENT_H -c -o agrep.o agrep.c agrep.c: In function 'reinit_value': agrep.c:266:38: warning: implicit declaration of function 'destroy_tree' [-Wimplicit-function-declaration] 266 | if (AComplexBoolean) destroy_tree(AParse); | ^~~~~~~~~~~~ agrep.c:297:16: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 297 | strcpy(D_pattern, original_D_pattern); | ^~~~~~~~~ | | | unsigned char * In file included from /usr/include/features.h:503, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from agrep.h:15, from agrep.c:86: /usr/include/bits/string_fortified.h:77:1: note: expected 'char *' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ agrep.c:297:27: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] 297 | strcpy(D_pattern, original_D_pattern); | ^~~~~~~~~~~~~~~~~~ | | | unsigned char * /usr/include/bits/string_fortified.h:77:1: note: expected 'const char *' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ agrep.c:299:16: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 299 | strcpy(old_D_pat, original_old_D_pat); | ^~~~~~~~~ | | | unsigned char * /usr/include/bits/string_fortified.h:77:1: note: expected 'char *' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ agrep.c:299:27: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] 299 | strcpy(old_D_pat, original_old_D_pat); | ^~~~~~~~~~~~~~~~~~ | | | unsigned char * /usr/include/bits/string_fortified.h:77:1: note: expected 'const char *' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ agrep.c: In function 'initial_value': agrep.c:356:16: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 356 | strcpy(tc_D_pattern, "\n"); | ^~~~~~~~~~~~ | | | unsigned char * /usr/include/bits/string_fortified.h:77:1: note: expected 'char *' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ agrep.c: In function 'compute_next': agrep.c:419:21: warning: implicit declaration of function 'exponen'; did you mean 'popen'? [-Wimplicit-function-declaration] 419 | k = exponen(M); | ^~~~~~~ | popen agrep.c: In function 're1': agrep.c:513:36: warning: implicit declaration of function 'fill_buf' [-Wimplicit-function-declaration] 513 | while ((num_read = fill_buf(Text, buffer + Maxline, BlockSize)) > 0) | ^~~~~~~~ agrep.c:562:88: warning: pointer targets in passing argument 2 of 'free_buf' differ in signedness [-Wpointer-sign] 562 | free_buf(Text, buffer); | ^~~~~~ | | | unsigned char * agrep.h:140:36: note: expected 'char *' but argument is of type 'unsigned char *' 140 | extern void free_buf(int fd, char *sbuf); | ~~~~~~^~~~ agrep.c:569:72: warning: pointer targets in passing argument 2 of 'free_buf' differ in signedness [-Wpointer-sign] 569 | free_buf(Text, buffer); | ^~~~~~ | | | unsigned char * agrep.h:140:36: note: expected 'char *' but argument is of type 'unsigned char *' 140 | extern void free_buf(int fd, char *sbuf); | ~~~~~~^~~~ agrep.c:573:59: warning: implicit declaration of function 'r_output' [-Wimplicit-function-declaration] 573 | if (-1 == r_output(buffer, i-1, end, j)) {free_buf(Text, buffer); return -1;} | ^~~~~~~~ agrep.c:573:106: warning: pointer targets in passing argument 2 of 'free_buf' differ in signedness [-Wpointer-sign] 573 | if (-1 == r_output(buffer, i-1, end, j)) {free_buf(Text, buffer); return -1;} | ^~~~~~ | | | unsigned char * agrep.h:140:36: note: expected 'char *' but argument is of type 'unsigned char *' 140 | extern void free_buf(int fd, char *sbuf); | ~~~~~~^~~~ agrep.c:576:72: warning: pointer targets in passing argument 2 of 'free_buf' differ in signedness [-Wpointer-sign] 576 | free_buf(Text, buffer); | ^~~~~~ | | | unsigned char * agrep.h:140:36: note: expected 'char *' but argument is of type 'unsigned char *' 140 | extern void free_buf(int fd, char *sbuf); | ~~~~~~^~~~ agrep.c:619:88: warning: pointer targets in passing argument 2 of 'free_buf' differ in signedness [-Wpointer-sign] 619 | free_buf(Text, buffer); | ^~~~~~ | | | unsigned char * agrep.h:140:36: note: expected 'char *' but argument is of type 'unsigned char *' 140 | extern void free_buf(int fd, char *sbuf); | ~~~~~~^~~~ agrep.c:626:72: warning: pointer targets in passing argument 2 of 'free_buf' differ in signedness [-Wpointer-sign] 626 | free_buf(Text, buffer); | ^~~~~~ | | | unsigned char * agrep.h:140:36: note: expected 'char *' but argument is of type 'unsigned char *' 140 | extern void free_buf(int fd, char *sbuf); | ~~~~~~^~~~ agrep.c:630:106: warning: pointer targets in passing argument 2 of 'free_buf' differ in signedness [-Wpointer-sign] 630 | if (-1 == r_output(buffer, i-1, end, j)) {free_buf(Text, buffer); return -1;} | ^~~~~~ | | | unsigned char * agrep.h:140:36: note: expected 'char *' but argument is of type 'unsigned char *' 140 | extern void free_buf(int fd, char *sbuf); | ~~~~~~^~~~ agrep.c:633:72: warning: pointer targets in passing argument 2 of 'free_buf' differ in signedness [-Wpointer-sign] 633 | free_buf(Text, buffer); | ^~~~~~ | | | unsigned char * agrep.h:140:36: note: expected 'char *' but argument is of type 'unsigned char *' 140 | extern void free_buf(int fd, char *sbuf); | ~~~~~~^~~~ agrep.c:645:33: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] 645 | strncpy(buffer, buffer+num_read, Maxline); | ^~~~~~ | | | unsigned char * /usr/include/bits/string_fortified.h:92:1: note: expected 'char *' but argument is of type 'unsigned char *' 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ agrep.c:645:47: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] 645 | strncpy(buffer, buffer+num_read, Maxline); | ~~~~~~^~~~~~~~~ | | | unsigned char * /usr/include/bits/string_fortified.h:92:1: note: expected 'const char *' but argument is of type 'unsigned char *' 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ agrep.c:648:32: warning: pointer targets in passing argument 2 of 'free_buf' differ in signedness [-Wpointer-sign] 648 | free_buf(Text, buffer); | ^~~~~~ | | | unsigned char * agrep.h:140:36: note: expected 'char *' but argument is of type 'unsigned char *' 140 | extern void free_buf(int fd, char *sbuf); | ~~~~~~^~~~ agrep.c:880:88: warning: pointer targets in passing argument 2 of 'free_buf' differ in signedness [-Wpointer-sign] 880 | free_buf(Text, buffer); | ^~~~~~ | | | unsigned char * agrep.h:140:36: note: expected 'char *' but argument is of type 'unsigned char *' 140 | extern void free_buf(int fd, char *sbuf); | ~~~~~~^~~~ agrep.c:887:72: warning: pointer targets in passing argument 2 of 'free_buf' differ in signedness [-Wpointer-sign] 887 | free_buf(Text, buffer); | ^~~~~~ | | | unsigned char * agrep.h:140:36: note: expected 'char *' but argument is of type 'unsigned char *' 140 | extern void free_buf(int fd, char *sbuf); | ~~~~~~^~~~ agrep.c:891:104: warning: pointer targets in passing argument 2 of 'free_buf' differ in signedness [-Wpointer-sign] 891 | if (-1 == r_output(buffer, i, end, j)) {free_buf(Text, buffer); return -1;} | ^~~~~~ | | | unsigned char * agrep.h:140:36: note: expected 'char *' but argument is of type 'unsigned char *' 140 | extern void free_buf(int fd, char *sbuf); | ~~~~~~^~~~ agrep.c:894:72: warning: pointer targets in passing argument 2 of 'free_buf' differ in signedness [-Wpointer-sign] 894 | free_buf(Text, buffer); | ^~~~~~ | | | unsigned char * agrep.h:140:36: note: expected 'char *' but argument is of type 'unsigned char *' 140 | extern void free_buf(int fd, char *sbuf); | ~~~~~~^~~~ agrep.c:989:88: warning: pointer targets in passing argument 2 of 'free_buf' differ in signedness [-Wpointer-sign] 989 | free_buf(Text, buffer); | ^~~~~~ | | | unsigned char * agrep.h:140:36: note: expected 'char *' but argument is of type 'unsigned char *' 140 | extern void free_buf(int fd, char *sbuf); | ~~~~~~^~~~ agrep.c:996:72: warning: pointer targets in passing argument 2 of 'free_buf' differ in signedness [-Wpointer-sign] 996 | free_buf(Text, buffer); | ^~~~~~ | | | unsigned char * agrep.h:140:36: note: expected 'char *' but argument is of type 'unsigned char *' 140 | extern void free_buf(int fd, char *sbuf); | ~~~~~~^~~~ agrep.c:1000:104: warning: pointer targets in passing argument 2 of 'free_buf' differ in signedness [-Wpointer-sign] 1000 | if (-1 == r_output(buffer, i, end, j)) {free_buf(Text, buffer); return -1;} | ^~~~~~ | | | unsigned char * agrep.h:140:36: note: expected 'char *' but argument is of type 'unsigned char *' 140 | extern void free_buf(int fd, char *sbuf); | ~~~~~~^~~~ agrep.c:1003:72: warning: pointer targets in passing argument 2 of 'free_buf' differ in signedness [-Wpointer-sign] 1003 | free_buf(Text, buffer); | ^~~~~~ | | | unsigned char * agrep.h:140:36: note: expected 'char *' but argument is of type 'unsigned char *' 140 | extern void free_buf(int fd, char *sbuf); | ~~~~~~^~~~ agrep.c:1024:33: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] 1024 | strncpy(buffer, buffer+num_read, Maxline); | ^~~~~~ | | | unsigned char * /usr/include/bits/string_fortified.h:92:1: note: expected 'char *' but argument is of type 'unsigned char *' 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ agrep.c:1024:47: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] 1024 | strncpy(buffer, buffer+num_read, Maxline); | ~~~~~~^~~~~~~~~ | | | unsigned char * /usr/include/bits/string_fortified.h:92:1: note: expected 'const char *' but argument is of type 'unsigned char *' 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ agrep.c:1026:32: warning: pointer targets in passing argument 2 of 'free_buf' differ in signedness [-Wpointer-sign] 1026 | free_buf(Text, buffer); | ^~~~~~ | | | unsigned char * agrep.h:140:36: note: expected 'char *' but argument is of type 'unsigned char *' 140 | extern void free_buf(int fd, char *sbuf); | ~~~~~~^~~~ agrep.c: In function 're': agrep.c:1347:88: warning: pointer targets in passing argument 2 of 'free_buf' differ in signedness [-Wpointer-sign] 1347 | free_buf(Text, buffer); | ^~~~~~ | | | unsigned char * agrep.h:140:36: note: expected 'char *' but argument is of type 'unsigned char *' 140 | extern void free_buf(int fd, char *sbuf); | ~~~~~~^~~~ agrep.c:1354:72: warning: pointer targets in passing argument 2 of 'free_buf' differ in signedness [-Wpointer-sign] 1354 | free_buf(Text, buffer); | ^~~~~~ | | | unsigned char * agrep.h:140:36: note: expected 'char *' but argument is of type 'unsigned char *' 140 | extern void free_buf(int fd, char *sbuf); | ~~~~~~^~~~ agrep.c:1358:106: warning: pointer targets in passing argument 2 of 'free_buf' differ in signedness [-Wpointer-sign] 1358 | if (-1 == r_output(buffer, i-1, end, j)) {free_buf(Text, buffer); return -1;} | ^~~~~~ | | | unsigned char * agrep.h:140:36: note: expected 'char *' but argument is of type 'unsigned char *' 140 | extern void free_buf(int fd, char *sbuf); | ~~~~~~^~~~ agrep.c:1361:72: warning: pointer targets in passing argument 2 of 'free_buf' differ in signedness [-Wpointer-sign] 1361 | free_buf(Text, buffer); | ^~~~~~ | | | unsigned char * agrep.h:140:36: note: expected 'char *' but argument is of type 'unsigned char *' 140 | extern void free_buf(int fd, char *sbuf); | ~~~~~~^~~~ agrep.c:1400:88: warning: pointer targets in passing argument 2 of 'free_buf' differ in signedness [-Wpointer-sign] 1400 | free_buf(Text, buffer); | ^~~~~~ | | | unsigned char * agrep.h:140:36: note: expected 'char *' but argument is of type 'unsigned char *' 140 | extern void free_buf(int fd, char *sbuf); | ~~~~~~^~~~ agrep.c:1407:72: warning: pointer targets in passing argument 2 of 'free_buf' differ in signedness [-Wpointer-sign] 1407 | free_buf(Text, buffer); | ^~~~~~ | | | unsigned char * agrep.h:140:36: note: expected 'char *' but argument is of type 'unsigned char *' 140 | extern void free_buf(int fd, char *sbuf); | ~~~~~~^~~~ agrep.c:1411:106: warning: pointer targets in passing argument 2 of 'free_buf' differ in signedness [-Wpointer-sign] 1411 | if (-1 == r_output(buffer, i-1, end, j)) {free_buf(Text, buffer); return -1;} | ^~~~~~ | | | unsigned char * agrep.h:140:36: note: expected 'char *' but argument is of type 'unsigned char *' 140 | extern void free_buf(int fd, char *sbuf); | ~~~~~~^~~~ agrep.c:1414:72: warning: pointer targets in passing argument 2 of 'free_buf' differ in signedness [-Wpointer-sign] 1414 | free_buf(Text, buffer); | ^~~~~~ | | | unsigned char * agrep.h:140:36: note: expected 'char *' but argument is of type 'unsigned char *' 140 | extern void free_buf(int fd, char *sbuf); | ~~~~~~^~~~ agrep.c:1430:47: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] 1430 | strncpy(buffer+Maxline-ResidueSize, buffer+lasti, ResidueSize); | ~~~~~~~~~~~~~~^~~~~~~~~~~~ | | | unsigned char * /usr/include/bits/string_fortified.h:92:1: note: expected 'char *' but argument is of type 'unsigned char *' 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ agrep.c:1430:67: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] 1430 | strncpy(buffer+Maxline-ResidueSize, buffer+lasti, ResidueSize); | ~~~~~~^~~~~~ | | | unsigned char * /usr/include/bits/string_fortified.h:92:1: note: expected 'const char *' but argument is of type 'unsigned char *' 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ agrep.c:1433:32: warning: pointer targets in passing argument 2 of 'free_buf' differ in signedness [-Wpointer-sign] 1433 | free_buf(Text, buffer); | ^~~~~~ | | | unsigned char * agrep.h:140:36: note: expected 'char *' but argument is of type 'unsigned char *' 140 | extern void free_buf(int fd, char *sbuf); | ~~~~~~^~~~ agrep.c:1631:88: warning: pointer targets in passing argument 2 of 'free_buf' differ in signedness [-Wpointer-sign] 1631 | free_buf(Text, buffer); | ^~~~~~ | | | unsigned char * agrep.h:140:36: note: expected 'char *' but argument is of type 'unsigned char *' 140 | extern void free_buf(int fd, char *sbuf); | ~~~~~~^~~~ agrep.c:1638:72: warning: pointer targets in passing argument 2 of 'free_buf' differ in signedness [-Wpointer-sign] 1638 | free_buf(Text, buffer); | ^~~~~~ | | | unsigned char * agrep.h:140:36: note: expected 'char *' but argument is of type 'unsigned char *' 140 | extern void free_buf(int fd, char *sbuf); | ~~~~~~^~~~ agrep.c:1642:106: warning: pointer targets in passing argument 2 of 'free_buf' differ in signedness [-Wpointer-sign] 1642 | if (-1 == r_output(buffer, i-1, end, j)) {free_buf(Text, buffer); return -1;} | ^~~~~~ | | | unsigned char * agrep.h:140:36: note: expected 'char *' but argument is of type 'unsigned char *' 140 | extern void free_buf(int fd, char *sbuf); | ~~~~~~^~~~ agrep.c:1645:72: warning: pointer targets in passing argument 2 of 'free_buf' differ in signedness [-Wpointer-sign] 1645 | free_buf(Text, buffer); | ^~~~~~ | | | unsigned char * agrep.h:140:36: note: expected 'char *' but argument is of type 'unsigned char *' 140 | extern void free_buf(int fd, char *sbuf); | ~~~~~~^~~~ agrep.c:1703:88: warning: pointer targets in passing argument 2 of 'free_buf' differ in signedness [-Wpointer-sign] 1703 | free_buf(Text, buffer); | ^~~~~~ | | | unsigned char * agrep.h:140:36: note: expected 'char *' but argument is of type 'unsigned char *' 140 | extern void free_buf(int fd, char *sbuf); | ~~~~~~^~~~ agrep.c:1710:72: warning: pointer targets in passing argument 2 of 'free_buf' differ in signedness [-Wpointer-sign] 1710 | free_buf(Text, buffer); | ^~~~~~ | | | unsigned char * agrep.h:140:36: note: expected 'char *' but argument is of type 'unsigned char *' 140 | extern void free_buf(int fd, char *sbuf); | ~~~~~~^~~~ agrep.c:1714:104: warning: pointer targets in passing argument 2 of 'free_buf' differ in signedness [-Wpointer-sign] 1714 | if (-1 == r_output(buffer, i, end, j)) {free_buf(Text, buffer); return -1;} | ^~~~~~ | | | unsigned char * agrep.h:140:36: note: expected 'char *' but argument is of type 'unsigned char *' 140 | extern void free_buf(int fd, char *sbuf); | ~~~~~~^~~~ agrep.c:1717:72: warning: pointer targets in passing argument 2 of 'free_buf' differ in signedness [-Wpointer-sign] 1717 | free_buf(Text, buffer); | ^~~~~~ | | | unsigned char * agrep.h:140:36: note: expected 'char *' but argument is of type 'unsigned char *' 140 | extern void free_buf(int fd, char *sbuf); | ~~~~~~^~~~ agrep.c:1739:33: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] 1739 | strncpy(buffer, buffer+num_read, Maxline); | ^~~~~~ | | | unsigned char * /usr/include/bits/string_fortified.h:92:1: note: expected 'char *' but argument is of type 'unsigned char *' 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ agrep.c:1739:47: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] 1739 | strncpy(buffer, buffer+num_read, Maxline); | ~~~~~~^~~~~~~~~ | | | unsigned char * /usr/include/bits/string_fortified.h:92:1: note: expected 'const char *' but argument is of type 'unsigned char *' 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ agrep.c:1741:32: warning: pointer targets in passing argument 2 of 'free_buf' differ in signedness [-Wpointer-sign] 1741 | free_buf(Text, buffer); | ^~~~~~ | | | unsigned char * agrep.h:140:36: note: expected 'char *' but argument is of type 'unsigned char *' 140 | extern void free_buf(int fd, char *sbuf); | ~~~~~~^~~~ agrep.c: In function 'agrep_init': agrep.c:2085:17: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] 2085 | strncpy(Progname, argv[0], MAXNAME); | ^~~~~~~~ | | | unsigned char * /usr/include/bits/string_fortified.h:92:1: note: expected 'char *' but argument is of type 'unsigned char *' 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ agrep.c:2087:16: warning: zero-length gnu_printf format string [-Wformat-zero-length] 2087 | printf(""); /* dummy statement which avoids program crash with | ^~ agrep.c:2112:30: warning: implicit declaration of function 'agrep_usage' [-Wimplicit-function-declaration] 2112 | if (argc < 2) return agrep_usage(); | ^~~~~~~~~~~ agrep.c:2288:57: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 2288 | strcpy(D_pattern+1, argv[0]); | ~~~~~~~~~^~ | | | unsigned char * /usr/include/bits/string_fortified.h:77:1: note: expected 'char *' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ agrep.c:2305:57: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 2305 | strcpy(D_pattern+1, p + 1); | ~~~~~~~~~^~ | | | unsigned char * /usr/include/bits/string_fortified.h:77:1: note: expected 'char *' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ agrep.c:2309:40: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] 2309 | strcat(D_pattern, ">; "); | ^~~~~~~~~ | | | unsigned char * /usr/include/bits/string_fortified.h:128:1: note: expected 'char *' but argument is of type 'unsigned char *' 128 | __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ agrep.c:2313:40: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 2313 | strcpy(original_D_pattern, D_pattern); | ^~~~~~~~~~~~~~~~~~ | | | unsigned char * /usr/include/bits/string_fortified.h:77:1: note: expected 'char *' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ agrep.c:2313:60: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] 2313 | strcpy(original_D_pattern, D_pattern); | ^~~~~~~~~ | | | unsigned char * /usr/include/bits/string_fortified.h:77:1: note: expected 'const char *' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ agrep.c:2351:56: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] 2351 | strcat(Pattern, (argv)[0]); | ^~~~~~~ | | | unsigned char * /usr/include/bits/string_fortified.h:128:1: note: expected 'char *' but argument is of type 'unsigned char *' 128 | __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ agrep.c:2353:53: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] 2353 | else strcat(Pattern, argv[0]); | ^~~~~~~ | | | unsigned char * /usr/include/bits/string_fortified.h:128:1: note: expected 'char *' but argument is of type 'unsigned char *' 128 | __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ agrep.c:2359:56: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] 2359 | strcat(Pattern, p+1); | ^~~~~~~ | | | unsigned char * /usr/include/bits/string_fortified.h:128:1: note: expected 'char *' but argument is of type 'unsigned char *' 128 | __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ agrep.c:2361:54: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] 2361 | else strcat (Pattern, p+1); | ^~~~~~~ | | | unsigned char * /usr/include/bits/string_fortified.h:128:1: note: expected 'char *' but argument is of type 'unsigned char *' 128 | __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ agrep.c:2382:48: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] 2382 | strcat(Pattern, argv[0]); | ^~~~~~~ | | | unsigned char * /usr/include/bits/string_fortified.h:128:1: note: expected 'char *' but argument is of type 'unsigned char *' 128 | __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ agrep.c:2402:49: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] 2402 | strcat (Pattern, p+1); | ^~~~~~~ | | | unsigned char * /usr/include/bits/string_fortified.h:128:1: note: expected 'char *' but argument is of type 'unsigned char *' 128 | __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ agrep.c:2512:45: warning: implicit declaration of function 'prepf' [-Wimplicit-function-declaration] 2512 | if (prepf(-1, multibuf, multilen) <= -1) { | ^~~~~ agrep.c:2747:38: warning: implicit declaration of function 'get_current_codepage' [-Wimplicit-function-declaration] 2747 | if (CODEPAGE_STR[0]=='\0') j=get_current_codepage(); | ^~~~~~~~~~~~~~~~~~~~ agrep.c:2804:54: warning: '#' flag used with '%i' gnu_printf format [-Wformat=] 2804 | printf("-i0: . (%#03hi %02Xh) => -i: . (%#03hi %02Xh) -ia: . (%#03hi %02Xh) -i#: . (%#03hi %02Xh) %s\n", \ | ^ agrep.c:2804:78: warning: '#' flag used with '%i' gnu_printf format [-Wformat=] 2804 | printf("-i0: . (%#03hi %02Xh) => -i: . (%#03hi %02Xh) -ia: . (%#03hi %02Xh) -i#: . (%#03hi %02Xh) %s\n", \ | ^ agrep.c:2804:101: warning: '#' flag used with '%i' gnu_printf format [-Wformat=] 2804 | printf("-i0: . (%#03hi %02Xh) => -i: . (%#03hi %02Xh) -ia: . (%#03hi %02Xh) -i#: . (%#03hi %02Xh) %s\n", \ | ^ agrep.c:2804:124: warning: '#' flag used with '%i' gnu_printf format [-Wformat=] 2804 | printf("-i0: . (%#03hi %02Xh) => -i: . (%#03hi %02Xh) -ia: . (%#03hi %02Xh) -i#: . (%#03hi %02Xh) %s\n", \ | ^ agrep.c:2811:52: warning: '#' flag used with '%i' gnu_printf format [-Wformat=] 2811 | else printf("-i0: %c (%#03hi %02Xh) => -i: %c (%#03hi %02Xh) -ia: %c (%#03hi %02Xh) -i#: %c (%#03hi %02Xh) %s\n", \ | ^ agrep.c:2811:77: warning: '#' flag used with '%i' gnu_printf format [-Wformat=] 2811 | else printf("-i0: %c (%#03hi %02Xh) => -i: %c (%#03hi %02Xh) -ia: %c (%#03hi %02Xh) -i#: %c (%#03hi %02Xh) %s\n", \ | ^ agrep.c:2811:101: warning: '#' flag used with '%i' gnu_printf format [-Wformat=] 2811 | else printf("-i0: %c (%#03hi %02Xh) => -i: %c (%#03hi %02Xh) -ia: %c (%#03hi %02Xh) -i#: %c (%#03hi %02Xh) %s\n", \ | ^ agrep.c:2811:125: warning: '#' flag used with '%i' gnu_printf format [-Wformat=] 2811 | else printf("-i0: %c (%#03hi %02Xh) => -i: %c (%#03hi %02Xh) -ia: %c (%#03hi %02Xh) -i#: %c (%#03hi %02Xh) %s\n", \ | ^ agrep.c:2891:9: warning: implicit declaration of function 'initialize_common' [-Wimplicit-function-declaration] 2891 | initialize_common(FREQ_FILE, 0); /* no error msgs */ | ^~~~~~~~~~~~~~~~~ agrep.c:2906:24: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 2906 | strcpy(Pattern, *argv); | ^~~~~~~ | | | unsigned char * /usr/include/bits/string_fortified.h:77:1: note: expected 'char *' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ agrep.c:2952:41: warning: implicit declaration of function 'check_file' [-Wimplicit-function-declaration] 2952 | if ((filetype = check_file(*argv)) == NOSUCHFILE) { | ^~~~~~~~~~ agrep.c:2968:49: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 2968 | strcpy(Textfiles[Numfiles++], *argv++); | ~~~~~~~~~^~~~~~~~~~~~ | | | unsigned char * /usr/include/bits/string_fortified.h:77:1: note: expected 'char *' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ agrep.c:2978:20: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 2978 | M = strlen(Pattern); | ^~~~~~~ | | | unsigned char * In file included from re.h:7, from agrep.h:19: /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'unsigned char *' 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ agrep.c:3007:25: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] 3007 | strncpy(pattern_buffer, Pattern, M+1); /* copy \0 */ | ^~~~~~~~~~~~~~ | | | unsigned char * /usr/include/bits/string_fortified.h:92:1: note: expected 'char *' but argument is of type 'unsigned char *' 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ agrep.c:3007:41: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] 3007 | strncpy(pattern_buffer, Pattern, M+1); /* copy \0 */ | ^~~~~~~ | | | unsigned char * /usr/include/bits/string_fortified.h:92:1: note: expected 'const char *' but argument is of type 'unsigned char *' 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ agrep.c: In function 'agrep_search': agrep.c:3065:28: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 3065 | if (strcmp(agrep_saved_pattern, pattern_buffer)) { | ^~~~~~~~~~~~~~~~~~~ | | | unsigned char * /usr/include/string.h:156:32: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ agrep.c:3065:49: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 3065 | if (strcmp(agrep_saved_pattern, pattern_buffer)) { | ^~~~~~~~~~~~~~ | | | unsigned char * /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ agrep.c:3085:33: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] 3085 | strncpy(Pattern, pattern_buffer, pattern_len+1); /* copy \0 */ | ^~~~~~~ | | | unsigned char * /usr/include/bits/string_fortified.h:92:1: note: expected 'char *' but argument is of type 'unsigned char *' 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ agrep.c:3085:42: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] 3085 | strncpy(Pattern, pattern_buffer, pattern_len+1); /* copy \0 */ | ^~~~~~~~~~~~~~ | | | unsigned char * /usr/include/bits/string_fortified.h:92:1: note: expected 'const char *' but argument is of type 'unsigned char *' 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ agrep.c:3086:28: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 3086 | M = strlen(Pattern); | ^~~~~~~ | | | unsigned char * /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'unsigned char *' 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ agrep.c:3169:27: warning: implicit declaration of function 'checksg' [-Wimplicit-function-declaration] 3169 | if (-1 == checksg(Pattern, D, 1)) return -1; /* check if the pattern is simple */ | ^~~~~~~ agrep.c:3170:24: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 3170 | strcpy(OldPattern, Pattern); | ^~~~~~~~~~ | | | unsigned char * /usr/include/bits/string_fortified.h:77:1: note: expected 'char *' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ agrep.c:3170:36: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] 3170 | strcpy(OldPattern, Pattern); | ^~~~~~~ | | | unsigned char * /usr/include/bits/string_fortified.h:77:1: note: expected 'const char *' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ agrep.c:3174:35: warning: implicit declaration of function 'preprocess' [-Wimplicit-function-declaration] 3174 | if (-1 == preprocess(D_pattern, Pattern)) return -1; | ^~~~~~~~~~ agrep.c:3175:32: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 3175 | strcpy(old_D_pat, D_pattern); | ^~~~~~~~~ | | | unsigned char * /usr/include/bits/string_fortified.h:77:1: note: expected 'char *' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ agrep.c:3175:43: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] 3175 | strcpy(old_D_pat, D_pattern); | ^~~~~~~~~ | | | unsigned char * /usr/include/bits/string_fortified.h:77:1: note: expected 'const char *' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ agrep.c:3179:46: warning: implicit declaration of function 'maskgen' [-Wimplicit-function-declaration] 3179 | if(!AParse && ((M = maskgen(Pattern, D)) == -1)) return -1; | ^~~~~~~ agrep.c:3186:52: warning: implicit declaration of function 'quick_tcompress' [-Wimplicit-function-declaration] 3186 | if ((tc_D_length = quick_tcompress(FREQ_FILE,HASH_FILE,D_pattern,D_length,tc_D_pattern,MaxDelimit*2,TC_EASYSEARCH)) <= 0) { | ^~~~~~~~~~~~~~~ agrep.c:3187:48: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 3187 | strcpy(tc_D_pattern, D_pattern); | ^~~~~~~~~~~~ | | | unsigned char * /usr/include/bits/string_fortified.h:77:1: note: expected 'char *' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ agrep.c:3187:62: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] 3187 | strcpy(tc_D_pattern, D_pattern); | ^~~~~~~~~ | | | unsigned char * /usr/include/bits/string_fortified.h:77:1: note: expected 'const char *' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ agrep.c:3192:36: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 3192 | M = strlen(OldPattern); | ^~~~~~~~~~ | | | unsigned char * /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'unsigned char *' 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ agrep.c:3222:17: warning: implicit declaration of function 'exec'; did you mean 'execl'? [-Wimplicit-function-declaration] 3222 | ret = exec(execfd, NULL); | ^~~~ | execl agrep.c:3224:21: warning: implicit declaration of function 'recursive' [-Wimplicit-function-declaration] 3224 | ret = ( recursive( Numfiles, Textfiles ) ); | ^~~~~~~~~ agrep.c: In function 'exec': agrep.c:3342:20: warning: implicit declaration of function 'compat' [-Wimplicit-function-declaration] 3342 | if ((-1 == compat())) return -1; /* check compatibility between options */ | ^~~~~~ agrep.c:3357:44: warning: implicit declaration of function 'mgrep'; did you mean 'memagrep'? [-Wimplicit-function-declaration] 3357 | if(PAT_FILE || PAT_BUFFER) mgrep(fd, AParse); | ^~~~~ | memagrep agrep.c:3359:41: warning: implicit declaration of function 'sgrep' [-Wimplicit-function-declaration] 3359 | if(SGREP) ret = sgrep(OldPattern, strlen(OldPattern), fd, D, 0); | ^~~~~ agrep.c:3359:66: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 3359 | if(SGREP) ret = sgrep(OldPattern, strlen(OldPattern), fd, D, 0); | ^~~~~~~~~~ | | | unsigned char * /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'unsigned char *' 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ agrep.c:3360:41: warning: implicit declaration of function 'bitap' [-Wimplicit-function-declaration] 3360 | else ret = bitap(old_D_pat, Pattern, fd, M, D); | ^~~~~ agrep.c:3416:62: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 3416 | if (PRINTFILENUMBER) sprintf(CurrentFileName, "%d", i); | ^~~~~~~~~~~~~~~ | | | unsigned char * /usr/include/bits/stdio2.h:28:1: note: expected 'char *' but argument is of type 'unsigned char *' 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ agrep.c:3417:45: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 3417 | else strcpy(CurrentFileName, file_list[i]); | ^~~~~~~~~~~~~~~ | | | unsigned char * /usr/include/bits/string_fortified.h:77:1: note: expected 'char *' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ agrep.c:3421:30: warning: implicit declaration of function 'tuncompressible_filename' [-Wimplicit-function-declaration] 3421 | if (!tuncompressible_filename(file_list[i], strlen(file_list[i]))) TCOMPRESSED = OFF; | ^~~~~~~~~~~~~~~~~~~~~~~~ agrep.c:3430:82: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 3430 | if(SGREP) ret = sgrep(OldPattern, strlen(OldPattern), fd, D, i); | ^~~~~~~~~~ | | | unsigned char * /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'unsigned char *' 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ agrep.c:3560:51: warning: implicit declaration of function 'file_out'; did you mean 'fileno'? [-Wimplicit-function-declaration] 3560 | if (-1 == file_out(file_list[i])) { | ^~~~~~~~ | fileno agrep.c:3587:40: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 3587 | strcpy(old_D_pat, D_pattern); | ^~~~~~~~~ | | | unsigned char * /usr/include/bits/string_fortified.h:77:1: note: expected 'char *' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ agrep.c:3587:51: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] 3587 | strcpy(old_D_pat, D_pattern); | ^~~~~~~~~ | | | unsigned char * /usr/include/bits/string_fortified.h:77:1: note: expected 'const char *' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ agrep.c:3600:70: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 3600 | if (PRINTFILENUMBER) sprintf(CurrentFileName, "%d", i); | ^~~~~~~~~~~~~~~ | | | unsigned char * /usr/include/bits/stdio2.h:28:1: note: expected 'char *' but argument is of type 'unsigned char *' 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ agrep.c:3601:53: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 3601 | else strcpy(CurrentFileName, file_list[i]); | ^~~~~~~~~~~~~~~ | | | unsigned char * /usr/include/bits/string_fortified.h:77:1: note: expected 'char *' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ agrep.c:3604:65: warning: pointer targets in passing argument 1 of 'open' differ in signedness [-Wpointer-sign] 3604 | if ((fd = open(Textfiles[i], O_RDONLY)) > 0) { | ~~~~~~~~~^~~ | | | unsigned char * In file included from /usr/include/fcntl.h:342, from agrep.h:22: /usr/include/bits/fcntl2.h:41:19: note: expected 'const char *' but argument is of type 'unsigned char *' 41 | open (const char *__path, int __oflag, ...) | ~~~~~~~~~~~~^~~~~~ agrep.c:3607:97: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 3607 | if(SGREP) ret = sgrep(OldPattern,strlen(OldPattern),fd,D, i); | ^~~~~~~~~~ | | | unsigned char * /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'unsigned char *' 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ agrep.c:3681:51: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 3681 | sprintf(CurrentFileName, "%d", i); | ^~~~~~~~~~~~~~~ | | | unsigned char * /usr/include/bits/stdio2.h:28:1: note: expected 'char *' but argument is of type 'unsigned char *' 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ agrep.c:3683:50: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 3683 | strcpy(CurrentFileName, file_list[i]); | ^~~~~~~~~~~~~~~ | | | unsigned char * /usr/include/bits/string_fortified.h:77:1: note: expected 'char *' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ agrep.c:3688:67: warning: pointer targets in passing argument 1 of 'open' differ in signedness [-Wpointer-sign] 3688 | if ( ( fd = open(Textfiles[i], O_RDONLY ) ) > 0 ) { | ~~~~~~~~~^~~ | | | unsigned char * /usr/include/bits/fcntl2.h:41:19: note: expected 'const char *' but argument is of type 'unsigned char *' 41 | open (const char *__path, int __oflag, ...) | ~~~~~~~~~~~~^~~~~~ agrep.c:3697:79: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 3697 | ret = sgrep( OldPattern, strlen(OldPattern), fd, D, i ); | ^~~~~~~~~~ | | | unsigned char * /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'unsigned char *' 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ agrep.c: In function 'agrep_usage': agrep.c:3963:9: warning: implicit declaration of function 'agrep_online_help' [-Wimplicit-function-declaration] 3963 | agrep_online_help(); | ^~~~~~~~~~~~~~~~~ agrep.c: In function 'agrep_init': agrep.c:2872:25: warning: ignoring return value of 'getcwd' declared with attribute 'warn_unused_result' [-Wunused-result] 2872 | getcwd(COMP_DIR, MAX_LINE_LEN-1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ agrep.c: In function 'file_out': agrep.c:3791:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 3791 | write(1, buf, num_read); | ^~~~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/agrep-3.41.5' make: Entering directory '/usr/src/RPM/BUILD/agrep-3.41.5' gcc -o agrep follow.o asearch.o asearch1.o agrep.o bitap.o checkfil.o compat.o dummyfil.o main.o maskgen.o parse.o checksg.o preproce.o delim.o asplit.o recursiv.o sgrep.o newmgrep.o utilitie.o codepage.o agrephlp.o make: Leaving directory '/usr/src/RPM/BUILD/agrep-3.41.5' + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.31272 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/agrep-buildroot + : + /bin/rm -rf -- /usr/src/tmp/agrep-buildroot + PATH=/usr/libexec/rpm-build:/usr/src/bin:/usr/bin:/bin:/usr/local/bin:/usr/games + cd agrep-3.41.5 + install -pD -m755 agrep /usr/src/tmp/agrep-buildroot/usr/bin/agrep + install -pD -m644 agrep.1 /usr/src/tmp/agrep-buildroot/usr/share/man/man1/agrep.1 + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/agrep-buildroot (auto) Verifying and fixing files in /usr/src/tmp/agrep-buildroot (binconfig,pkgconfig,libtool,desktop,gnuconfig) Checking contents of files in /usr/src/tmp/agrep-buildroot/ (default) Compressing files in /usr/src/tmp/agrep-buildroot (auto) Verifying ELF objects in /usr/src/tmp/agrep-buildroot (arch=normal,fhs=normal,lfs=relaxed,lint=relaxed,rpath=normal,stack=normal,textrel=normal,unresolved=normal) verify-elf: WARNING: ./usr/bin/agrep: uses non-LFS functions: fstat lstat open readdir stat Splitting links to aliased files under /{,s}bin in /usr/src/tmp/agrep-buildroot Processing files: agrep-3.41.5-alt1 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.22183 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd agrep-3.41.5 + DOCDIR=/usr/src/tmp/agrep-buildroot/usr/share/doc/agrep-3.41.5 + export DOCDIR + rm -rf /usr/src/tmp/agrep-buildroot/usr/share/doc/agrep-3.41.5 + /bin/mkdir -p /usr/src/tmp/agrep-buildroot/usr/share/doc/agrep-3.41.5 + cp -prL COPYRIGHT README.md agrep.algorithms agrep.chronicle contribution.list /usr/src/tmp/agrep-buildroot/usr/share/doc/agrep-3.41.5 + chmod -R go-w /usr/src/tmp/agrep-buildroot/usr/share/doc/agrep-3.41.5 + chmod -R a+rX /usr/src/tmp/agrep-buildroot/usr/share/doc/agrep-3.41.5 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.OA9PPx find-provides: running scripts (debuginfo,lib,pam,perl,pkgconfig,python,python3,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.s8zzx0 find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks,systemd-services) Requires: /lib/ld-linux.so.2, libc.so.6(GLIBC_2.0), libc.so.6(GLIBC_2.1.3), libc.so.6(GLIBC_2.3), libc.so.6(GLIBC_2.3.4), libc.so.6(GLIBC_2.33), libc.so.6(GLIBC_2.34), libc.so.6(GLIBC_2.4), libc.so.6(GLIBC_2.7), rtld(GNU_HASH) Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.Fbu9bq Creating agrep-debuginfo package Processing files: agrep-debuginfo-3.41.5-alt1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.AFkqZj find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.gLr1fD find-requires: running scripts (debuginfo) Requires: agrep = 3.41.5-alt1, /usr/lib/debug/lib/ld-linux.so.2.debug, debug(libc.so.6) Adding to agrep-debuginfo a strict dependency on agrep Wrote: /usr/src/RPM/RPMS/i586/agrep-3.41.5-alt1.i586.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/i586/agrep-debuginfo-3.41.5-alt1.i586.rpm (w2.lzdio) 5.02user 1.43system 0:07.83elapsed 82%CPU (0avgtext+0avgdata 50532maxresident)k 0inputs+0outputs (0major+261464minor)pagefaults 0swaps 0.62user 1.78system 0:13.17elapsed 18%CPU (0avgtext+0avgdata 11520maxresident)k 0inputs+0outputs (0major+96486minor)pagefaults 0swaps