* Package: app-misc/glimpse-4.18.6-r1 * Repository: gentoo * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox test userpriv usersandbox >>> Unpacking source... >>> Unpacking glimpse-4.18.6.tar.gz to /var/tmp/portage/app-misc/glimpse-4.18.6-r1/work >>> Source unpacked in /var/tmp/portage/app-misc/glimpse-4.18.6-r1/work >>> Preparing source in /var/tmp/portage/app-misc/glimpse-4.18.6-r1/work/glimpse-4.18.6 ... * Applying glimpse-4.18.6-makefile.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/app-misc/glimpse-4.18.6-r1/work/glimpse-4.18.6 ... ./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib64 checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc checking for C compiler default output... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes checking for x86_64-pc-linux-gnu-gcc option to accept ANSI C... none needed checking for ar... ar checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib checking whether ln -s works... yes checking for flex... flex checking for yywrap in -lfl... yes checking lex output file root... lex.yy checking whether yytext is a pointer... yes checking for strip... /usr/bin/strip checking for cp... /bin/cp checking for a BSD-compatible install... /usr/lib/portage/python3.7/ebuild-helpers/xattr/install -c checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E checking for egrep... grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking sys/file.h usability... yes checking sys/file.h presence... yes checking for sys/file.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking for unistd.h... (cached) yes checking sys/select.h usability... yes checking sys/select.h presence... yes checking for sys/select.h... yes checking sys/dir.h usability... yes checking sys/dir.h presence... yes checking for sys/dir.h... yes checking sys/ndir.h usability... no checking sys/ndir.h presence... no checking for sys/ndir.h... no checking strerr.h usability... no checking strerr.h presence... no checking for strerr.h... no checking whether time.h and sys/time.h may both be included... yes checking for an ANSI C-conforming const... yes checking return type of signal handlers... void checking whether utime accepts a null argument... yes checking for strdup... yes checking for strerror... yes checking for sqrt in -lm... yes checking for dlopen in -lc... no checking for dlopen in -ldl... yes checking for connect... yes checking for gethostbyname... yes configure: creating ./config.status config.status: creating Makefile config.status: creating index/Makefile config.status: creating compress/Makefile config.status: creating agrep/Makefile config.status: creating dynfilters/Makefile config.status: creating libtemplate/Makefile config.status: creating libtemplate/util/Makefile config.status: creating libtemplate/template/Makefile config.status: creating libtemplate/lib/Makefile config.status: creating libtemplate/include/autoconf.h config.status: libtemplate/include/autoconf.h is unchanged >>> Source configured. >>> Compiling source in /var/tmp/portage/app-misc/glimpse-4.18.6-r1/work/glimpse-4.18.6 ... make -j4 'OPTIMIZEFLAGS=-O2 -pipe -march=native -frecord-gcc-switches' for d in compress agrep libtemplate index dynfilters ; do \ ( cd $d; make ); \ done make[1]: Entering directory '/var/tmp/portage/app-misc/glimpse-4.18.6-r1/work/glimpse-4.18.6/compress' x86_64-pc-linux-gnu-gcc -I../index -I../agrep -I../libtemplate/include -O2 -pipe -march=native -frecord-gcc-switches -O2 -pipe -march=native -frecord-gcc-switches -c -o hash.o hash.c x86_64-pc-linux-gnu-gcc -I../index -I../agrep -I../libtemplate/include -O2 -pipe -march=native -frecord-gcc-switches -O2 -pipe -march=native -frecord-gcc-switches -c -o string.o string.c x86_64-pc-linux-gnu-gcc -I../index -I../agrep -I../libtemplate/include -O2 -pipe -march=native -frecord-gcc-switches -O2 -pipe -march=native -frecord-gcc-switches -c -o misc.o misc.c x86_64-pc-linux-gnu-gcc -I../index -I../agrep -I../libtemplate/include -O2 -pipe -march=native -frecord-gcc-switches -O2 -pipe -march=native -frecord-gcc-switches -c -o quick.o quick.c hash.c:168:1: warning: return type defaults to ‘int’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-int-Wimplicit-int]8;;] 168 | thash4k(word, len) | ^~~~~~~ hash.c:522:1: warning: return type defaults to ‘int’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-int-Wimplicit-int]8;;] 522 | pad_hash_file(filename, FILEBLOCKSIZE) | ^~~~~~~~~~~~~ string.c:213:1: warning: return type defaults to ‘int’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-int-Wimplicit-int]8;;] 213 | pad_string_file(filename, FILEBLOCKSIZE) | ^~~~~~~~~~~~~~~ misc.c:34:1: warning: return type defaults to ‘int’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-int-Wimplicit-int]8;;] 34 | set_usemalloc() | ^~~~~~~~~~~~~ misc.c:39:1: warning: return type defaults to ‘int’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-int-Wimplicit-int]8;;] 39 | unset_usemalloc() | ^~~~~~~~~~~~~~~ misc.c: In function ‘mygetc’: misc.c:45:1: warning: type of ‘maxlen’ defaults to ‘int’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-int-Wimplicit-int]8;;] 45 | mygetc(fp, buf, maxlen, lenp) | ^~~~~~ misc.c: At top level: misc.c:61:1: warning: return type defaults to ‘int’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-int-Wimplicit-int]8;;] 61 | myfpcopy(fp, src) | ^~~~~~~~ misc.c:75:1: warning: return type defaults to ‘int’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-int-Wimplicit-int]8;;] 75 | mystrcpy(dest, src) | ^~~~~~~~ misc.c:203:1: warning: return type defaults to ‘int’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-int-Wimplicit-int]8;;] 203 | build_freq(freq_words_table, freq_words_strings, freq_words_lens, freq_file, flags) | ^~~~~~~~~~ misc.c: In function ‘build_freq’: misc.c:203:1: warning: type of ‘flags’ defaults to ‘int’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-int-Wimplicit-int]8;;] misc.c: At top level: misc.c:274:1: warning: return type defaults to ‘int’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-int-Wimplicit-int]8;;] 274 | initialize_common(freq_file, flags) | ^~~~~~~~~~~~~~~~~ misc.c:291:1: warning: return type defaults to ‘int’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-int-Wimplicit-int]8;;] 291 | uninitialize_common() | ^~~~~~~~~~~~~~~~~~~ misc.c: In function ‘uninitialize_common’: misc.c:294:2: warning: ‘return’ with no value, in function returning non-void 294 | return; | ^~~~~~ misc.c:291:1: note: declared here 291 | uninitialize_common() | ^~~~~~~~~~~~~~~~~~~ misc.c: In function ‘exists_tcompressed_word’: misc.c:303:1: warning: type of ‘flags’ defaults to ‘int’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-int-Wimplicit-int]8;;] 303 | exists_tcompressed_word(word, wordlen, line, linelen, flags) | ^~~~~~~~~~~~~~~~~~~~~~~ hash.c: In function ‘pad_hash_file’: hash.c:636:2: warning: ignoring return value of ‘system’ declared with attribute ‘warn_unused_result’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-result-Wunused-result]8;;] 636 | system((const char *)buf); | ^~~~~~~~~~~~~~~~~~~~~~~~~ string.c: In function ‘pad_string_file’: string.c:278:2: warning: ignoring return value of ‘system’ declared with attribute ‘warn_unused_result’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-result-Wunused-result]8;;] 278 | system(buf); | ^~~~~~~~~~~ quick.c: In function ‘quick_tcompress’: misc.c: In function ‘build_freq’: quick.c:63:4: warning: implicit declaration of function ‘uninitialize_tcompress’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 63 | uninitialize_tcompress(); | ^~~~~~~~~~~~~~~~~~~~~~ misc.c:231:2: warning: ignoring return value of ‘fscanf’ declared with attribute ‘warn_unused_result’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-result-Wunused-result]8;;] 231 | fscanf(fp, "%d\n", &freq_words); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ quick.c:68:8: warning: implicit declaration of function ‘initialize_common’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 68 | if (!initialize_common(freq_file, flags)) return 0; /* don't call initialize_tcompress since that will load the FULL hash table */ | ^~~~~~~~~~~~~~~~~ quick.c:127:2: warning: implicit declaration of function ‘build_partial_hash’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 127 | build_partial_hash(compress_hash_table, hashfp, hashindexbuf, hashindexsize, pattern, len, blocksize, loaded_hash_table); | ^~~~~~~~~~~~~~~~~~ quick.c:128:11: warning: implicit declaration of function ‘tcompress’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 128 | newlen = tcompress(pattern, len, newpattern, maxnewlen, flags); | ^~~~~~~~~ quick.c: In function ‘quick_tuncompress’: quick.c:165:4: warning: implicit declaration of function ‘uninitialize_tuncompress’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 165 | uninitialize_tuncompress(); | ^~~~~~~~~~~~~~~~~~~~~~~~ quick.c:223:2: warning: implicit declaration of function ‘build_partial_string’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 223 | build_partial_string(compress_string_table, stringfp, stringindexbuf, stringindexsize, pattern, len, blocksize, loaded_string_table); | ^~~~~~~~~~~~~~~~~~~~ quick.c:224:11: warning: implicit declaration of function ‘tuncompress’; did you mean ‘quick_tuncompress’? []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 224 | newlen = tuncompress(pattern, len, newpattern, maxnewlen, flags); | ^~~~~~~~~~~ | quick_tuncompress quick.c: In function ‘quick_tcompress’: quick.c:87:3: warning: ignoring return value of ‘fscanf’ declared with attribute ‘warn_unused_result’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-result-Wunused-result]8;;] 87 | fscanf(hashindexfp, "%d\n", &blocksize); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ quick.c: In function ‘quick_tuncompress’: quick.c:189:3: warning: ignoring return value of ‘fscanf’ declared with attribute ‘warn_unused_result’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-result-Wunused-result]8;;] 189 | fscanf(stringindexfp, "%d\n", &blocksize); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -I../index -I../agrep -I../libtemplate/include -O2 -pipe -march=native -frecord-gcc-switches -O2 -pipe -march=native -frecord-gcc-switches -c -o cast.o cast.c x86_64-pc-linux-gnu-gcc -I../index -I../agrep -I../libtemplate/include -O2 -pipe -march=native -frecord-gcc-switches -O2 -pipe -march=native -frecord-gcc-switches -c -o uncast.o uncast.c cast.c:42:1: warning: return type defaults to ‘int’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-int-Wimplicit-int]8;;] 42 | initialize_tcompress(hash_file, freq_file, flags) | ^~~~~~~~~~~~~~~~~~~~ cast.c: In function ‘initialize_tcompress’: cast.c:48:7: warning: implicit declaration of function ‘initialize_common’; did you mean ‘initialize_tcompress’? []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 48 | if (!initialize_common(freq_file, flags)) return 0; | ^~~~~~~~~~~~~~~~~ | initialize_tcompress cast.c:61:7: warning: implicit declaration of function ‘tbuild_hash’; did you mean ‘build_hash’? []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 61 | if (!tbuild_hash(compress_hash_table, hashfp, -1)) { /* read all bytes until end */ | ^~~~~~~~~~~ | build_hash cast.c: At top level: cast.c:69:1: warning: return type defaults to ‘int’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-int-Wimplicit-int]8;;] 69 | uninitialize_tcompress() | ^~~~~~~~~~~~~~~~~~~~~~ cast.c: In function ‘uninitialize_tcompress’: cast.c:74:2: warning: implicit declaration of function ‘uninitialize_common’; did you mean ‘uninitialize_tcompress’? []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 74 | uninitialize_common(); | ^~~~~~~~~~~~~~~~~~~ | uninitialize_tcompress cast.c: In function ‘tcompressible’: cast.c:121:12: warning: implicit declaration of function ‘ttest_binary’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 121 | if(ttest_binary(buffer, num_read)) { | ^~~~~~~~~~~~ cast.c:126:12: warning: implicit declaration of function ‘ttest_uuencode’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 126 | if(ttest_uuencode(buffer, num_read)) { | ^~~~~~~~~~~~~~ cast.c:131:12: warning: implicit declaration of function ‘ttest_postscript’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 131 | if(ttest_postscript(buffer, num_read)) { | ^~~~~~~~~~~~~~~~ cast.c: At top level: cast.c:140:1: warning: return type defaults to ‘int’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-int-Wimplicit-int]8;;] 140 | tcompressible_file(name, flags) | ^~~~~~~~~~~~~~~~~~ cast.c:160:1: warning: return type defaults to ‘int’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-int-Wimplicit-int]8;;] 160 | tcompressible_fp(fp, flags) | ^~~~~~~~~~~~~~~~ trecursive.c: In function ‘tcompress_directory’: cast.c:730:18: warning: implicit declaration of function ‘tcompress_file’; did you mean ‘tcompressible’? []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 730 | #define FUNCTION tcompress_file | ^~~~~~~~~~~~~~ trecursive.c:109:3: note: in expansion of macro ‘FUNCTION’ 109 | FUNCTION(name, outname, flags); | ^~~~~~~~ cast.c: At top level: cast.c:735:1: warning: return type defaults to ‘int’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-int-Wimplicit-int]8;;] 735 | tcompress_file(name, outname, flags) | ^~~~~~~~~~~~~~ cast.c: In function ‘tcompress_file’: cast.c:799:4: warning: ignoring return value of ‘scanf’ declared with attribute ‘warn_unused_result’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-result-Wunused-result]8;;] 799 | scanf("%c", s); | ^~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -I../index -I../agrep -I../libtemplate/include -O2 -pipe -march=native -frecord-gcc-switches -O2 -pipe -march=native -frecord-gcc-switches -c -o tsimpletest.o tsimpletest.c uncast.c:39:1: warning: return type defaults to ‘int’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-int-Wimplicit-int]8;;] 39 | initialize_tuncompress(string_file, freq_file, flags) | ^~~~~~~~~~~~~~~~~~~~~~ uncast.c: In function ‘initialize_tuncompress’: uncast.c:45:7: warning: implicit declaration of function ‘initialize_common’; did you mean ‘initialize_tuncompress’? []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 45 | if (!initialize_common(freq_file, flags)) return 0; | ^~~~~~~~~~~~~~~~~ | initialize_tuncompress uncast.c: At top level: uncast.c:66:1: warning: return type defaults to ‘int’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-int-Wimplicit-int]8;;] 66 | uninitialize_tuncompress() | ^~~~~~~~~~~~~~~~~~~~~~~~ uncast.c: In function ‘uninitialize_tuncompress’: uncast.c:70:2: warning: implicit declaration of function ‘uninitialize_common’; did you mean ‘uninitialize_tuncompress’? []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 70 | uninitialize_common(); | ^~~~~~~~~~~~~~~~~~~ | uninitialize_tuncompress uncast.c: At top level: uncast.c:128:1: warning: return type defaults to ‘int’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-int-Wimplicit-int]8;;] 128 | tuncompressible_fp(fp) | ^~~~~~~~~~~~~~~~~~ uncast.c: In function ‘tuncompress’: uncast.c:371:36: warning: implicit declaration of function ‘myfpcopy’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 371 | if (outfp != NULL) outlen += myfpcopy(outfp, compress_string_table[dindex]); | ^~~~~~~~ uncast.c:373:18: warning: implicit declaration of function ‘mystrcpy’; did you mean ‘strcpy’? []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 373 | outlen += mystrcpy(outbuf+outlen, compress_string_table[dindex]); | ^~~~~~~~ | strcpy trecursive.c: In function ‘tuncompress_directory’: uncast.c:520:18: warning: implicit declaration of function ‘tuncompress_file’; did you mean ‘tuncompressible’? []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 520 | #define FUNCTION tuncompress_file | ^~~~~~~~~~~~~~~~ trecursive.c:109:3: note: in expansion of macro ‘FUNCTION’ 109 | FUNCTION(name, outname, flags); | ^~~~~~~~ tsimpletest.c:32:1: warning: return type defaults to ‘int’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-int-Wimplicit-int]8;;] 32 | ttest_binary(buffer, length) | ^~~~~~~~~~~~ tsimpletest.c: In function ‘ttest_binary’: tsimpletest.c:42:8: warning: implicit declaration of function ‘isgraph’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 42 | if (!(isgraph(*buffer) || isspace(*buffer))) --permitted_errors; | ^~~~~~~ tsimpletest.c:42:28: warning: implicit declaration of function ‘isspace’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 42 | if (!(isgraph(*buffer) || isspace(*buffer))) --permitted_errors; | ^~~~~~~ tsimpletest.c: At top level: tsimpletest.c:51:1: warning: return type defaults to ‘int’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-int-Wimplicit-int]8;;] 51 | ttest_uuencode(buffer, length) | ^~~~~~~~~~~~~~ tsimpletest.c: In function ‘ttest_uuencode’: tsimpletest.c:64:13: warning: implicit declaration of function ‘tmemlook’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 64 | i = tmemlook("\nbegin", buffer, length); | ^~~~~~~~ uncast.c: In function ‘tuncompress_file’: uncast.c:593:4: warning: ignoring return value of ‘scanf’ declared with attribute ‘warn_unused_result’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-result-Wunused-result]8;;] 593 | scanf("%c", s); | ^~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -I../index -I../agrep -I../libtemplate/include -O2 -pipe -march=native -frecord-gcc-switches -O2 -pipe -march=native -frecord-gcc-switches -c -o tmemlook.o tmemlook.c x86_64-pc-linux-gnu-gcc -I../index -I../agrep -I../libtemplate/include -O2 -pipe -march=native -frecord-gcc-switches -O2 -pipe -march=native -frecord-gcc-switches -c -o tbuild.o tbuild.c x86_64-pc-linux-gnu-gcc -I../index -I../agrep -I../libtemplate/include -O2 -pipe -march=native -frecord-gcc-switches -O2 -pipe -march=native -frecord-gcc-switches -c -o main_tbuild.o main_tbuild.c tbuild.c: In function ‘compute_dictionary’: tbuild.c:30:1: warning: type of ‘SPECIAL_WORDS’ defaults to ‘int’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-int-Wimplicit-int]8;;] 30 | compute_dictionary(THRESHOLD, FILEBLOCKSIZE, SPECIAL_WORDS, comp_dir) | ^~~~~~~~~~~~~~~~~~ tbuild.c:229:7: warning: implicit declaration of function ‘dump_small_hash’; did you mean ‘get_small_hash’? []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 229 | if (!dump_small_hash(dict_hash_table, hash_file)) return -1; | ^~~~~~~~~~~~~~~ | get_small_hash tbuild.c:304:2: warning: implicit declaration of function ‘pad_hash_file’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 304 | pad_hash_file(hash_file, FILEBLOCKSIZE); | ^~~~~~~~~~~~~ tbuild.c:305:2: warning: implicit declaration of function ‘pad_string_file’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 305 | pad_string_file(string_file, FILEBLOCKSIZE); | ^~~~~~~~~~~~~~~ main_tbuild.c:17:1: warning: return type defaults to ‘int’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-int-Wimplicit-int]8;;] 17 | usage(progname) | ^~~~~ tbuild.c:153:2: warning: ignoring return value of ‘system’ declared with attribute ‘warn_unused_result’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-result-Wunused-result]8;;] 153 | system(s); | ^~~~~~~~~ tbuild.c:155:2: warning: ignoring return value of ‘system’ declared with attribute ‘warn_unused_result’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-result-Wunused-result]8;;] 155 | system(s); | ^~~~~~~~~ tbuild.c:157:2: warning: ignoring return value of ‘system’ declared with attribute ‘warn_unused_result’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-result-Wunused-result]8;;] 157 | system(s); | ^~~~~~~~~ tbuild.c:255:2: warning: ignoring return value of ‘system’ declared with attribute ‘warn_unused_result’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-result-Wunused-result]8;;] 255 | system(s); | ^~~~~~~~~ tbuild.c:257:2: warning: ignoring return value of ‘system’ declared with attribute ‘warn_unused_result’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-result-Wunused-result]8;;] 257 | system(s); | ^~~~~~~~~ tbuild.c:270:2: warning: ignoring return value of ‘system’ declared with attribute ‘warn_unused_result’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-result-Wunused-result]8;;] 270 | system(s); | ^~~~~~~~~ tbuild.c:291:2: warning: ignoring return value of ‘system’ declared with attribute ‘warn_unused_result’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-result-Wunused-result]8;;] 291 | system(s); | ^~~~~~~~~ main_tbuild.c: In function ‘main’: main_tbuild.c:56:25: warning: ignoring return value of ‘getcwd’ declared with attribute ‘warn_unused_result’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-result-Wunused-result]8;;] 56 | getcwd(comp_dir, MAX_LINE_LEN-1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -I../index -I../agrep -I../libtemplate/include -O2 -pipe -march=native -frecord-gcc-switches -O2 -pipe -march=native -frecord-gcc-switches -c -o main_cast.o main_cast.c main_cast.c:15:1: warning: return type defaults to ‘int’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-int-Wimplicit-int]8;;] 15 | usage(progname) | ^~~~~ main_cast.c:34:1: warning: return type defaults to ‘int’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-int-Wimplicit-int]8;;] 34 | main(argc, argv) | ^~~~ main_cast.c: In function ‘main’: main_cast.c:125:7: warning: implicit declaration of function ‘initialize_tcompress’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 125 | if (!initialize_tcompress(hash_file, freq_file, FLAGS)) exit(2); | ^~~~~~~~~~~~~~~~~~~~ main_cast.c:133:5: warning: implicit declaration of function ‘tcompress_file’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 133 | tcompress_file(name, outname, FLAGS); | ^~~~~~~~~~~~~~ main_cast.c:136:8: warning: implicit declaration of function ‘tcompress’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 136 | else tcompress(stdin, -1, stdout, -1, FLAGS); | ^~~~~~~~~ main_cast.c:114:4: warning: ignoring return value of ‘getcwd’ declared with attribute ‘warn_unused_result’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-result-Wunused-result]8;;] 114 | getcwd(comp_dir, MAXNAME-1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -I../index -I../agrep -I../libtemplate/include -O2 -pipe -march=native -frecord-gcc-switches -O2 -pipe -march=native -frecord-gcc-switches -c -o main_uncast.o main_uncast.c x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -o tbuild hash.o string.o misc.o tbuild.o main_tbuild.o main_uncast.c:15:1: warning: return type defaults to ‘int’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-int-Wimplicit-int]8;;] 15 | usage(progname) | ^~~~~ main_uncast.c:34:1: warning: return type defaults to ‘int’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-int-Wimplicit-int]8;;] 34 | main(argc, argv) | ^~~~ main_uncast.c: In function ‘main’: main_uncast.c:129:7: warning: implicit declaration of function ‘initialize_tuncompress’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 129 | if (!initialize_tuncompress(string_file, freq_file, FLAGS)) exit(2); | ^~~~~~~~~~~~~~~~~~~~~~ main_uncast.c:137:5: warning: implicit declaration of function ‘tuncompress_file’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 137 | tuncompress_file(name, outname, FLAGS); | ^~~~~~~~~~~~~~~~ main_uncast.c:142:9: warning: implicit declaration of function ‘tuncompressible’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 142 | if (!tuncompressible(buffer, num_read)) { | ^~~~~~~~~~~~~~~ main_uncast.c:146:4: warning: implicit declaration of function ‘tuncompress’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 146 | tuncompress(stdin, -1, stdout, -1, FLAGS); | ^~~~~~~~~~~ main_uncast.c:118:4: warning: ignoring return value of ‘getcwd’ declared with attribute ‘warn_unused_result’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-result-Wunused-result]8;;] 118 | getcwd(comp_dir, MAXNAME-1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ar rcv ../lib/libcast.a hash.o string.o misc.o quick.o cast.o uncast.o tsimpletest.o tmemlook.o tbuild.o make[1]: ar: No such file or directory make[1]: *** [Makefile:62: ../lib/libcast.a] Error 127 make[1]: Leaving directory '/var/tmp/portage/app-misc/glimpse-4.18.6-r1/work/glimpse-4.18.6/compress' make[1]: Entering directory '/var/tmp/portage/app-misc/glimpse-4.18.6-r1/work/glimpse-4.18.6/agrep' x86_64-pc-linux-gnu-gcc -DMEASURE_TIMES=0 -DDOTCOMPRESSED=0 -I../agrep -I../libtemplate/include -O2 -pipe -march=native -frecord-gcc-switches -c -o follow.o follow.c x86_64-pc-linux-gnu-gcc -DMEASURE_TIMES=0 -DDOTCOMPRESSED=0 -I../agrep -I../libtemplate/include -O2 -pipe -march=native -frecord-gcc-switches -c -o asearch.o asearch.c x86_64-pc-linux-gnu-gcc -DMEASURE_TIMES=0 -DDOTCOMPRESSED=0 -I../agrep -I../libtemplate/include -O2 -pipe -march=native -frecord-gcc-switches -c -o asearch1.o asearch1.c x86_64-pc-linux-gnu-gcc -DMEASURE_TIMES=0 -DDOTCOMPRESSED=0 -I../agrep -I../libtemplate/include -O2 -pipe -march=native -frecord-gcc-switches -c -o agrep.o agrep.c agrep.c: In function ‘reinit_value’: agrep.c:177:24: warning: implicit declaration of function ‘destroy_tree’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 177 | if (AComplexBoolean) destroy_tree(AParse); | ^~~~~~~~~~~~ agrep.c: In function ‘compute_next’: asearch.c: In function ‘asearch’: agrep.c:329:7: warning: implicit declaration of function ‘exponen’; did you mean ‘popen’? []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 329 | k = exponen(M); | ^~~~~~~ | popen asearch.c:47:10: warning: implicit declaration of function ‘asearch0’; did you mean ‘asearch’? []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 47 | return asearch0(old_D_pat, text, D); | ^~~~~~~~ | asearch asearch.c:69:15: warning: implicit declaration of function ‘fill_buf’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 69 | while ((l = fill_buf(text, buffer + Max_record, BlockSize)) > 0) | ^~~~~~~~ agrep.c: In function ‘re1’: agrep.c:425:22: warning: implicit declaration of function ‘fill_buf’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 425 | while ((num_read = fill_buf(Text, buffer + Maxline, BlockSize)) > 0) | ^~~~~~~~ asearch.c:184:18: warning: implicit declaration of function ‘output’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 184 | if (-1 == output(buffer, lasti, printout_end, j)) {free_buf(text, buffer); return -1;} | ^~~~~~ agrep.c:516:17: warning: implicit declaration of function ‘r_output’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 516 | if (-1 == r_output(buffer, i-1, end, j)) {free_buf(Text, buffer); return -1;} | ^~~~~~~~ asearch1.c: In function ‘asearch1’: asearch1.c:62:22: warning: implicit declaration of function ‘fill_buf’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 62 | while ((num_read = fill_buf(Text, buffer + Max_record, BlockSize)) > 0) | ^~~~~~~~ asearch1.c:158:18: warning: implicit declaration of function ‘output’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 158 | if (-1 == output(buffer, lasti, i-D_length-1, j)) {free_buf(Text, buffer); return -1;} | ^~~~~~ agrep.c: In function ‘agrep_init’: agrep.c:2465:23: warning: implicit declaration of function ‘agrep_usage’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 2465 | if (argc < 2) return agrep_usage(); | ^~~~~~~~~~~ agrep.c:2801:9: warning: implicit declaration of function ‘prepf’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 2801 | if (prepf(multifd, NULL, 0) <= -1) { | ^~~~~ agrep.c:3028:2: warning: implicit declaration of function ‘initialize_common’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 3028 | initialize_common(FREQ_FILE, 0); /* no error msgs */ | ^~~~~~~~~~~~~~~~~ agrep.c:3082:38: warning: implicit declaration of function ‘check_file’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 3082 | if (!glimpse_call && ((filetype = check_file(*argv)) == NOSUCHFILE) && !PRINTNONEXISTENTFILE) { | ^~~~~~~~~~ agrep.c: In function ‘agrep_search’: agrep.c:3290:13: warning: implicit declaration of function ‘checksg’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 3290 | if (-1 == checksg(Pattern, D, 1)) return -1; /* check if the pattern is simple */ | ^~~~~~~ agrep.c:3294:14: warning: implicit declaration of function ‘preprocess’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 3294 | if (-1 == preprocess(D_pattern, Pattern)) return -1; | ^~~~~~~~~~ agrep.c:3297:25: warning: implicit declaration of function ‘maskgen’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 3297 | if(!AParse && ((M = maskgen(Pattern, D)) == -1)) return -1; | ^~~~~~~ agrep.c:3304:24: warning: implicit declaration of function ‘quick_tcompress’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 3304 | if ((tc_D_length = quick_tcompress(FREQ_FILE,HASH_FILE,D_pattern,D_length,tc_D_pattern,MaxDelimit*2,TC_EASYSEARCH)) <= 0) { | ^~~~~~~~~~~~~~~ agrep.c:3333:35: warning: implicit declaration of function ‘exec’; did you mean ‘execl’? []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 3333 | if (agrep_initialfd == -1) ret = exec(execfd, NULL); | ^~~~ | execl agrep.c:3334:28: warning: implicit declaration of function ‘recursive’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 3334 | else if(RECURSIVE) ret = (recursive(Numfiles, Textfiles)); | ^~~~~~~~~ agrep.c: In function ‘exec’: agrep.c:3443:13: warning: implicit declaration of function ‘compat’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 3443 | if ((-1 == compat())) return -1; /* check compatibility between options */ | ^~~~~~ agrep.c:3456:30: warning: implicit declaration of function ‘mgrep’; did you mean ‘memagrep’? []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 3456 | if(PAT_FILE || PAT_BUFFER) mgrep(fd, AParse); | ^~~~~ | memagrep agrep.c:3458:20: warning: implicit declaration of function ‘sgrep’; did you mean ‘strsep’? []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 3458 | if(SGREP) ret = sgrep(OldPattern, strlen(OldPattern), fd, D, 0); | ^~~~~ | strsep agrep.c:3459:20: warning: implicit declaration of function ‘bitap’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 3459 | else ret = bitap(old_D_pat, Pattern, fd, M, D); | ^~~~~ agrep.c:3519:9: warning: implicit declaration of function ‘tuncompressible_filename’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 3519 | if (!tuncompressible_filename(file_list[i], strlen(file_list[i]))) TCOMPRESSED = OFF; | ^~~~~~~~~~~~~~~~~~~~~~~~ agrep.c:3700:16: warning: implicit declaration of function ‘file_out’; did you mean ‘fileno’? []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 3700 | if (-1 == file_out(file_list[i])) { | ^~~~~~~~ | fileno x86_64-pc-linux-gnu-gcc -DMEASURE_TIMES=0 -DDOTCOMPRESSED=0 -I../agrep -I../libtemplate/include -O2 -pipe -march=native -frecord-gcc-switches -c -o bitap.o bitap.c agrep.c: In function ‘agrep_init’: agrep.c:3013:4: warning: ignoring return value of ‘getcwd’ declared with attribute ‘warn_unused_result’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-result-Wunused-result]8;;] 3013 | getcwd(COMP_DIR, MAX_LINE_LEN-1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ agrep.c: In function ‘file_out’: agrep.c:3869:4: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-result-Wunused-result]8;;] 3869 | write(1, buf, num_read); | ^~~~~~~~~~~~~~~~~~~~~~~ bitap.c: In function ‘bitap’: bitap.c:70:11: warning: implicit declaration of function ‘re’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 70 | return re(fd, M, D); /* SUN: need to find a even point */ | ^~ bitap.c:73:11: warning: implicit declaration of function ‘re1’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 73 | return re1(fd, M, D); | ^~~ bitap.c:78:10: warning: implicit declaration of function ‘asearch1’; did you mean ‘bsearch’? []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 78 | return asearch1(old_D_pat, fd, D); | ^~~~~~~~ | bsearch bitap.c:82:10: warning: implicit declaration of function ‘asearch’; did you mean ‘bsearch’? []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 82 | return asearch(old_D_pat, fd, D); | ^~~~~~~ | bsearch bitap.c:104:22: warning: implicit declaration of function ‘fill_buf’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 104 | while ((num_read = fill_buf(fd, buffer + Max_record, BlockSize)) > 0) | ^~~~~~~~ bitap.c:195:18: warning: implicit declaration of function ‘output’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 195 | if (-1 == output(buffer, lasti, print_end, j - (NumBufferFills - 1))) { free_buf(fd, buffer); return -1;} | ^~~~~~ bitap.c: At top level: bitap.c:498:1: warning: return type defaults to ‘int’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-int-Wimplicit-int]8;;] 498 | fill_buf(fd, buf, record_size) | ^~~~~~~~ x86_64-pc-linux-gnu-gcc -DMEASURE_TIMES=0 -DDOTCOMPRESSED=0 -I../agrep -I../libtemplate/include -O2 -pipe -march=native -frecord-gcc-switches -c -o checkfile.o checkfile.c x86_64-pc-linux-gnu-gcc -DMEASURE_TIMES=0 -DDOTCOMPRESSED=0 -I../agrep -I../libtemplate/include -O2 -pipe -march=native -frecord-gcc-switches -c -o compat.o compat.c checkfile.c: In function ‘check_file’: checkfile.c:47:6: warning: implicit declaration of function ‘my_stat’; did you mean ‘lstat’? []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 47 | if (my_stat(fname, &buf) != 0) { | ^~~~~~~ | lstat x86_64-pc-linux-gnu-gcc -DMEASURE_TIMES=0 -DDOTCOMPRESSED=0 -I../agrep -I../libtemplate/include -O2 -pipe -march=native -frecord-gcc-switches -c -o maskgen.o maskgen.c compat.c:9:8: warning: type defaults to ‘int’ in declaration of ‘FILEOUT’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-int-Wimplicit-int]8;;] 9 | extern FILEOUT; | ^~~~~~~ compat.c:10:8: warning: type defaults to ‘int’ in declaration of ‘REGEX’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-int-Wimplicit-int]8;;] 10 | extern REGEX; | ^~~~~ compat.c:11:8: warning: type defaults to ‘int’ in declaration of ‘DELIMITER’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-int-Wimplicit-int]8;;] 11 | extern DELIMITER; | ^~~~~~~~~ compat.c:12:8: warning: type defaults to ‘int’ in declaration of ‘WHOLELINE’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-int-Wimplicit-int]8;;] 12 | extern WHOLELINE; | ^~~~~~~~~ compat.c:13:8: warning: type defaults to ‘int’ in declaration of ‘LINENUM’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-int-Wimplicit-int]8;;] 13 | extern LINENUM; | ^~~~~~~ compat.c:14:8: warning: type defaults to ‘int’ in declaration of ‘I’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-int-Wimplicit-int]8;;] 14 | extern I, S, DD; | ^ compat.c:14:11: warning: type defaults to ‘int’ in declaration of ‘S’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-int-Wimplicit-int]8;;] 14 | extern I, S, DD; | ^ compat.c:14:14: warning: type defaults to ‘int’ in declaration of ‘DD’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-int-Wimplicit-int]8;;] 14 | extern I, S, DD; | ^~ compat.c:15:8: warning: type defaults to ‘int’ in declaration of ‘JUMP’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-int-Wimplicit-int]8;;] 15 | extern JUMP; | ^~~~ maskgen.c:6:8: warning: type defaults to ‘int’ in declaration of ‘Mask’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-int-Wimplicit-int]8;;] 6 | extern Mask[], Bit[], Init[], NO_ERR_MASK; | ^~~~ maskgen.c:6:16: warning: type defaults to ‘int’ in declaration of ‘Bit’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-int-Wimplicit-int]8;;] 6 | extern Mask[], Bit[], Init[], NO_ERR_MASK; | ^~~ maskgen.c:6:23: warning: type defaults to ‘int’ in declaration of ‘Init’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-int-Wimplicit-int]8;;] 6 | extern Mask[], Bit[], Init[], NO_ERR_MASK; | ^~~~ maskgen.c:6:31: warning: type defaults to ‘int’ in declaration of ‘NO_ERR_MASK’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-int-Wimplicit-int]8;;] 6 | extern Mask[], Bit[], Init[], NO_ERR_MASK; | ^~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -DMEASURE_TIMES=0 -DDOTCOMPRESSED=0 -I../agrep -I../libtemplate/include -O2 -pipe -march=native -frecord-gcc-switches -c -o parse.o parse.c In file included from parse.c:7: parse.c: In function ‘mk_leaf’: re.h:75:3: warning: implicit declaration of function ‘exit’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 75 | exit(2);\ | ^~~~ parse.c:45:2: note: in expansion of macro ‘new_node’ 45 | new_node(Re_Lit, l, l); | ^~~~~~~~ re.h:75:3: warning: incompatible implicit declaration of built-in function ‘exit’ 75 | exit(2);\ | ^~~~ parse.c:45:2: note: in expansion of macro ‘new_node’ 45 | new_node(Re_Lit, l, l); | ^~~~~~~~ parse.c:8:1: note: include ‘’ or provide a declaration of ‘exit’ 7 | #include "re.h" +++ |+#include 8 | In file included from parse.c:7: re.h:77:2: warning: implicit declaration of function ‘memset’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 77 | memset((l), '\0', sizeof(*(x)));\ | ^~~~~~ parse.c:45:2: note: in expansion of macro ‘new_node’ 45 | new_node(Re_Lit, l, l); | ^~~~~~~~ re.h:77:2: warning: incompatible implicit declaration of built-in function ‘memset’ 77 | memset((l), '\0', sizeof(*(x)));\ | ^~~~~~ parse.c:45:2: note: in expansion of macro ‘new_node’ 45 | new_node(Re_Lit, l, l); | ^~~~~~~~ parse.c:8:1: note: include ‘’ or provide a declaration of ‘memset’ 7 | #include "re.h" +++ |+#include 8 | In file included from parse.c:7: re.h:75:3: warning: incompatible implicit declaration of built-in function ‘exit’ 75 | exit(2);\ | ^~~~ parse.c:46:2: note: in expansion of macro ‘new_node’ 46 | new_node(Re_node, node, node); | ^~~~~~~~ re.h:75:3: note: include ‘’ or provide a declaration of ‘exit’ 75 | exit(2);\ | ^~~~ parse.c:46:2: note: in expansion of macro ‘new_node’ 46 | new_node(Re_node, node, node); | ^~~~~~~~ re.h:77:2: warning: incompatible implicit declaration of built-in function ‘memset’ 77 | memset((l), '\0', sizeof(*(x)));\ | ^~~~~~ parse.c:46:2: note: in expansion of macro ‘new_node’ 46 | new_node(Re_node, node, node); | ^~~~~~~~ re.h:77:2: note: include ‘’ or provide a declaration of ‘memset’ 77 | memset((l), '\0', sizeof(*(x)));\ | ^~~~~~ parse.c:46:2: note: in expansion of macro ‘new_node’ 46 | new_node(Re_node, node, node); | ^~~~~~~~ parse.c:48:18: warning: implicit declaration of function ‘free’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 48 | if (l != NULL) free(l); | ^~~~ parse.c:48:18: warning: incompatible implicit declaration of built-in function ‘free’ parse.c:48:18: note: include ‘’ or provide a declaration of ‘free’ parse.c:49:21: warning: incompatible implicit declaration of built-in function ‘free’ 49 | if (node != NULL) free(node); | ^~~~ parse.c:49:21: note: include ‘’ or provide a declaration of ‘free’ In file included from parse.c:7: parse.c: In function ‘parse_cset’: re.h:75:3: warning: incompatible implicit declaration of built-in function ‘exit’ 75 | exit(2);\ | ^~~~ parse.c:76:2: note: in expansion of macro ‘new_node’ 76 | new_node(Ch_Set, curr_ptr, curr_ptr); | ^~~~~~~~ re.h:75:3: note: include ‘’ or provide a declaration of ‘exit’ 75 | exit(2);\ | ^~~~ parse.c:76:2: note: in expansion of macro ‘new_node’ 76 | new_node(Ch_Set, curr_ptr, curr_ptr); | ^~~~~~~~ re.h:77:2: warning: incompatible implicit declaration of built-in function ‘memset’ 77 | memset((l), '\0', sizeof(*(x)));\ | ^~~~~~ parse.c:76:2: note: in expansion of macro ‘new_node’ 76 | new_node(Ch_Set, curr_ptr, curr_ptr); | ^~~~~~~~ re.h:77:2: note: include ‘’ or provide a declaration of ‘memset’ 77 | memset((l), '\0', sizeof(*(x)));\ | ^~~~~~ parse.c:76:2: note: in expansion of macro ‘new_node’ 76 | new_node(Ch_Set, curr_ptr, curr_ptr); | ^~~~~~~~ re.h:75:3: warning: incompatible implicit declaration of built-in function ‘exit’ 75 | exit(2);\ | ^~~~ parse.c:79:3: note: in expansion of macro ‘new_node’ 79 | new_node(Ch_Range, range, range); | ^~~~~~~~ re.h:75:3: note: include ‘’ or provide a declaration of ‘exit’ 75 | exit(2);\ | ^~~~ parse.c:79:3: note: in expansion of macro ‘new_node’ 79 | new_node(Ch_Range, range, range); | ^~~~~~~~ re.h:77:2: warning: incompatible implicit declaration of built-in function ‘memset’ 77 | memset((l), '\0', sizeof(*(x)));\ | ^~~~~~ parse.c:79:3: note: in expansion of macro ‘new_node’ 79 | new_node(Ch_Range, range, range); | ^~~~~~~~ re.h:77:2: note: include ‘’ or provide a declaration of ‘memset’ 77 | memset((l), '\0', sizeof(*(x)));\ | ^~~~~~ parse.c:79:3: note: in expansion of macro ‘new_node’ 79 | new_node(Ch_Range, range, range); | ^~~~~~~~ parse.c:83:4: warning: incompatible implicit declaration of built-in function ‘free’ 83 | free(range); | ^~~~ parse.c:83:4: note: include ‘’ or provide a declaration of ‘free’ parse.c:89:4: warning: incompatible implicit declaration of built-in function ‘free’ 89 | free(range); | ^~~~ parse.c:89:4: note: include ‘’ or provide a declaration of ‘free’ parse.c:96:5: warning: incompatible implicit declaration of built-in function ‘free’ 96 | free(range); | ^~~~ parse.c:96:5: note: include ‘’ or provide a declaration of ‘free’ In file included from parse.c:7: re.h:75:3: warning: incompatible implicit declaration of built-in function ‘exit’ 75 | exit(2);\ | ^~~~ parse.c:104:3: note: in expansion of macro ‘new_node’ 104 | new_node(Ch_Set, curr_ptr, curr_ptr); | ^~~~~~~~ re.h:75:3: note: include ‘’ or provide a declaration of ‘exit’ 75 | exit(2);\ | ^~~~ parse.c:104:3: note: in expansion of macro ‘new_node’ 104 | new_node(Ch_Set, curr_ptr, curr_ptr); | ^~~~~~~~ re.h:77:2: warning: incompatible implicit declaration of built-in function ‘memset’ 77 | memset((l), '\0', sizeof(*(x)));\ | ^~~~~~ parse.c:104:3: note: in expansion of macro ‘new_node’ 104 | new_node(Ch_Set, curr_ptr, curr_ptr); | ^~~~~~~~ re.h:77:2: note: include ‘’ or provide a declaration of ‘memset’ 77 | memset((l), '\0', sizeof(*(x)));\ | ^~~~~~ parse.c:104:3: note: in expansion of macro ‘new_node’ 104 | new_node(Ch_Set, curr_ptr, curr_ptr); | ^~~~~~~~ parse.c:112:22: warning: incompatible implicit declaration of built-in function ‘free’ 112 | if (range != NULL) free(range); | ^~~~ parse.c:112:22: note: include ‘’ or provide a declaration of ‘free’ parse.c:113:3: warning: incompatible implicit declaration of built-in function ‘free’ 113 | free(curr_ptr); | ^~~~ parse.c:113:3: note: include ‘’ or provide a declaration of ‘free’ In file included from parse.c:7: parse.c: In function ‘parse_wildcard’: re.h:75:3: warning: incompatible implicit declaration of built-in function ‘exit’ 75 | exit(2);\ | ^~~~ parse.c:128:2: note: in expansion of macro ‘new_node’ 128 | new_node(Ch_Range, r, r); | ^~~~~~~~ re.h:75:3: note: include ‘’ or provide a declaration of ‘exit’ 75 | exit(2);\ | ^~~~ parse.c:128:2: note: in expansion of macro ‘new_node’ 128 | new_node(Ch_Range, r, r); | ^~~~~~~~ re.h:77:2: warning: incompatible implicit declaration of built-in function ‘memset’ 77 | memset((l), '\0', sizeof(*(x)));\ | ^~~~~~ parse.c:128:2: note: in expansion of macro ‘new_node’ 128 | new_node(Ch_Range, r, r); | ^~~~~~~~ re.h:77:2: note: include ‘’ or provide a declaration of ‘memset’ 77 | memset((l), '\0', sizeof(*(x)));\ | ^~~~~~ parse.c:128:2: note: in expansion of macro ‘new_node’ 128 | new_node(Ch_Range, r, r); | ^~~~~~~~ re.h:75:3: warning: incompatible implicit declaration of built-in function ‘exit’ 75 | exit(2);\ | ^~~~ parse.c:131:2: note: in expansion of macro ‘new_node’ 131 | new_node(Ch_Set, s, s); | ^~~~~~~~ re.h:75:3: note: include ‘’ or provide a declaration of ‘exit’ 75 | exit(2);\ | ^~~~ parse.c:131:2: note: in expansion of macro ‘new_node’ 131 | new_node(Ch_Set, s, s); | ^~~~~~~~ re.h:77:2: warning: incompatible implicit declaration of built-in function ‘memset’ 77 | memset((l), '\0', sizeof(*(x)));\ | ^~~~~~ parse.c:131:2: note: in expansion of macro ‘new_node’ 131 | new_node(Ch_Set, s, s); | ^~~~~~~~ re.h:77:2: note: include ‘’ or provide a declaration of ‘memset’ 77 | memset((l), '\0', sizeof(*(x)));\ | ^~~~~~ parse.c:131:2: note: in expansion of macro ‘new_node’ 131 | new_node(Ch_Set, s, s); | ^~~~~~~~ parse.c: In function ‘free_tok’: parse.c:163:3: warning: incompatible implicit declaration of built-in function ‘free’ 163 | free(next_token); | ^~~~ parse.c:163:3: note: include ‘’ or provide a declaration of ‘free’ In file included from parse.c:7: parse.c: In function ‘get_token’: re.h:75:3: warning: incompatible implicit declaration of built-in function ‘exit’ 75 | exit(2);\ | ^~~~ parse.c:181:2: note: in expansion of macro ‘new_node’ 181 | new_node(Tok_node, rn, rn); | ^~~~~~~~ re.h:75:3: note: include ‘’ or provide a declaration of ‘exit’ 75 | exit(2);\ | ^~~~ parse.c:181:2: note: in expansion of macro ‘new_node’ 181 | new_node(Tok_node, rn, rn); | ^~~~~~~~ re.h:77:2: warning: incompatible implicit declaration of built-in function ‘memset’ 77 | memset((l), '\0', sizeof(*(x)));\ | ^~~~~~ parse.c:181:2: note: in expansion of macro ‘new_node’ 181 | new_node(Tok_node, rn, rn); | ^~~~~~~~ re.h:77:2: note: include ‘’ or provide a declaration of ‘memset’ 77 | memset((l), '\0', sizeof(*(x)));\ | ^~~~~~ parse.c:181:2: note: in expansion of macro ‘new_node’ 181 | new_node(Tok_node, rn, rn); | ^~~~~~~~ parse.c: In function ‘cat2’: re.h:75:3: warning: incompatible implicit declaration of built-in function ‘exit’ 75 | exit(2);\ | ^~~~ parse.c:245:2: note: in expansion of macro ‘new_node’ 245 | new_node(Re_node, r, r); | ^~~~~~~~ re.h:75:3: note: include ‘’ or provide a declaration of ‘exit’ 75 | exit(2);\ | ^~~~ parse.c:245:2: note: in expansion of macro ‘new_node’ 245 | new_node(Re_node, r, r); | ^~~~~~~~ re.h:77:2: warning: incompatible implicit declaration of built-in function ‘memset’ 77 | memset((l), '\0', sizeof(*(x)));\ | ^~~~~~ parse.c:245:2: note: in expansion of macro ‘new_node’ 245 | new_node(Re_node, r, r); | ^~~~~~~~ re.h:77:2: note: include ‘’ or provide a declaration of ‘memset’ 77 | memset((l), '\0', sizeof(*(x)));\ | ^~~~~~ parse.c:245:2: note: in expansion of macro ‘new_node’ 245 | new_node(Re_node, r, r); | ^~~~~~~~ parse.c:253:3: warning: incompatible implicit declaration of built-in function ‘free’ 253 | free(r); | ^~~~ parse.c:253:3: note: include ‘’ or provide a declaration of ‘free’ In file included from parse.c:7: parse.c: In function ‘wrap’: re.h:75:3: warning: incompatible implicit declaration of built-in function ‘exit’ 75 | exit(2);\ | ^~~~ parse.c:277:2: note: in expansion of macro ‘new_node’ 277 | new_node(Re_node, r, r); | ^~~~~~~~ re.h:75:3: note: include ‘’ or provide a declaration of ‘exit’ 75 | exit(2);\ | ^~~~ parse.c:277:2: note: in expansion of macro ‘new_node’ 277 | new_node(Re_node, r, r); | ^~~~~~~~ re.h:77:2: warning: incompatible implicit declaration of built-in function ‘memset’ 77 | memset((l), '\0', sizeof(*(x)));\ | ^~~~~~ parse.c:277:2: note: in expansion of macro ‘new_node’ 277 | new_node(Re_node, r, r); | ^~~~~~~~ re.h:77:2: note: include ‘’ or provide a declaration of ‘memset’ 77 | memset((l), '\0', sizeof(*(x)));\ | ^~~~~~ parse.c:277:2: note: in expansion of macro ‘new_node’ 277 | new_node(Re_node, r, r); | ^~~~~~~~ parse.c:283:3: warning: incompatible implicit declaration of built-in function ‘free’ 283 | free(r); | ^~~~ parse.c:283:3: note: include ‘’ or provide a declaration of ‘free’ In file included from parse.c:7: parse.c: In function ‘mk_alt’: re.h:75:3: warning: incompatible implicit declaration of built-in function ‘exit’ 75 | exit(2);\ | ^~~~ parse.c:303:2: note: in expansion of macro ‘new_node’ 303 | new_node(Re_node, node, node); | ^~~~~~~~ re.h:75:3: note: include ‘’ or provide a declaration of ‘exit’ 75 | exit(2);\ | ^~~~ parse.c:303:2: note: in expansion of macro ‘new_node’ 303 | new_node(Re_node, node, node); | ^~~~~~~~ re.h:77:2: warning: incompatible implicit declaration of built-in function ‘memset’ 77 | memset((l), '\0', sizeof(*(x)));\ | ^~~~~~ parse.c:303:2: note: in expansion of macro ‘new_node’ 303 | new_node(Re_node, node, node); | ^~~~~~~~ re.h:77:2: note: include ‘’ or provide a declaration of ‘memset’ 77 | memset((l), '\0', sizeof(*(x)));\ | ^~~~~~ parse.c:303:2: note: in expansion of macro ‘new_node’ 303 | new_node(Re_node, node, node); | ^~~~~~~~ parse.c: In function ‘parse_re’: parse.c:339:5: warning: incompatible implicit declaration of built-in function ‘free’ 339 | free(top); | ^~~~ parse.c:339:5: note: include ‘’ or provide a declaration of ‘free’ parse.c:355:5: warning: incompatible implicit declaration of built-in function ‘free’ 355 | free(ret); | ^~~~ parse.c:355:5: note: include ‘’ or provide a declaration of ‘free’ parse.c:360:5: warning: incompatible implicit declaration of built-in function ‘free’ 360 | free(ret); | ^~~~ parse.c:360:5: note: include ‘’ or provide a declaration of ‘free’ parse.c:370:6: warning: incompatible implicit declaration of built-in function ‘free’ 370 | free(ret); | ^~~~ parse.c:370:6: note: include ‘’ or provide a declaration of ‘free’ parse.c:397:5: warning: incompatible implicit declaration of built-in function ‘free’ 397 | free(ret); | ^~~~ parse.c:397:5: note: include ‘’ or provide a declaration of ‘free’ parse.c:402:5: warning: incompatible implicit declaration of built-in function ‘free’ 402 | free(ret); | ^~~~ parse.c:402:5: note: include ‘’ or provide a declaration of ‘free’ parse.c:413:4: warning: incompatible implicit declaration of built-in function ‘free’ 413 | free(next_token); | ^~~~ parse.c:413:4: note: include ‘’ or provide a declaration of ‘free’ parse.c: In function ‘parse’: parse.c:451:2: warning: incompatible implicit declaration of built-in function ‘free’ 451 | free(top); | ^~~~ parse.c:451:2: note: include ‘’ or provide a declaration of ‘free’ x86_64-pc-linux-gnu-gcc -DMEASURE_TIMES=0 -DDOTCOMPRESSED=0 -I../agrep -I../libtemplate/include -O2 -pipe -march=native -frecord-gcc-switches -c -o checksg.o checksg.c x86_64-pc-linux-gnu-gcc -DMEASURE_TIMES=0 -DDOTCOMPRESSED=0 -I../agrep -I../libtemplate/include -O2 -pipe -march=native -frecord-gcc-switches -c -o preprocess.o preprocess.c x86_64-pc-linux-gnu-gcc -DMEASURE_TIMES=0 -DDOTCOMPRESSED=0 -I../agrep -I../libtemplate/include -O2 -pipe -march=native -frecord-gcc-switches -c -o delim.o delim.c x86_64-pc-linux-gnu-gcc -DMEASURE_TIMES=0 -DDOTCOMPRESSED=0 -I../agrep -I../libtemplate/include -O2 -pipe -march=native -frecord-gcc-switches -c -o asplit.o asplit.c preprocess.c: In function ‘preprocess’: preprocess.c:67:15: warning: implicit declaration of function ‘asplit_pattern’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 67 | if (((ret1 = asplit_pattern(Pattern, m, aterminals, &anum_terminals, &AParse)) <= 0) || /* can change the pattern if simple boolean with {} */ | ^~~~~~~~~~~~~~ preprocess.c:68:15: warning: implicit declaration of function ‘asplit_terminal’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 68 | ((ret2 = asplit_terminal(0, anum_terminals, multibuf, &multilen)) <= 0) || | ^~~~~~~~~~~~~~~ preprocess.c:70:44: warning: implicit declaration of function ‘destroy_tree’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 70 | if (AComplexBoolean && (AParse != NULL)) destroy_tree(AParse); /* so that direct exec invocations don't use AParse by mistake! */ | ^~~~~~~~~~~~ preprocess.c:97:23: warning: implicit declaration of function ‘quick_tcompress’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 97 | if ((tc_D_length = quick_tcompress(FREQ_FILE, HASH_FILE, D_pattern, D_length, tc_D_pattern, MaxDelimit*2, TC_EASYSEARCH)) <= 0) { | ^~~~~~~~~~~~~~~ preprocess.c:322:13: warning: implicit declaration of function ‘init’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 322 | num_pos = init(r_pat, table); | ^~~~ In file included from asplit.c:5: putils.c: In function ‘print_tree’: putils.c:69:1: warning: type of ‘level’ defaults to ‘int’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-int-Wimplicit-int]8;;] 69 | print_tree(t, level) | ^~~~~~~~~~ x86_64-pc-linux-gnu-gcc -DMEASURE_TIMES=0 -DDOTCOMPRESSED=0 -I../agrep -I../libtemplate/include -O2 -pipe -march=native -frecord-gcc-switches -c -o recursive.o recursive.c x86_64-pc-linux-gnu-gcc -DMEASURE_TIMES=0 -DDOTCOMPRESSED=0 -I../agrep -I../libtemplate/include -O2 -pipe -march=native -frecord-gcc-switches -c -o sgrep.o sgrep.c recursive.c: In function ‘recursive’: recursive.c:67:3: warning: implicit declaration of function ‘strcpy’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 67 | strcpy(name_buf, argv[i]); | ^~~~~~ recursive.c:67:3: warning: incompatible implicit declaration of built-in function ‘strcpy’ recursive.c:37:1: note: include ‘’ or provide a declaration of ‘strcpy’ 36 | #include +++ |+#include 37 | #define BUFSIZE 256 recursive.c:71:15: warning: implicit declaration of function ‘exec’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 71 | if ((ret = exec(3, file_list)) == -1) return -1; | ^~~~ recursive.c:74:5: warning: implicit declaration of function ‘free’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 74 | free(file_list[j]); | ^~~~ recursive.c:74:5: warning: incompatible implicit declaration of built-in function ‘free’ recursive.c:37:1: note: include ‘’ or provide a declaration of ‘free’ 36 | #include +++ |+#include 37 | #define BUFSIZE 256 recursive.c: In function ‘treewalk’: recursive.c:114:5: warning: implicit declaration of function ‘my_lstat’; did you mean ‘lstat’? []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 114 | if(my_lstat(name, &stbuf) == -1) { | ^~~~~~~~ | lstat recursive.c:37:17: warning: ‘malloc’ argument 1 type is ‘int’ where ‘long unsigned int’ is expected in a call to built-in function declared without prototype []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wbuiltin-declaration-mismatch-Wbuiltin-declaration-mismatch]8;;] 37 | #define BUFSIZE 256 | ^~~ recursive.c:124:35: note: in expansion of macro ‘BUFSIZE’ 124 | file_list[fdx] = (char *)malloc(BUFSIZE); | ^~~~~~~ recursive.c:111:15: note: built-in ‘malloc’ declared here 111 | extern void *malloc(); | ^~~~~~ recursive.c:125:3: warning: incompatible implicit declaration of built-in function ‘strcpy’ 125 | strcpy(file_list[fdx++], name); | ^~~~~~ recursive.c:125:3: note: include ‘’ or provide a declaration of ‘strcpy’ recursive.c:130:30: warning: incompatible implicit declaration of built-in function ‘free’ 130 | for(i=0; i’ or provide a declaration of ‘free’ recursive.c: In function ‘directory’: recursive.c:147:15: warning: implicit declaration of function ‘strlen’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 147 | nbp = name + strlen(name); | ^~~~~~ recursive.c:147:15: warning: incompatible implicit declaration of built-in function ‘strlen’ recursive.c:147:15: note: include ‘’ or provide a declaration of ‘strlen’ recursive.c:160:32: warning: implicit declaration of function ‘strcmp’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 160 | if (dp->d_name[0] == '\0' || strcmp(dp->d_name, ".") == 0 || strcmp(dp->d_name, "..")==0) | ^~~~~~ recursive.c:165:3: warning: incompatible implicit declaration of built-in function ‘strcpy’ 165 | strcpy(nbp, dp->d_name); | ^~~~~~ recursive.c:165:3: note: include ‘’ or provide a declaration of ‘strcpy’ x86_64-pc-linux-gnu-gcc -DMEASURE_TIMES=0 -DDOTCOMPRESSED=0 -I../agrep -I../libtemplate/include -O2 -pipe -march=native -frecord-gcc-switches -c -o newmgrep.o newmgrep.c sgrep.c:52:8: warning: type defaults to ‘int’ in declaration of ‘WORDBOUND’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-int-Wimplicit-int]8;;] 52 | extern WORDBOUND, WHOLELINE, NOUPPER; | ^~~~~~~~~ sgrep.c:52:19: warning: type defaults to ‘int’ in declaration of ‘WHOLELINE’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-int-Wimplicit-int]8;;] 52 | extern WORDBOUND, WHOLELINE, NOUPPER; | ^~~~~~~~~ sgrep.c:52:30: warning: type defaults to ‘int’ in declaration of ‘NOUPPER’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-int-Wimplicit-int]8;;] 52 | extern WORDBOUND, WHOLELINE, NOUPPER; | ^~~~~~~ sgrep.c: In function ‘sgrep’: sgrep.c:172:1: warning: type of ‘samepattern’ defaults to ‘int’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-int-Wimplicit-int]8;;] 172 | sgrep(in_pat, in_m, fd, D, samepattern) | ^~~~~ sgrep.c:241:22: warning: implicit declaration of function ‘fill_buf’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 241 | while( (num_read = fill_buf(fd, text+offset, 2*BlockSize)) > 0) | ^~~~~~~~ sgrep.c:294:16: warning: implicit declaration of function ‘monkey’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 294 | if (-1 == monkey(pat, m, text+start, text+end, oldpat, oldm)) { | ^~~~~~ sgrep.c:300:16: warning: implicit declaration of function ‘bm’; did you mean ‘bcmp’? []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 300 | if (-1 == bm(pat, m, text+start, text+end, oldpat, oldm)) { | ^~ | bcmp sgrep.c:308:16: warning: implicit declaration of function ‘monkey4’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 308 | if (-1 == monkey4( pat, m, text+start, text+end, D , oldpat, oldm )) { | ^~~~~~~ sgrep.c:315:17: warning: implicit declaration of function ‘a_monkey’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 315 | if (-1 == a_monkey(pat, m, text+start, text+end, D, oldpat, oldm)) { | ^~~~~~~~ sgrep.c:321:17: warning: implicit declaration of function ‘agrep’; did you mean ‘sgrep’? []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 321 | if (-1 == agrep(pat, m, text+start, text+end, D, oldpat, oldm)) { | ^~~~~ | sgrep sgrep.c: In function ‘bm’: sgrep.c:835:34: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long int’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wformat=-Wformat=]8;;] 835 | fprintf(agrep_finalfp, "@%d{%d} ", CurrentByteOffset - (text -curtextbegin), curtextend-curtextbegin); | ~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | int long int | %ld sgrep.c:835:37: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘long int’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wformat=-Wformat=]8;;] 835 | fprintf(agrep_finalfp, "@%d{%d} ", CurrentByteOffset - (text -curtextbegin), curtextend-curtextbegin); | ~^ ~~~~~~~~~~~~~~~~~~~~~~~ | | | | int long int | %ld sgrep.c:839:22: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long int’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wformat=-Wformat=]8;;] 839 | sprintf(s, "@%d{%d} ", CurrentByteOffset - (text -curtextbegin), curtextend-curtextbegin); | ~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | int long int | %ld sgrep.c:839:25: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘long int’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wformat=-Wformat=]8;;] 839 | sprintf(s, "@%d{%d} ", CurrentByteOffset - (text -curtextbegin), curtextend-curtextbegin); | ~^ ~~~~~~~~~~~~~~~~~~~~~~~ | | | | int long int | %ld sgrep.c: In function ‘agrep’: sgrep.c:1155:16: warning: implicit declaration of function ‘s_output’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 1155 | if (-1 == s_output(text, ¤tpos, textbegin, textend, &lastout, pat, M, oldpat, oldM)) return -1; | ^~~~~~~~ sgrep.c: In function ‘s_output’: sgrep.c:1411:30: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long int’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wformat=-Wformat=]8;;] 1411 | fprintf(agrep_finalfp, "@%d{%d} ", CurrentByteOffset - (text + oldi-curtextbegin), curtextend-curtextbegin); | ~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | int long int | %ld sgrep.c:1411:33: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘long int’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wformat=-Wformat=]8;;] 1411 | fprintf(agrep_finalfp, "@%d{%d} ", CurrentByteOffset - (text + oldi-curtextbegin), curtextend-curtextbegin); | ~^ ~~~~~~~~~~~~~~~~~~~~~~~ | | | | int long int | %ld sgrep.c:1415:18: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long int’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wformat=-Wformat=]8;;] 1415 | sprintf(s, "@%d{%d} ", CurrentByteOffset - (text + oldi-curtextbegin), curtextend-curtextbegin); | ~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | int long int | %ld sgrep.c:1415:21: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘long int’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wformat=-Wformat=]8;;] 1415 | sprintf(s, "@%d{%d} ", CurrentByteOffset - (text + oldi-curtextbegin), curtextend-curtextbegin); | ~^ ~~~~~~~~~~~~~~~~~~~~~~~ | | | | int long int | %ld sgrep.c: In function ‘prep_bm’: sgrep.c:1476:10: warning: type defaults to ‘int’ in declaration of ‘m’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-int-Wimplicit-int]8;;] 1476 | register m; | ^ sgrep.c: In function ‘monkey’: sgrep.c:1692:34: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long int’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wformat=-Wformat=]8;;] 1692 | fprintf(agrep_finalfp, "@%d{%d} ", CurrentByteOffset - (text -curtextbegin), curtextend-curtextbegin); | ~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | int long int | %ld sgrep.c:1692:37: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘long int’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wformat=-Wformat=]8;;] 1692 | fprintf(agrep_finalfp, "@%d{%d} ", CurrentByteOffset - (text -curtextbegin), curtextend-curtextbegin); | ~^ ~~~~~~~~~~~~~~~~~~~~~~~ | | | | int long int | %ld sgrep.c:1696:22: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long int’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wformat=-Wformat=]8;;] 1696 | sprintf(s, "@%d{%d} ", CurrentByteOffset - (text -curtextbegin), curtextend-curtextbegin); | ~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | int long int | %ld sgrep.c:1696:25: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘long int’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wformat=-Wformat=]8;;] 1696 | sprintf(s, "@%d{%d} ", CurrentByteOffset - (text -curtextbegin), curtextend-curtextbegin); | ~^ ~~~~~~~~~~~~~~~~~~~~~~~ | | | | int long int | %ld sgrep.c: In function ‘a_monkey’: sgrep.c:1869:14: warning: implicit declaration of function ‘verify’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 1869 | if((pos = verify(m, 2*m+D, D, pat, oldtext)) > 0) { | ^~~~~~ sgrep.c:1986:35: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long int’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wformat=-Wformat=]8;;] 1986 | fprintf(agrep_finalfp, "@%d{%d} ", CurrentByteOffset - (text -curtextbegin), curtextend-curtextbegin); | ~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | int long int | %ld sgrep.c:1986:38: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘long int’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wformat=-Wformat=]8;;] 1986 | fprintf(agrep_finalfp, "@%d{%d} ", CurrentByteOffset - (text -curtextbegin), curtextend-curtextbegin); | ~^ ~~~~~~~~~~~~~~~~~~~~~~~ | | | | int long int | %ld sgrep.c:1990:23: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long int’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wformat=-Wformat=]8;;] 1990 | sprintf(s, "@%d{%d} ", CurrentByteOffset - (text -curtextbegin), curtextend-curtextbegin); | ~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | int long int | %ld sgrep.c:1990:26: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘long int’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wformat=-Wformat=]8;;] 1990 | sprintf(s, "@%d{%d} ", CurrentByteOffset - (text -curtextbegin), curtextend-curtextbegin); | ~^ ~~~~~~~~~~~~~~~~~~~~~~~ | | | | int long int | %ld sgrep.c: In function ‘monkey4’: sgrep.c:2394:35: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long int’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wformat=-Wformat=]8;;] 2394 | fprintf(agrep_finalfp, "@%d{%d} ", CurrentByteOffset - (text -curtextbegin), curtextend-curtextbegin); | ~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | int long int | %ld sgrep.c:2394:38: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘long int’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wformat=-Wformat=]8;;] 2394 | fprintf(agrep_finalfp, "@%d{%d} ", CurrentByteOffset - (text -curtextbegin), curtextend-curtextbegin); | ~^ ~~~~~~~~~~~~~~~~~~~~~~~ | | | | int long int | %ld sgrep.c:2398:23: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long int’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wformat=-Wformat=]8;;] 2398 | sprintf(s, "@%d{%d} ", CurrentByteOffset - (text -curtextbegin), curtextend-curtextbegin); | ~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | int long int | %ld sgrep.c:2398:26: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘long int’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wformat=-Wformat=]8;;] 2398 | sprintf(s, "@%d{%d} ", CurrentByteOffset - (text -curtextbegin), curtextend-curtextbegin); | ~^ ~~~~~~~~~~~~~~~~~~~~~~~ | | | | int long int | %ld sgrep.c: In function ‘prep4’: sgrep.c:2550:10: warning: implicit declaration of function ‘blog’; did you mean ‘log’? []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 2550 | BSize = blog(4, m); | ^~~~ | log newmgrep.c:52:8: warning: type defaults to ‘int’ in declaration of ‘COUNT’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-int-Wimplicit-int]8;;] 52 | extern COUNT, FNAME, SILENT, FILENAMEONLY, prev_num_of_matched, num_of_matched, PRINTFILETIME; | ^~~~~ newmgrep.c:52:15: warning: type defaults to ‘int’ in declaration of ‘FNAME’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-int-Wimplicit-int]8;;] 52 | extern COUNT, FNAME, SILENT, FILENAMEONLY, prev_num_of_matched, num_of_matched, PRINTFILETIME; | ^~~~~ newmgrep.c:52:22: warning: type defaults to ‘int’ in declaration of ‘SILENT’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-int-Wimplicit-int]8;;] 52 | extern COUNT, FNAME, SILENT, FILENAMEONLY, prev_num_of_matched, num_of_matched, PRINTFILETIME; | ^~~~~~ newmgrep.c:52:30: warning: type defaults to ‘int’ in declaration of ‘FILENAMEONLY’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-int-Wimplicit-int]8;;] 52 | extern COUNT, FNAME, SILENT, FILENAMEONLY, prev_num_of_matched, num_of_matched, PRINTFILETIME; | ^~~~~~~~~~~~ newmgrep.c:52:44: warning: type defaults to ‘int’ in declaration of ‘prev_num_of_matched’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-int-Wimplicit-int]8;;] 52 | extern COUNT, FNAME, SILENT, FILENAMEONLY, prev_num_of_matched, num_of_matched, PRINTFILETIME; | ^~~~~~~~~~~~~~~~~~~ newmgrep.c:52:65: warning: type defaults to ‘int’ in declaration of ‘num_of_matched’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-int-Wimplicit-int]8;;] 52 | rn COUNT, FNAME, SILENT, FILENAMEONLY, prev_num_of_matched, num_of_matched, PRINTFILETIME; | ^~~~~~~~~~~~~~ newmgrep.c:52:81: warning: type defaults to ‘int’ in declaration of ‘PRINTFILETIME’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-int-Wimplicit-int]8;;] 52 | SILENT, FILENAMEONLY, prev_num_of_matched, num_of_matched, PRINTFILETIME; | ^~~~~~~~~~~~~ newmgrep.c:53:8: warning: type defaults to ‘int’ in declaration of ‘INVERSE’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-int-Wimplicit-int]8;;] 53 | extern INVERSE, OUTTAIL; | ^~~~~~~ newmgrep.c:53:17: warning: type defaults to ‘int’ in declaration of ‘OUTTAIL’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-int-Wimplicit-int]8;;] 53 | extern INVERSE, OUTTAIL; | ^~~~~~~ newmgrep.c:54:8: warning: type defaults to ‘int’ in declaration of ‘WORDBOUND’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-int-Wimplicit-int]8;;] 54 | extern WORDBOUND, WHOLELINE, NOUPPER; | ^~~~~~~~~ newmgrep.c:54:19: warning: type defaults to ‘int’ in declaration of ‘WHOLELINE’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-int-Wimplicit-int]8;;] 54 | extern WORDBOUND, WHOLELINE, NOUPPER; | ^~~~~~~~~ newmgrep.c:54:30: warning: type defaults to ‘int’ in declaration of ‘NOUPPER’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-int-Wimplicit-int]8;;] 54 | extern WORDBOUND, WHOLELINE, NOUPPER; | ^~~~~~~ newmgrep.c:59:8: warning: type defaults to ‘int’ in declaration of ‘total_line’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-int-Wimplicit-int]8;;] 59 | extern total_line; | ^~~~~~~~~~ newmgrep.c:60:8: warning: type defaults to ‘int’ in declaration of ‘agrep_initialfd’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-int-Wimplicit-int]8;;] 60 | extern agrep_initialfd; | ^~~~~~~~~~~~~~~ newmgrep.c: In function ‘prepf’: newmgrep.c:195:21: warning: implicit declaration of function ‘fill_buf’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 195 | while((num_read = fill_buf(mfp, buf+length, 2*BlockSize)) > 0) { | ^~~~~~~~ newmgrep.c: In function ‘mgrep’: newmgrep.c:485:27: warning: implicit declaration of function ‘m_short’; did you mean ‘qsort’? []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 485 | if(SHORT) { if (-1 == m_short(text, start, end)) {free_buf(fd, text); return -1;}} | ^~~~~~~ | qsort newmgrep.c:486:27: warning: implicit declaration of function ‘monkey1’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 486 | else { if (-1 == monkey1(text, start, end)) {free_buf(fd, text); return -1;}} | ^~~~~~~ newmgrep.c: In function ‘print_options’: newmgrep.c:845:30: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long int’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wformat=-Wformat=]8;;] 845 | fprintf(agrep_finalfp, "@%d{%d} ", CurrentByteOffset - (text -curtextbegin), curtextend-curtextbegin); | ~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | int long int | %ld newmgrep.c:845:33: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘long int’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wformat=-Wformat=]8;;] 845 | fprintf(agrep_finalfp, "@%d{%d} ", CurrentByteOffset - (text -curtextbegin), curtextend-curtextbegin); | ~^ ~~~~~~~~~~~~~~~~~~~~~~~ | | | | int long int | %ld newmgrep.c:849:18: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long int’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wformat=-Wformat=]8;;] 849 | sprintf(s, "@%d{%d} ", CurrentByteOffset - (text -curtextbegin), curtextend-curtextbegin); | ~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | int long int | %ld newmgrep.c:849:21: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘long int’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wformat=-Wformat=]8;;] 849 | sprintf(s, "@%d{%d} ", CurrentByteOffset - (text -curtextbegin), curtextend-curtextbegin); | ~^ ~~~~~~~~~~~~~~~~~~~~~~~ | | | | int long int | %ld newmgrep.c: In function ‘monkey1’: newmgrep.c:1053:61: warning: implicit declaration of function ‘eval_tree’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 1053 | if (AComplexBoolean && dd(curtextbegin, curtextend) && eval_tree(AParse, amatched_terminals)) { | ^~~~~~~~~ x86_64-pc-linux-gnu-gcc -DMEASURE_TIMES=0 -DDOTCOMPRESSED=0 -I../agrep -I../libtemplate/include -O2 -pipe -march=native -frecord-gcc-switches -c -o utilities.o utilities.c In file included from utilities.c:7: utilities.c: In function ‘Push’: re.h:75:3: warning: implicit declaration of function ‘exit’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 75 | exit(2);\ | ^~~~ utilities.c:21:2: note: in expansion of macro ‘new_node’ 21 | new_node(Stack, node, node); | ^~~~~~~~ re.h:75:3: warning: incompatible implicit declaration of built-in function ‘exit’ 75 | exit(2);\ | ^~~~ utilities.c:21:2: note: in expansion of macro ‘new_node’ 21 | new_node(Stack, node, node); | ^~~~~~~~ utilities.c:8:1: note: include ‘’ or provide a declaration of ‘exit’ 7 | #include "re.h" +++ |+#include 8 | In file included from utilities.c:7: re.h:77:2: warning: implicit declaration of function ‘memset’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 77 | memset((l), '\0', sizeof(*(x)));\ | ^~~~~~ utilities.c:21:2: note: in expansion of macro ‘new_node’ 21 | new_node(Stack, node, node); | ^~~~~~~~ re.h:77:2: warning: incompatible implicit declaration of built-in function ‘memset’ 77 | memset((l), '\0', sizeof(*(x)));\ | ^~~~~~ utilities.c:21:2: note: in expansion of macro ‘new_node’ 21 | new_node(Stack, node, node); | ^~~~~~~~ utilities.c:8:1: note: include ‘’ or provide a declaration of ‘memset’ 7 | #include "re.h" +++ |+#include 8 | utilities.c: In function ‘Pop’: utilities.c:42:3: warning: implicit declaration of function ‘free’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 42 | free(temp); | ^~~~ utilities.c:42:3: warning: incompatible implicit declaration of built-in function ‘free’ utilities.c:42:3: note: include ‘’ or provide a declaration of ‘free’ In file included from utilities.c:7: utilities.c: In function ‘pset_union’: re.h:75:3: warning: incompatible implicit declaration of built-in function ‘exit’ 75 | exit(2);\ | ^~~~ utilities.c:89:3: note: in expansion of macro ‘new_node’ 89 | new_node(Pset, new, new); | ^~~~~~~~ re.h:75:3: note: include ‘’ or provide a declaration of ‘exit’ 75 | exit(2);\ | ^~~~ utilities.c:89:3: note: in expansion of macro ‘new_node’ 89 | new_node(Pset, new, new); | ^~~~~~~~ re.h:77:2: warning: incompatible implicit declaration of built-in function ‘memset’ 77 | memset((l), '\0', sizeof(*(x)));\ | ^~~~~~ utilities.c:89:3: note: in expansion of macro ‘new_node’ 89 | new_node(Pset, new, new); | ^~~~~~~~ re.h:77:2: note: include ‘’ or provide a declaration of ‘memset’ 77 | memset((l), '\0', sizeof(*(x)));\ | ^~~~~~ utilities.c:89:3: note: in expansion of macro ‘new_node’ 89 | new_node(Pset, new, new); | ^~~~~~~~ re.h:75:3: warning: incompatible implicit declaration of built-in function ‘exit’ 75 | exit(2);\ | ^~~~ utilities.c:102:4: note: in expansion of macro ‘new_node’ 102 | new_node(Pset, new, new); | ^~~~~~~~ re.h:75:3: note: include ‘’ or provide a declaration of ‘exit’ 75 | exit(2);\ | ^~~~ utilities.c:102:4: note: in expansion of macro ‘new_node’ 102 | new_node(Pset, new, new); | ^~~~~~~~ re.h:77:2: warning: incompatible implicit declaration of built-in function ‘memset’ 77 | memset((l), '\0', sizeof(*(x)));\ | ^~~~~~ utilities.c:102:4: note: in expansion of macro ‘new_node’ 102 | new_node(Pset, new, new); | ^~~~~~~~ re.h:77:2: note: include ‘’ or provide a declaration of ‘memset’ 77 | memset((l), '\0', sizeof(*(x)));\ | ^~~~~~ utilities.c:102:4: note: in expansion of macro ‘new_node’ 102 | new_node(Pset, new, new); | ^~~~~~~~ utilities.c: In function ‘create_pos’: re.h:75:3: warning: incompatible implicit declaration of built-in function ‘exit’ 75 | exit(2);\ | ^~~~ utilities.c:124:2: note: in expansion of macro ‘new_node’ 124 | new_node(Pset, x, x); | ^~~~~~~~ re.h:75:3: note: include ‘’ or provide a declaration of ‘exit’ 75 | exit(2);\ | ^~~~ utilities.c:124:2: note: in expansion of macro ‘new_node’ 124 | new_node(Pset, x, x); | ^~~~~~~~ re.h:77:2: warning: incompatible implicit declaration of built-in function ‘memset’ 77 | memset((l), '\0', sizeof(*(x)));\ | ^~~~~~ utilities.c:124:2: note: in expansion of macro ‘new_node’ 124 | new_node(Pset, x, x); | ^~~~~~~~ re.h:77:2: note: include ‘’ or provide a declaration of ‘memset’ 77 | memset((l), '\0', sizeof(*(x)));\ | ^~~~~~ utilities.c:124:2: note: in expansion of macro ‘new_node’ 124 | new_node(Pset, x, x); | ^~~~~~~~ utilities.c: In function ‘word_exists’: utilities.c:168:9: warning: implicit declaration of function ‘strncmp’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 168 | if (!strncmp(line, word, wordlen)) { | ^~~~~~~ utilities.c:168:29: warning: ‘strncmp’ argument 3 type is ‘int’ where ‘long unsigned int’ is expected in a call to built-in function declared without prototype []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wbuiltin-declaration-mismatch-Wbuiltin-declaration-mismatch]8;;] 168 | if (!strncmp(line, word, wordlen)) { | ^~~~~~~ : note: built-in ‘strncmp’ declared here x86_64-pc-linux-gnu-gcc -DMEASURE_TIMES=0 -DDOTCOMPRESSED=0 -I../agrep -I../libtemplate/include -O2 -pipe -march=native -frecord-gcc-switches -c -o dummyfilters.o dummyfilters.c x86_64-pc-linux-gnu-gcc -DMEASURE_TIMES=0 -DDOTCOMPRESSED=0 -I../agrep -I../libtemplate/include -O2 -pipe -march=native -frecord-gcc-switches -c -o main.o main.c In file included from main.c:15: dummysyscalls.c: In function ‘my_lstat’: dummysyscalls.c:25:9: warning: implicit declaration of function ‘lstat’; did you mean ‘my_lstat’? []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 25 | return lstat(name, buf); | ^~~~~ | my_lstat dummysyscalls.c: In function ‘my_stat’: dummysyscalls.c:33:9: warning: implicit declaration of function ‘stat’; did you mean ‘strcat’? []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 33 | return stat(name, buf); | ^~~~ | strcat main.c: In function ‘main’: main.c:29:8: warning: implicit declaration of function ‘fileagrep’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 29 | ret = fileagrep(argc, argv, 0, stdout); | ^~~~~~~~~ ar rcv ../lib/libagrep.a follow.o asearch.o asearch1.o agrep.o bitap.o checkfile.o compat.o maskgen.o parse.o checksg.o preprocess.o delim.o asplit.o recursive.o sgrep.o newmgrep.o utilities.o dummyfilters.o make[1]: ar: No such file or directory make[1]: *** [Makefile:113: ../lib/libagrep.a] Error 127 make[1]: Leaving directory '/var/tmp/portage/app-misc/glimpse-4.18.6-r1/work/glimpse-4.18.6/agrep' make[1]: Entering directory '/var/tmp/portage/app-misc/glimpse-4.18.6-r1/work/glimpse-4.18.6/libtemplate' Making all in util make[2]: Entering directory '/var/tmp/portage/app-misc/glimpse-4.18.6-r1/work/glimpse-4.18.6/libtemplate/util' x86_64-pc-linux-gnu-gcc -I../include -O2 -pipe -march=native -frecord-gcc-switches -c -o buffer.o buffer.c x86_64-pc-linux-gnu-gcc -I../include -O2 -pipe -march=native -frecord-gcc-switches -c -o host.o host.c x86_64-pc-linux-gnu-gcc -I../include -O2 -pipe -march=native -frecord-gcc-switches -c -o log.o log.c x86_64-pc-linux-gnu-gcc -I../include -O2 -pipe -march=native -frecord-gcc-switches -c -o strdup.o strdup.c x86_64-pc-linux-gnu-gcc -I../include -O2 -pipe -march=native -frecord-gcc-switches -c -o system.o system.c log.c: In function ‘fatal’: log.c:171:3: warning: implicit declaration of function ‘exit’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 171 | exit(1); | ^~~~ log.c:171:3: warning: incompatible implicit declaration of built-in function ‘exit’ log.c:60:1: note: include ‘’ or provide a declaration of ‘exit’ 59 | #include "util.h" +++ |+#include 60 | log.c:176:3: warning: incompatible implicit declaration of built-in function ‘exit’ 176 | exit(1); | ^~~~ log.c:176:3: note: include ‘’ or provide a declaration of ‘exit’ log.c:185:2: warning: incompatible implicit declaration of built-in function ‘exit’ 185 | exit(1); | ^~~~ log.c:185:2: note: include ‘’ or provide a declaration of ‘exit’ x86_64-pc-linux-gnu-gcc -I../include -O2 -pipe -march=native -frecord-gcc-switches -c -o strerror.o strerror.c x86_64-pc-linux-gnu-gcc -I../include -O2 -pipe -march=native -frecord-gcc-switches -c -o string.o string.c system.c: In function ‘run_cmd’: system.c:105:3: warning: implicit declaration of function ‘memset’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 105 | memset(argv, '\0', sizeof(char *) * 64); | ^~~~~~ system.c:105:3: warning: incompatible implicit declaration of built-in function ‘memset’ system.c:58:1: note: include ‘’ or provide a declaration of ‘memset’ 57 | #include "util.h" +++ |+#include 58 | #ifdef HAVE_SETRLIMIT system.c:120:31: warning: cast from pointer to integer of different size []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-to-int-cast-Wpointer-to-int-cast]8;;] 120 | (void) waitpid(pid, &status, (int) NULL); | ^ system.c: In function ‘do_system_lifetime’: system.c:175:41: warning: cast from pointer to integer of different size []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-to-int-cast-Wpointer-to-int-cast]8;;] 175 | (void) waitpid(dsl_pid, (int *) NULL, (int) NULL); | ^ system.c:183:3: warning: incompatible implicit declaration of built-in function ‘memset’ 183 | memset(argv, '\0', sizeof(char *) * 64); | ^~~~~~ system.c:183:3: note: include ‘’ or provide a declaration of ‘memset’ x86_64-pc-linux-gnu-gcc -I../include -O2 -pipe -march=native -frecord-gcc-switches -c -o xmalloc.o xmalloc.c ar r libutil.a buffer.o host.o log.o strdup.o system.o strerror.o string.o xmalloc.o make[2]: ar: No such file or directory make[2]: *** [Makefile:53: libutil.a] Error 127 make[2]: Leaving directory '/var/tmp/portage/app-misc/glimpse-4.18.6-r1/work/glimpse-4.18.6/libtemplate/util' Making all in template make[2]: Entering directory '/var/tmp/portage/app-misc/glimpse-4.18.6-r1/work/glimpse-4.18.6/libtemplate/template' x86_64-pc-linux-gnu-gcc -I../include -O2 -pipe -march=native -frecord-gcc-switches -c -o template.o template.c ar r libtemplate.a template.o make[2]: ar: No such file or directory make[2]: *** [Makefile:64: libtemplate.a] Error 127 make[2]: Leaving directory '/var/tmp/portage/app-misc/glimpse-4.18.6-r1/work/glimpse-4.18.6/libtemplate/template' Making all in lib make[2]: Entering directory '/var/tmp/portage/app-misc/glimpse-4.18.6-r1/work/glimpse-4.18.6/libtemplate/lib' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/var/tmp/portage/app-misc/glimpse-4.18.6-r1/work/glimpse-4.18.6/libtemplate/lib' make[1]: Leaving directory '/var/tmp/portage/app-misc/glimpse-4.18.6-r1/work/glimpse-4.18.6/libtemplate' make[1]: Entering directory '/var/tmp/portage/app-misc/glimpse-4.18.6-r1/work/glimpse-4.18.6/index' rm -f buildcast.c x86_64-pc-linux-gnu-gcc -c -I../index -I../agrep -I../libtemplate/include -O2 -pipe -march=native -frecord-gcc-switches region.c x86_64-pc-linux-gnu-gcc -c -I../index -I../agrep -I../libtemplate/include -O2 -pipe -march=native -frecord-gcc-switches dir.c cp glimpse.c buildcast.c x86_64-pc-linux-gnu-gcc -c -I../index -I../agrep -I../libtemplate/include -O2 -pipe -march=native -frecord-gcc-switches io.c x86_64-pc-linux-gnu-gcc -c -I../index -I../agrep -I../libtemplate/include -O2 -pipe -march=native -frecord-gcc-switches -DBUILDCAST=1 -o buildcast.o buildcast.c x86_64-pc-linux-gnu-gcc -c -I../index -I../agrep -I../libtemplate/include -O2 -pipe -march=native -frecord-gcc-switches build_in.c In file included from io.c:12: utils.c:449:1: warning: return type defaults to ‘int’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-int-Wimplicit-int]8;;] 449 | hashNk(name, len) | ^~~~~~ io.c:48:1: warning: return type defaults to ‘int’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-int-Wimplicit-int]8;;] 48 | get_array_of_lines(inputfile, table, max_entry, overflow_ok) | ^~~~~~~~~~~~~~~~~~ io.c:169:1: warning: return type defaults to ‘int’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-int-Wimplicit-int]8;;] 169 | get_index_type(s, dashn, num, attr, delim) | ^~~~~~~~~~~~~~ io.c:188:1: warning: return type defaults to ‘int’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-int-Wimplicit-int]8;;] 188 | get_block_numbers(srcbuf, destbuf, partfp) | ^~~~~~~~~~~~~~~~~ io.c:369:1: warning: return type defaults to ‘int’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-int-Wimplicit-int]8;;] 369 | read_filters(index_dir, dofilter) | ^~~~~~~~~~~~ io.c: In function ‘read_filters’: dir.c:117:1: warning: return type defaults to ‘int’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-int-Wimplicit-int]8;;] 117 | fsize(name, pat, pat_len, num_pat, inc, inc_len, num_inc, toplevel) | ^~~~~ io.c:387:20: warning: ‘return’ with no value, in function returning non-void 387 | if (!dofilter) return; | ^~~~~~ io.c:369:1: note: declared here 369 | read_filters(index_dir, dofilter) | ^~~~~~~~~~~~ buildcast.c:89:8: warning: type defaults to ‘int’ in declaration of ‘set_usemalloc’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-int-Wimplicit-int]8;;] 89 | extern set_usemalloc(); /* compress/misc.c */ | ^~~~~~~~~~~~~ buildcast.c:98:1: warning: return type defaults to ‘int’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-int-Wimplicit-int]8;;] 98 | cross_boundary(oldnum, newnum) | ^~~~~~~~~~~~~~ dir.c: In function ‘fsize’: dir.c:153:71: warning: implicit declaration of function ‘get_filename_index’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 153 | xableFile && !DeleteFromIndex && FastIndex && ((fileindex = get_filename_index(name, name_list, file_num)) != -1) && (disable_list[block2index(fileindex)] & mask_int[fileindex % (8*sizeof(int))])) { | ^~~~~~~~~~~~~~~~~~ io.c: At top level: buildcast.c:111:1: warning: return type defaults to ‘int’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-int-Wimplicit-int]8;;] 111 | determine_sync() | ^~~~~~~~~~~~~~ io.c:449:1: warning: return type defaults to ‘int’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-int-Wimplicit-int]8;;] 449 | apply_filter(inname, outname) | ^~~~~~~~~~~~ buildcast.c:158:1: warning: return type defaults to ‘int’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-int-Wimplicit-int]8;;] 158 | main(argc, argv) | ^~~~ dir.c:170:4: warning: implicit declaration of function ‘remove_filename’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 170 | remove_filename(fileindex, new_partition);\ | ^~~~~~~~~~~~~~~ dir.c:268:3: note: in expansion of macro ‘PROCESS_EXIT’ 268 | PROCESS_EXIT; | ^~~~~~~~~~~~ buildcast.c: In function ‘main’: buildcast.c:193:5: warning: implicit declaration of function ‘build_filename_hashtable’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 193 | build_filename_hashtable((char *)NULL, 0); | ^~~~~~~~~~~~~~~~~~~~~~~~ dir.c:222:9: warning: implicit declaration of function ‘memagrep_search’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 222 | (memagrep_search(-inc_len[i], inc[i], len_current_dir_buf, current_dir_buf, 0, dummyout) > 0))\ | ^~~~~~~~~~~~~~~ dir.c:280:3: note: in expansion of macro ‘PROCESS_INCLUDE’ 280 | PROCESS_INCLUDE; | ^~~~~~~~~~~~~~~ buildcast.c:201:13: warning: implicit declaration of function ‘usage’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 201 | return usage(1); | ^~~~~ io.c: In function ‘apply_filter’: io.c:526:9: warning: implicit declaration of function ‘memagrep_search’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 526 | (memagrep_search(-filter_len[i], filter[i], name_len + 2, name, 0, dummyout) > 0)) { | ^~~~~~~~~~~~~~~ io.c: At top level: io.c:566:1: warning: return type defaults to ‘int’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-int-Wimplicit-int]8;;] 566 | static_stop_list(word) | ^~~~~~~~~~~~~~~~ io.c:662:1: warning: return type defaults to ‘int’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-int-Wimplicit-int]8;;] 662 | my_free(ptr, size) | ^~~~~~~ io.c:709:1: warning: return type defaults to ‘int’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-int-Wimplicit-int]8;;] 709 | tokenallfree() | ^~~~~~~~~~~~ io.c:714:1: warning: return type defaults to ‘int’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-int-Wimplicit-int]8;;] 714 | tokenfree(e, len) | ^~~~~~~~~ io.c:736:1: warning: return type defaults to ‘int’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-int-Wimplicit-int]8;;] 736 | indicesallfree() | ^~~~~~~~~~~~~~ io.c:741:1: warning: return type defaults to ‘int’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-int-Wimplicit-int]8;;] 741 | indicesfree(e, len) | ^~~~~~~~~~~ dir.c:332:13: warning: implicit declaration of function ‘fsize_directory’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 332 | if (-1 == fsize_directory(name, pat, pat_len, num_pat, inc, inc_len, num_inc)) return -1; | ^~~~~~~~~~~~~~~ io.c:764:1: warning: return type defaults to ‘int’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-int-Wimplicit-int]8;;] 764 | wordallfree() | ^~~~~~~~~~~ buildcast.c:536:2: warning: implicit declaration of function ‘partition’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 536 | partition(argc, argv); | ^~~~~~~~~ io.c:769:1: warning: return type defaults to ‘int’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-int-Wimplicit-int]8;;] 769 | wordfree(s, len) | ^~~~~~~~ dir.c:336:8: warning: implicit declaration of function ‘filetype’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 336 | if (!filetype(name, IndexEverything?2:1, NULL, NULL)) printf("%s\n", name); | ^~~~~~~~ buildcast.c:573:5: warning: implicit declaration of function ‘read_filters’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 573 | read_filters(INDEX_DIR, UseFilters); | ^~~~~~~~~~~~ io.c:1049:1: warning: return type defaults to ‘int’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-int-Wimplicit-int]8;;] 1049 | dump_mini(indexfile) | ^~~~~~~~~ dir.c:353:14: warning: implicit declaration of function ‘tuncompress_file’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 353 | if (tuncompress_file(name, outname, TC_EASYSEARCH | TC_OVERWRITE | TC_NOPROMPT) <= 0) return 0; | ^~~~~~~~~~~~~~~~ buildcast.c:585:5: warning: implicit declaration of function ‘initialize_tuncompress’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 585 | initialize_tuncompress(string_file, freq_file, 0); | ^~~~~~~~~~~~~~~~~~~~~~ buildcast.c:626:5: warning: implicit declaration of function ‘set_indexable_char’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 626 | set_indexable_char(indexable_char); | ^~~~~~~~~~~~~~~~~~ dir.c:393:8: warning: implicit declaration of function ‘change_filename’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 393 | change_filename(name, name_len, fileindex, t1); | ^~~~~~~~~~~~~~~ io.c:1236:1: warning: return type defaults to ‘int’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-int-Wimplicit-int]8;;] 1236 | initialize_data_structures(files) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ io.c:1261:1: warning: return type defaults to ‘int’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-int-Wimplicit-int]8;;] 1261 | destroy_data_structures() | ^~~~~~~~~~~~~~~~~~~~~~~ dir.c:427:7: warning: implicit declaration of function ‘insert_filename’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 427 | insert_filename(LIST_GET(name_list, file_num), file_num); | ^~~~~~~~~~~~~~~ buildcast.c:745:5: warning: implicit declaration of function ‘initialize_data_structures’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 745 | initialize_data_structures(file_num); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ dir.c: At top level: dir.c:492:1: warning: return type defaults to ‘int’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-int-Wimplicit-int]8;;] 492 | fsize_directory(name, pat, pat_len, num_pat, inc, inc_len, num_inc) | ^~~~~~~~~~~~~~~ buildcast.c:747:5: warning: implicit declaration of function ‘build_index’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 747 | build_index(); | ^~~~~~~~~~~ io.c:1463:1: warning: return type defaults to ‘int’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-int-Wimplicit-int]8;;] 1463 | insert_filename(name, name_index) | ^~~~~~~~~~~~~~~ io.c: In function ‘insert_filename’: io.c:1474:20: warning: ‘return’ with no value, in function returning non-void 1474 | if (name == NULL) return; | ^~~~~~ buildcast.c:749:5: warning: implicit declaration of function ‘cleanup’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 749 | cleanup(); | ^~~~~~~ io.c:1463:1: note: declared here 1463 | insert_filename(name, name_index) | ^~~~~~~~~~~~~~~ io.c:1476:57: warning: ‘return’ with no value, in function returning non-void 1476 | if (special_parse_name(name, len, &begin, &end) == -1) return; | ^~~~~~ buildcast.c:750:5: warning: implicit declaration of function ‘save_data_structures’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 750 | save_data_structures(); | ^~~~~~~~~~~~~~~~~~~~ io.c:1463:1: note: declared here 1463 | insert_filename(name, name_index) | ^~~~~~~~~~~~~~~ buildcast.c:751:5: warning: implicit declaration of function ‘destroy_filename_hashtable’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 751 | destroy_filename_hashtable(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ io.c:1479:3: warning: ‘return’ with no value, in function returning non-void 1479 | return; | ^~~~~~ io.c:1463:1: note: declared here 1463 | insert_filename(name, name_index) | ^~~~~~~~~~~~~~~ buildcast.c:752:5: warning: implicit declaration of function ‘uninitialize_common’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 752 | uninitialize_common(); | ^~~~~~~~~~~~~~~~~~~ io.c:1496:21: warning: ‘return’ with no value, in function returning non-void 1496 | if ((*pe) != NULL) return; | ^~~~~~ buildcast.c:753:5: warning: implicit declaration of function ‘uninitialize_tcompress’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 753 | uninitialize_tcompress(); | ^~~~~~~~~~~~~~~~~~~~~~ io.c:1463:1: note: declared here 1463 | insert_filename(name, name_index) | ^~~~~~~~~~~~~~~ io.c: At top level: buildcast.c:754:5: warning: implicit declaration of function ‘uninitialize_tuncompress’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 754 | uninitialize_tuncompress(); | ^~~~~~~~~~~~~~~~~~~~~~~~ io.c:1515:1: warning: return type defaults to ‘int’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-int-Wimplicit-int]8;;] 1515 | change_filename(name, len, index, newname) | ^~~~~~~~~~~~~~~ io.c: In function ‘change_filename’: io.c:1525:47: warning: ‘return’ with no value, in function returning non-void 1525 | if (special_get_name(name, len, temp) == -1) return; | ^~~~~~ buildcast.c:755:5: warning: implicit declaration of function ‘compute_dictionary’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 755 | compute_dictionary(threshold, DISKBLOCKSIZE, specialwords, INDEX_DIR); | ^~~~~~~~~~~~~~~~~~ io.c:1515:1: note: declared here 1515 | change_filename(name, len, index, newname) | ^~~~~~~~~~~~~~~ io.c:1529:21: warning: ‘return’ with no value, in function returning non-void 1529 | if ((*pe) == NULL) return; | ^~~~~~ buildcast.c:759:7: warning: implicit declaration of function ‘initialize_tcompress’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 759 | if (!initialize_tcompress(hash_file, freq_file, TC_ERRORMSGS)) goto docleanup; | ^~~~~~~~~~~~~~~~~~~~ io.c:1515:1: note: declared here 1515 | change_filename(name, len, index, newname) | ^~~~~~~~~~~~~~~ io.c:1534:2: warning: ‘return’ with no value, in function returning non-void 1534 | return; | ^~~~~~ io.c:1515:1: note: declared here 1515 | change_filename(name, len, index, newname) | ^~~~~~~~~~~~~~~ buildcast.c:765:6: warning: implicit declaration of function ‘tcompress_file’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 765 | tcompress_file(name, outname, TC_REMOVE | TC_EASYSEARCH | TC_OVERWRITE | TC_NOPROMPT); | ^~~~~~~~~~~~~~ io.c: At top level: io.c:1537:1: warning: return type defaults to ‘int’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-int-Wimplicit-int]8;;] 1537 | delete_filename(name, name_index) | ^~~~~~~~~~~~~~~ io.c: In function ‘delete_filename’: buildcast.c: At top level: io.c:1548:20: warning: ‘return’ with no value, in function returning non-void 1548 | if (name == NULL) return; | ^~~~~~ buildcast.c:1063:1: warning: return type defaults to ‘int’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-int-Wimplicit-int]8;;] 1063 | cleanup() | ^~~~~~~ io.c:1537:1: note: declared here 1537 | delete_filename(name, name_index) | ^~~~~~~~~~~~~~~ buildcast.c:1125:1: warning: return type defaults to ‘int’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-int-Wimplicit-int]8;;] 1125 | usage(flag) | ^~~~~ io.c:1550:57: warning: ‘return’ with no value, in function returning non-void 1550 | if (special_parse_name(name, len, &begin, &end) == -1) return; | ^~~~~~ io.c:1537:1: note: declared here 1537 | delete_filename(name, name_index) | ^~~~~~~~~~~~~~~ buildcast.c: In function ‘determine_sync’: buildcast.c:120:2: warning: ignoring return value of ‘system’ declared with attribute ‘warn_unused_result’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-result-Wunused-result]8;;] 120 | system(S); | ^~~~~~~~~ io.c:1553:3: warning: ‘return’ with no value, in function returning non-void 1553 | return; | ^~~~~~ io.c:1537:1: note: declared here 1537 | delete_filename(name, name_index) | ^~~~~~~~~~~~~~~ io.c:1570:21: warning: ‘return’ with no value, in function returning non-void 1570 | if ((*pe) == NULL) return; | ^~~~~~ io.c:1537:1: note: declared here 1537 | delete_filename(name, name_index) | ^~~~~~~~~~~~~~~ io.c:1577:2: warning: ‘return’ with no value, in function returning non-void 1577 | return; | ^~~~~~ io.c:1537:1: note: declared here 1537 | delete_filename(name, name_index) | ^~~~~~~~~~~~~~~ io.c: At top level: buildcast.c: In function ‘main’: buildcast.c:464:2: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-result-Wunused-result]8;;] 464 | fgets(buffer, 1024, filefp); /* skip over num. of file names */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ buildcast.c:521:6: warning: ignoring return value of ‘getcwd’ declared with attribute ‘warn_unused_result’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-result-Wunused-result]8;;] 521 | getcwd(INDEX_DIR, MAX_LINE_LEN-1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ buildcast.c:526:5: warning: ignoring return value of ‘getcwd’ declared with attribute ‘warn_unused_result’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-result-Wunused-result]8;;] 526 | getcwd(working_dir, MAX_LINE_LEN - 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ buildcast.c:531:5: warning: ignoring return value of ‘getcwd’ declared with attribute ‘warn_unused_result’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-result-Wunused-result]8;;] 531 | getcwd(INDEX_DIR, MAX_LINE_LEN - 1); /* must be absolute path name */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ buildcast.c:532:5: warning: ignoring return value of ‘chdir’ declared with attribute ‘warn_unused_result’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-result-Wunused-result]8;;] 532 | chdir(working_dir); /* get back to where you were */ | ^~~~~~~~~~~~~~~~~~ buildcast.c:649:2: warning: ignoring return value of ‘system’ declared with attribute ‘warn_unused_result’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-result-Wunused-result]8;;] 649 | system(s); | ^~~~~~~~~ buildcast.c:657:2: warning: ignoring return value of ‘system’ declared with attribute ‘warn_unused_result’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-result-Wunused-result]8;;] 657 | system(s); | ^~~~~~~~~ io.c:1580:1: warning: return type defaults to ‘int’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-int-Wimplicit-int]8;;] 1580 | init_filename_hashtable() | ^~~~~~~~~~~~~~~~~~~~~~~ buildcast.c:665:2: warning: ignoring return value of ‘system’ declared with attribute ‘warn_unused_result’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-result-Wunused-result]8;;] 665 | system(s); | ^~~~~~~~~ buildcast.c:673:2: warning: ignoring return value of ‘system’ declared with attribute ‘warn_unused_result’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-result-Wunused-result]8;;] 673 | system(s); | ^~~~~~~~~ buildcast.c:681:2: warning: ignoring return value of ‘system’ declared with attribute ‘warn_unused_result’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-result-Wunused-result]8;;] 681 | system(s); | ^~~~~~~~~ buildcast.c:689:2: warning: ignoring return value of ‘system’ declared with attribute ‘warn_unused_result’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-result-Wunused-result]8;;] 689 | system(s); | ^~~~~~~~~ buildcast.c:697:2: warning: ignoring return value of ‘system’ declared with attribute ‘warn_unused_result’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-result-Wunused-result]8;;] 697 | system(s); | ^~~~~~~~~ buildcast.c:705:2: warning: ignoring return value of ‘system’ declared with attribute ‘warn_unused_result’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-result-Wunused-result]8;;] 705 | system(s); | ^~~~~~~~~ buildcast.c:716:6: warning: ignoring return value of ‘system’ declared with attribute ‘warn_unused_result’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-result-Wunused-result]8;;] 716 | system(s); | ^~~~~~~~~ buildcast.c:731:2: warning: ignoring return value of ‘system’ declared with attribute ‘warn_unused_result’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-result-Wunused-result]8;;] 731 | system(s); | ^~~~~~~~~ buildcast.c:733:2: warning: ignoring return value of ‘system’ declared with attribute ‘warn_unused_result’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-result-Wunused-result]8;;] 733 | system(s); | ^~~~~~~~~ buildcast.c:735:2: warning: ignoring return value of ‘system’ declared with attribute ‘warn_unused_result’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-result-Wunused-result]8;;] 735 | system(s); | ^~~~~~~~~ buildcast.c:737:2: warning: ignoring return value of ‘system’ declared with attribute ‘warn_unused_result’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-result-Wunused-result]8;;] 737 | system(s); | ^~~~~~~~~ buildcast.c:739:2: warning: ignoring return value of ‘system’ declared with attribute ‘warn_unused_result’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-result-Wunused-result]8;;] 739 | system(s); | ^~~~~~~~~ io.c:1587:1: warning: return type defaults to ‘int’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-int-Wimplicit-int]8;;] 1587 | build_filename_hashtable(names, num) | ^~~~~~~~~~~~~~~~~~~~~~~~ buildcast.c:804:2: warning: ignoring return value of ‘system’ declared with attribute ‘warn_unused_result’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-result-Wunused-result]8;;] 804 | system(s); | ^~~~~~~~~ buildcast.c:806:2: warning: ignoring return value of ‘system’ declared with attribute ‘warn_unused_result’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-result-Wunused-result]8;;] 806 | system(s); | ^~~~~~~~~ buildcast.c:808:2: warning: ignoring return value of ‘system’ declared with attribute ‘warn_unused_result’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-result-Wunused-result]8;;] 808 | system(s); | ^~~~~~~~~ buildcast.c:810:2: warning: ignoring return value of ‘system’ declared with attribute ‘warn_unused_result’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-result-Wunused-result]8;;] 810 | system(s); | ^~~~~~~~~ buildcast.c:812:2: warning: ignoring return value of ‘system’ declared with attribute ‘warn_unused_result’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-result-Wunused-result]8;;] 812 | system(s); | ^~~~~~~~~ buildcast.c:814:2: warning: ignoring return value of ‘system’ declared with attribute ‘warn_unused_result’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-result-Wunused-result]8;;] 814 | system(s); | ^~~~~~~~~ buildcast.c:816:2: warning: ignoring return value of ‘system’ declared with attribute ‘warn_unused_result’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-result-Wunused-result]8;;] 816 | system(s); | ^~~~~~~~~ buildcast.c:818:2: warning: ignoring return value of ‘system’ declared with attribute ‘warn_unused_result’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-result-Wunused-result]8;;] 818 | system(s); | ^~~~~~~~~ io.c:1598:1: warning: return type defaults to ‘int’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-int-Wimplicit-int]8;;] 1598 | destroy_filename_hashtable() | ^~~~~~~~~~~~~~~~~~~~~~~~~~ buildcast.c:820:2: warning: ignoring return value of ‘system’ declared with attribute ‘warn_unused_result’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-result-Wunused-result]8;;] 820 | system(s); | ^~~~~~~~~ io.c: In function ‘get_array_of_lines’: io.c:66:2: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-result-Wunused-result]8;;] 66 | fgets(buffer, MAX_NAME_BUF, file_in); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ io.c: In function ‘get_index_type’: io.c:180:2: warning: ignoring return value of ‘fscanf’ declared with attribute ‘warn_unused_result’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-result-Wunused-result]8;;] 180 | fscanf(fp, "%s\n%%%d\n%%%d%s\n", buf, num, attr, delim); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ io.c: In function ‘dump_mini’: io.c:1081:2: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-result-Wunused-result]8;;] 1081 | fgets(indexnumber, 256, indexfp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ io.c:1082:2: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-result-Wunused-result]8;;] 1082 | fgets(onefileperblock, 256, indexfp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ io.c:1084:3: warning: ignoring return value of ‘fscanf’ declared with attribute ‘warn_unused_result’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-result-Wunused-result]8;;] 1084 | fscanf(indexfp, "%%%d\n", &attr_num); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ io.c:1111:2: warning: ignoring return value of ‘system’ declared with attribute ‘warn_unused_result’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-result-Wunused-result]8;;] 1111 | system(s); | ^~~~~~~~~ io.c:1131:2: warning: ignoring return value of ‘system’ declared with attribute ‘warn_unused_result’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-result-Wunused-result]8;;] 1131 | system(s); | ^~~~~~~~~ io.c:1133:2: warning: ignoring return value of ‘system’ declared with attribute ‘warn_unused_result’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-result-Wunused-result]8;;] 1133 | system(sync_path); /* sync() has a BUG */ | ^~~~~~~~~~~~~~~~~ io.c:1211:2: warning: ignoring return value of ‘system’ declared with attribute ‘warn_unused_result’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-result-Wunused-result]8;;] 1211 | system(s); | ^~~~~~~~~ io.c:1218:2: warning: ignoring return value of ‘system’ declared with attribute ‘warn_unused_result’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-result-Wunused-result]8;;] 1218 | system(s); | ^~~~~~~~~ io.c:1220:2: warning: ignoring return value of ‘system’ declared with attribute ‘warn_unused_result’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-result-Wunused-result]8;;] 1220 | system(sync_path); /* sync() has a BUG */ | ^~~~~~~~~~~~~~~~~ io.c: In function ‘get_file_time’: io.c:1631:3: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-result-Wunused-result]8;;] 1631 | fread(array, sizeof(long), 1, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ build_in.c:128:1: warning: return type defaults to ‘int’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-int-Wimplicit-int]8;;] 128 | build_index() | ^~~~~~~~~~~ build_in.c: In function ‘build_index’: build_in.c:143:9: warning: implicit declaration of function ‘build_hash’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 143 | build_hash(); | ^~~~~~~~~~ build_in.c:145:9: warning: ‘return’ with no value, in function returning non-void 145 | return; | ^~~~~~ build_in.c:128:1: note: declared here 128 | build_index() | ^~~~~~~~~~~ build_in.c: At top level: build_in.c:157:1: warning: return type defaults to ‘int’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-int-Wimplicit-int]8;;] 157 | traverse() | ^~~~~~~~ build_in.c: In function ‘traverse’: build_in.c:215:19: warning: implicit declaration of function ‘encode16b’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 215 | attribute = encode16b(tp->attribute); | ^~~~~~~~~ build_in.c:350:16: warning: implicit declaration of function ‘encode8b’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 350 | temp = encode8b(0); | ^~~~~~~~ build_in.c:379:13: warning: implicit declaration of function ‘encode24b’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 379 | x = encode24b(ip->index[j]); | ^~~~~~~~~ build_in.c:482:12: warning: implicit declaration of function ‘encode12b’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 482 | x = encode12b(ip->index[j]); | ^~~~~~~~~ build_in.c:588:5: warning: implicit declaration of function ‘tokenallfree’; did you mean ‘tokenfree’? []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 588 | tokenallfree(); | ^~~~~~~~~~~~ | tokenfree build_in.c:589:5: warning: implicit declaration of function ‘indicesallfree’; did you mean ‘indicesfree’? []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 589 | indicesallfree(); | ^~~~~~~~~~~~~~ | indicesfree build_in.c:590:5: warning: implicit declaration of function ‘wordallfree’; did you mean ‘wordfree’? []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 590 | wordallfree(); | ^~~~~~~~~~~ | wordfree build_in.c: At top level: build_in.c:602:1: warning: return type defaults to ‘int’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-int-Wimplicit-int]8;;] 602 | traverse1() | ^~~~~~~~~ build_in.c: In function ‘traverse1’: build_in.c:713:9: warning: ‘return’ with no value, in function returning non-void 713 | return; | ^~~~~~ build_in.c:602:1: note: declared here 602 | traverse1() | ^~~~~~~~~ build_in.c:744:5: warning: implicit declaration of function ‘merge_in’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 744 | merge_in(i2, i1, i3); | ^~~~~~~~ build_in.c: At top level: build_in.c:784:1: warning: return type defaults to ‘int’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-int-Wimplicit-int]8;;] 784 | build_hash() | ^~~~~~~~~~ build_in.c: In function ‘build_hash’: build_in.c:807:26: warning: implicit declaration of function ‘region_initialize’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 807 | if (StructuredIndex) region_initialize(); | ^~~~~~~~~~~~~~~~~ build_in.c:808:5: warning: implicit declaration of function ‘init_hash_table’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 808 | init_hash_table(); | ^~~~~~~~~~~~~~~ build_in.c:818:18: warning: ‘return’ with no value, in function returning non-void 818 | if (tried_once) return; | ^~~~~~ build_in.c:784:1: note: declared here 784 | build_hash() | ^~~~~~~~~~ build_in.c:831:17: warning: implicit declaration of function ‘tuncompress_file’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 831 | if ((ret = tuncompress_file(LIST_GET(name_list, i), outname, TC_EASYSEARCH | TC_OVERWRITE | TC_NOPROMPT)) > 0) { /* do not remove old .TZ file */ | ^~~~~~~~~~~~~~~~ build_in.c:832:33: warning: implicit declaration of function ‘region_create’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 832 | if (StructuredIndex && (-1 == region_create(outname))) { | ^~~~~~~~~~~~~ build_in.c:834:7: warning: implicit declaration of function ‘remove_filename’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 834 | remove_filename(i, -1); | ^~~~~~~~~~~~~~~ build_in.c:840:28: warning: implicit declaration of function ‘region_destroy’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 840 | if (StructuredIndex) region_destroy(); /* cannot happen! */ | ^~~~~~~~~~~~~~ build_in.c:850:17: warning: implicit declaration of function ‘apply_filter’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 850 | if ((ret = apply_filter(LIST_GET(name_list, i), outname)) == 1) { | ^~~~~~~~~~~~ build_in.c:869:7: warning: implicit declaration of function ‘filetype’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 869 | if (filetype(LIST_GET(name_list, i), 0, NULL, NULL)) { /* try to index input file if it satisfies filetype */ | ^~~~~~~~ build_in.c:1021:2: warning: ‘return’ with no value, in function returning non-void 1021 | return; | ^~~~~~ build_in.c:784:1: note: declared here 784 | build_hash() | ^~~~~~~~~~ build_in.c: At top level: build_in.c:1233:1: warning: return type defaults to ‘int’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-int-Wimplicit-int]8;;] 1233 | init_hash_table() | ^~~~~~~~~~~~~~~ build_in.c: In function ‘init_hash_table’: build_in.c:1238:5: warning: ‘return’ with no value, in function returning non-void 1238 | return; | ^~~~~~ build_in.c:1233:1: note: declared here 1233 | init_hash_table() | ^~~~~~~~~~~~~~~ In file included from build_in.c:26: build_in.c: In function ‘insert_h’: glimpse.h:233:96: warning: implicit declaration of function ‘hash64k’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 233 | total_size < LIMIT_64K_HASH*1024*1024) || !BigHashTable) ? (hash64k(word, wordlen)) : (hash256k(word, wordlen))); | ^~~~~~~ build_in.c:1267:18: note: in expansion of macro ‘hashword’ 1267 | hash_value = hashword(word, wordlen); | ^~~~~~~~ glimpse.h:233:123: warning: implicit declaration of function ‘hash256k’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 233 | *1024*1024) || !BigHashTable) ? (hash64k(word, wordlen)) : (hash256k(word, wordlen))); | ^~~~~~~~ build_in.c:1267:18: note: in expansion of macro ‘hashword’ 1267 | hash_value = hashword(word, wordlen); | ^~~~~~~~ build_in.c: At top level: build_in.c:1459:1: warning: return type defaults to ‘int’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-int-Wimplicit-int]8;;] 1459 | scanword(word, buffer, buffer_end, attr) | ^~~~~~~~ build_in.c:1484:1: warning: return type defaults to ‘int’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-int-Wimplicit-int]8;;] 1484 | merge_in(f1, f2, f3) | ^~~~~~~~ build_in.c: In function ‘merge_in’: build_in.c:1571:12: warning: implicit declaration of function ‘decode8b’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 1571 | x = decode8b(src_index_buf[bdx1]); | ^~~~~~~~ build_in.c:1577:9: warning: implicit declaration of function ‘decode12b’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 1577 | x = decode12b(x); | ^~~~~~~~~ build_in.c:1590:12: warning: implicit declaration of function ‘decode16b’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 1590 | x = decode16b(x); | ^~~~~~~~~ build_in.c:1595:12: warning: implicit declaration of function ‘decode24b’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 1595 | x = decode24b(x); | ^~~~~~~~~ build_in.c:1756:64: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘unsigned char *’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wformat=-Wformat=]8;;] 1756 | intf(stderr,"Had to Realloc merge buffer (#3), new size is %d\n",merge_index_buf); | ~^ ~~~~~~~~~~~~~~~ | | | | int unsigned char * | %hhn build_in.c:1771:42: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘unsigned char *’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wformat=-Wformat=]8;;] 1771 | fprintf(stderr,"Realloc #4, new size is %d\n",merge_index_buf); | ~^ ~~~~~~~~~~~~~~~ | | | | int unsigned char * | %hhn build_in.c:1895:5: warning: ‘return’ with no value, in function returning non-void 1895 | return; | ^~~~~~ build_in.c:1484:1: note: declared here 1484 | merge_in(f1, f2, f3) | ^~~~~~~~ build_in.c: At top level: build_in.c:1898:1: warning: return type defaults to ‘int’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-int-Wimplicit-int]8;;] 1898 | remove_filename(fileindex, new_partition) | ^~~~~~~~~~~~~~~ build_in.c: In function ‘remove_filename’: build_in.c:1901:60: warning: ‘return’ with no value, in function returning non-void 1901 | if ((fileindex < 0) || (fileindex >= MaxNum24bPartition)) return; | ^~~~~~ build_in.c:1898:1: note: declared here 1898 | remove_filename(fileindex, new_partition) | ^~~~~~~~~~~~~~~ build_in.c: At top level: build_in.c:1946:1: warning: return type defaults to ‘int’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-int-Wimplicit-int]8;;] 1946 | get_new_index(deletedlist, oldfileindex) | ^~~~~~~~~~~~~ build_in.c:1965:1: warning: return type defaults to ‘int’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-int-Wimplicit-int]8;;] 1965 | delete_removed_indices(deletedlist) | ^~~~~~~~~~~~~~~~~~~~~~ build_in.c:2239:1: warning: return type defaults to ‘int’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-int-Wimplicit-int]8;;] 2239 | initialize_disable_list(files) | ^~~~~~~~~~~~~~~~~~~~~~~ build_in.c: In function ‘traverse1’: build_in.c:655:5: warning: ignoring return value of ‘system’ declared with attribute ‘warn_unused_result’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-result-Wunused-result]8;;] 655 | system(s); | ^~~~~~~~~ build_in.c:657:5: warning: ignoring return value of ‘system’ declared with attribute ‘warn_unused_result’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-result-Wunused-result]8;;] 657 | system(sync_path); /* sync() has a bug */ | ^~~~~~~~~~~~~~~~~ build_in.c:671:2: warning: ignoring return value of ‘system’ declared with attribute ‘warn_unused_result’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-result-Wunused-result]8;;] 671 | system(s); | ^~~~~~~~~ build_in.c:679:2: warning: ignoring return value of ‘system’ declared with attribute ‘warn_unused_result’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-result-Wunused-result]8;;] 679 | system(s); | ^~~~~~~~~ build_in.c:685:2: warning: ignoring return value of ‘system’ declared with attribute ‘warn_unused_result’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-result-Wunused-result]8;;] 685 | system(s); | ^~~~~~~~~ build_in.c:692:9: warning: ignoring return value of ‘system’ declared with attribute ‘warn_unused_result’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-result-Wunused-result]8;;] 692 | system(s); | ^~~~~~~~~ build_in.c:699:2: warning: ignoring return value of ‘system’ declared with attribute ‘warn_unused_result’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-result-Wunused-result]8;;] 699 | system(s); | ^~~~~~~~~ build_in.c:712:2: warning: ignoring return value of ‘system’ declared with attribute ‘warn_unused_result’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-result-Wunused-result]8;;] 712 | system(sync_path); /* sync() has a bug */ | ^~~~~~~~~~~~~~~~~ build_in.c:734:5: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-result-Wunused-result]8;;] 734 | fgets(s, 256, i1); | ^~~~~~~~~~~~~~~~~ build_in.c:737:5: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-result-Wunused-result]8;;] 737 | fgets(s, 256, i1); | ^~~~~~~~~~~~~~~~~ build_in.c:740:5: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-result-Wunused-result]8;;] 740 | fgets(s, 256, i1); | ^~~~~~~~~~~~~~~~~ build_in.c:754:5: warning: ignoring return value of ‘system’ declared with attribute ‘warn_unused_result’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-result-Wunused-result]8;;] 754 | system(sync_path); /* sync() has a bug */ | ^~~~~~~~~~~~~~~~~ build_in.c:764:5: warning: ignoring return value of ‘system’ declared with attribute ‘warn_unused_result’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-result-Wunused-result]8;;] 764 | system(s); | ^~~~~~~~~ build_in.c: In function ‘purge_index’: build_in.c:2023:2: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-result-Wunused-result]8;;] 2023 | fgets(indexnumberbuf, 256, i_in); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ build_in.c:2025:2: warning: ignoring return value of ‘fscanf’ declared with attribute ‘warn_unused_result’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-result-Wunused-result]8;;] 2025 | fscanf(i_in, "%%%d\n", &onefileperblock); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ build_in.c:2029:14: warning: ignoring return value of ‘fscanf’ declared with attribute ‘warn_unused_result’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-result-Wunused-result]8;;] 2029 | fscanf(i_in, "%%%d%s\n", &structuredindex, temp_rdelim); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ build_in.c:2232:9: warning: ignoring return value of ‘system’ declared with attribute ‘warn_unused_result’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-result-Wunused-result]8;;] 2232 | system(s); | ^~~~~~~~~ x86_64-pc-linux-gnu-gcc -c -I../index -I../agrep -I../libtemplate/include -O2 -pipe -march=native -frecord-gcc-switches filetype.c filetype.c: In function ‘filetype’: filetype.c:71:6: warning: implicit declaration of function ‘test_special_suffix’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 71 | if (test_special_suffix(tempname)) { | ^~~~~~~~~~~~~~~~~~~ filetype.c:100:6: warning: implicit declaration of function ‘test_postscript’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 100 | if (test_postscript(buffer, num_read)) { | ^~~~~~~~~~~~~~~ filetype.c:109:18: warning: implicit declaration of function ‘test_binary’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 109 | BINARY = test_binary(buffer, num_read); | ^~~~~~~~~~~ filetype.c:120:21: warning: implicit declaration of function ‘test_uuencode’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 120 | UUENCODED = test_uuencode(buffer, num_read); | ^~~~~~~~~~~~~ filetype.c:129:5: warning: implicit declaration of function ‘heavy_index’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 129 | if(heavy_index(tempname, buffer, num_read)) { | ^~~~~~~~~~~ filetype.c:137:5: warning: implicit declaration of function ‘hqx’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 137 | if(hqx(tempname, buffer, num_read)) { | ^~~ filetype.c:154:17: warning: implicit declaration of function ‘extract_info’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 154 | *xinfo_len = extract_info(tempname, buffer, num_read, i, xinfo, MAX_LINE_LEN); | ^~~~~~~~~~~~ filetype.c: At top level: filetype.c:276:1: warning: return type defaults to ‘int’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-int-Wimplicit-int]8;;] 276 | heavy_index(name, buffer, num_read) | ^~~~~~~~~~~ filetype.c: In function ‘heavy_index’: filetype.c:291:16: warning: implicit declaration of function ‘hash4k’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 291 | hash_value = hash4k(word, strlen(word)); | ^~~~~~ filetype.c: At top level: filetype.c:312:1: warning: return type defaults to ‘int’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-int-Wimplicit-int]8;;] 312 | hqx(name, buffer, num_read) | ^~~ x86_64-pc-linux-gnu-gcc -c -I../index -I../agrep -I../libtemplate/include -O2 -pipe -march=native -frecord-gcc-switches simpletest.c simpletest.c:10:8: warning: type defaults to ‘int’ in declaration of ‘UseFilters’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-int-Wimplicit-int]8;;] 10 | extern UseFilters; | ^~~~~~~~~~ simpletest.c:33:1: warning: return type defaults to ‘int’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-int-Wimplicit-int]8;;] 33 | test_binary(buffer, length) | ^~~~~~~~~~~ simpletest.c:54:1: warning: return type defaults to ‘int’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-int-Wimplicit-int]8;;] 54 | test_uuencode(buffer, length) | ^~~~~~~~~~~~~ simpletest.c: In function ‘test_uuencode’: simpletest.c:67:13: warning: implicit declaration of function ‘memlook’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 67 | i = memlook("\nbegin", buffer, length); | ^~~~~~~ x86_64-pc-linux-gnu-gcc -c -I../index -I../agrep -I../libtemplate/include -O2 -pipe -march=native -frecord-gcc-switches getword.c x86_64-pc-linux-gnu-gcc -c -I../index -I../agrep -I../libtemplate/include -O2 -pipe -march=native -frecord-gcc-switches memlook.c x86_64-pc-linux-gnu-gcc -c -I../index -I../agrep -I../libtemplate/include -O2 -pipe -march=native -frecord-gcc-switches lib.c getword.c: In function ‘getword’: getword.c:245:11: warning: implicit declaration of function ‘region_identify’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 245 | *pattr = region_identify(ICurrentFileOffset, 0); | ^~~~~~~~~~~~~~~ getword.c: At top level: getword.c:259:1: warning: return type defaults to ‘int’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-int-Wimplicit-int]8;;] 259 | set_indexable_char(indexable_char) | ^~~~~~~~~~~~~~~~~~ getword.c:273:1: warning: return type defaults to ‘int’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-int-Wimplicit-int]8;;] 273 | set_special_char(special_char) | ^~~~~~~~~~~~~~~~ lib.c:5:16: warning: conflicting types for built-in function ‘strdup’; expected ‘char *(const char *)’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wbuiltin-declaration-mismatch-Wbuiltin-declaration-mismatch]8;;] 5 | unsigned char *strdup(str) | ^~~~~~ lib.c: In function ‘strdup’: lib.c:12:8: warning: implicit declaration of function ‘strlen’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 12 | len = strlen(str); | ^~~~~~ lib.c:12:8: warning: incompatible implicit declaration of built-in function ‘strlen’ lib.c:4:1: note: include ‘’ or provide a declaration of ‘strlen’ 3 | #include +++ |+#include 4 | lib.c:16:3: warning: implicit declaration of function ‘exit’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 16 | exit(2); | ^~~~ lib.c:16:3: warning: incompatible implicit declaration of built-in function ‘exit’ lib.c:4:1: note: include ‘’ or provide a declaration of ‘exit’ 3 | #include +++ |+#include 4 | x86_64-pc-linux-gnu-gcc -c -I../index -I../agrep -I../libtemplate/include -O2 -pipe -march=native -frecord-gcc-switches partition.c partition.c:70:1: warning: return type defaults to ‘int’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-int-Wimplicit-int]8;;] 70 | partition(dir_num, dir_name) | ^~~~~~~~~ partition.c: In function ‘partition’: partition.c:116:21: warning: implicit declaration of function ‘memagrep_init’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 116 | if ((dummylen = memagrep_init(exin_argc, exin_argv, MAX_PAT, dummypat)) <= 0) return -1; /* exclude/include pattern search */ | ^~~~~~~~~~~~~ partition.c:128:27: warning: implicit declaration of function ‘convert2agrepregexp’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 128 | if ((pat_len[num_pat] = convert2agrepregexp(patbuf, len-1)) == 0) continue; | ^~~~~~~~~~~~~~~~~~~ partition.c:182:6: warning: implicit declaration of function ‘fsize’; did you mean ‘dysize’? []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 182 | fsize(current_dir, pat, pat_len, num_pat, inc, inc_len, num_inc, 0); /* the file names will be in name_list[]: NOT TOP LEVEL!!! Mar/11/96 */ | ^~~~~ | dysize partition.c: At top level: partition.c:420:1: warning: return type defaults to ‘int’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-int-Wimplicit-int]8;;] 420 | oldpartition(dir_num, dir_name) | ^~~~~~~~~~~~ partition.c:602:1: warning: return type defaults to ‘int’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-int-Wimplicit-int]8;;] 602 | save_data_structures() | ^~~~~~~~~~~~~~~~~~~~ partition.c: In function ‘save_data_structures’: partition.c:700:9: warning: implicit declaration of function ‘decode16b’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 700 | index=decode16b((src_index_buf[j+1] << 8) | (src_index_buf[j+2])); | ^~~~~~~~~ partition.c:702:12: warning: implicit declaration of function ‘encode8b’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 702 | putc(encode8b(index), i_out); | ^~~~~~~~ partition.c:784:15: warning: implicit declaration of function ‘encode32b’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 784 | offset = encode32b(part_size); | ^~~~~~~~~ partition.c:818:18: warning: implicit declaration of function ‘dump_mini’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 818 | if (BuildTurbo) dump_mini(s); | ^~~~~~~~~ partition.c:842:56: warning: comparison between pointer and zero character constant []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wpointer-compare-Wpointer-compare]8;;] 842 | if ((LIST_GET(name_list, i) != NULL) && (name_list[0] != '\0')) { | ^~ partition.c:842:43: note: did you mean to dereference the pointer? 842 | if ((LIST_GET(name_list, i) != NULL) && (name_list[0] != '\0')) { | ^ partition.c:890:36: warning: implicit declaration of function ‘build_filename_hashtable’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 890 | if (!built_filename_hashtable) build_filename_hashtable(name_list, file_num); | ^~~~~~~~~~~~~~~~~~~~~~~~ partition.c:899:16: warning: implicit declaration of function ‘get_new_index’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 899 | if ((index = get_new_index(deletedlist, e->index)) < 0) { | ^~~~~~~~~~~~~ partition.c: At top level: partition.c:934:1: warning: return type defaults to ‘int’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-int-Wimplicit-int]8;;] 934 | merge_splits() | ^~~~~~~~~~~~ partition.c: In function ‘merge_splits’: partition.c:1034:15: warning: implicit declaration of function ‘encode16b’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 1034 | index = encode16b(decode8b(src_index_buf[j+1])); | ^~~~~~~~~ partition.c:1034:25: warning: implicit declaration of function ‘decode8b’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 1034 | index = encode16b(decode8b(src_index_buf[j+1])); | ^~~~~~~~ partition.c:1052:6: warning: implicit declaration of function ‘get_block_numbers’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 1052 | get_block_numbers(&src_index_buf[j+1], &dest_index_buf[0], p_in); | ^~~~~~~~~~~~~~~~~ partition.c: In function ‘partition’: partition.c:172:6: warning: ignoring return value of ‘getcwd’ declared with attribute ‘warn_unused_result’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-result-Wunused-result]8;;] 172 | getcwd(working_dir, MAX_LINE_LEN - 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ partition.c:177:6: warning: ignoring return value of ‘getcwd’ declared with attribute ‘warn_unused_result’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-result-Wunused-result]8;;] 177 | getcwd(current_dir, MAX_LINE_LEN - 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ partition.c:178:6: warning: ignoring return value of ‘chdir’ declared with attribute ‘warn_unused_result’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-result-Wunused-result]8;;] 178 | chdir(working_dir); | ^~~~~~~~~~~~~~~~~~ partition.c:193:6: warning: ignoring return value of ‘getcwd’ declared with attribute ‘warn_unused_result’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-result-Wunused-result]8;;] 193 | getcwd(working_dir, MAX_LINE_LEN - 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ partition.c:198:6: warning: ignoring return value of ‘getcwd’ declared with attribute ‘warn_unused_result’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-result-Wunused-result]8;;] 198 | getcwd(current_dir, MAX_LINE_LEN - 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ partition.c:199:6: warning: ignoring return value of ‘chdir’ declared with attribute ‘warn_unused_result’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-result-Wunused-result]8;;] 199 | chdir(working_dir); | ^~~~~~~~~~~~~~~~~~ partition.c: In function ‘oldpartition’: partition.c:523:6: warning: ignoring return value of ‘getcwd’ declared with attribute ‘warn_unused_result’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-result-Wunused-result]8;;] 523 | getcwd(working_dir, MAX_LINE_LEN - 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ partition.c:528:6: warning: ignoring return value of ‘getcwd’ declared with attribute ‘warn_unused_result’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-result-Wunused-result]8;;] 528 | getcwd(current_dir, MAX_LINE_LEN - 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ partition.c:529:6: warning: ignoring return value of ‘chdir’ declared with attribute ‘warn_unused_result’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-result-Wunused-result]8;;] 529 | chdir(working_dir); | ^~~~~~~~~~~~~~~~~~ partition.c:544:6: warning: ignoring return value of ‘getcwd’ declared with attribute ‘warn_unused_result’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-result-Wunused-result]8;;] 544 | getcwd(working_dir, MAX_LINE_LEN - 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ partition.c:549:6: warning: ignoring return value of ‘getcwd’ declared with attribute ‘warn_unused_result’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-result-Wunused-result]8;;] 549 | getcwd(current_dir, MAX_LINE_LEN - 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ partition.c:550:6: warning: ignoring return value of ‘chdir’ declared with attribute ‘warn_unused_result’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-result-Wunused-result]8;;] 550 | chdir(working_dir); | ^~~~~~~~~~~~~~~~~~ partition.c: In function ‘save_data_structures’: partition.c:681:6: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-result-Wunused-result]8;;] 681 | fgets(indexnumberbuf, 256, i_in); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ partition.c:683:6: warning: ignoring return value of ‘fscanf’ declared with attribute ‘warn_unused_result’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-result-Wunused-result]8;;] 683 | fscanf(i_in, "%%%d\n", &onefileperblock); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ partition.c:686:18: warning: ignoring return value of ‘fscanf’ declared with attribute ‘warn_unused_result’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-result-Wunused-result]8;;] 686 | fscanf(i_in, "%%%d%s\n", &structuredindex, temp_rdelim); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ partition.c:724:6: warning: ignoring return value of ‘system’ declared with attribute ‘warn_unused_result’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-result-Wunused-result]8;;] 724 | system(s); | ^~~~~~~~~ partition.c:742:9: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-result-Wunused-result]8;;] 742 | fgets(indexnumberbuf, 256, i_in); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ partition.c:744:9: warning: ignoring return value of ‘fscanf’ declared with attribute ‘warn_unused_result’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-result-Wunused-result]8;;] 744 | fscanf(i_in, "%%%d\n", &onefileperblock); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ partition.c:748:16: warning: ignoring return value of ‘fscanf’ declared with attribute ‘warn_unused_result’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-result-Wunused-result]8;;] 748 | fscanf(i_in, "%%%d%s\n", &structuredindex, temp_rdelim); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ partition.c:814:2: warning: ignoring return value of ‘system’ declared with attribute ‘warn_unused_result’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-result-Wunused-result]8;;] 814 | system(s); | ^~~~~~~~~ partition.c:816:2: warning: ignoring return value of ‘system’ declared with attribute ‘warn_unused_result’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-result-Wunused-result]8;;] 816 | system(sync_path); /* sync() has a BUG */ | ^~~~~~~~~~~~~~~~~ partition.c:826:2: warning: ignoring return value of ‘system’ declared with attribute ‘warn_unused_result’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-result-Wunused-result]8;;] 826 | system(s); | ^~~~~~~~~ partition.c:828:2: warning: ignoring return value of ‘system’ declared with attribute ‘warn_unused_result’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-result-Wunused-result]8;;] 828 | system(s); | ^~~~~~~~~ partition.c:876:2: warning: ignoring return value of ‘system’ declared with attribute ‘warn_unused_result’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-result-Wunused-result]8;;] 876 | system(s); | ^~~~~~~~~ partition.c:878:2: warning: ignoring return value of ‘system’ declared with attribute ‘warn_unused_result’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-result-Wunused-result]8;;] 878 | system(s); | ^~~~~~~~~ partition.c: In function ‘merge_splits’: partition.c:976:2: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-result-Wunused-result]8;;] 976 | fgets(indexnumberbuf, 256, i_in); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ partition.c:978:2: warning: ignoring return value of ‘fscanf’ declared with attribute ‘warn_unused_result’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-result-Wunused-result]8;;] 978 | fscanf(i_in, "%%%d\n", &onefileperblock); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ partition.c:981:14: warning: ignoring return value of ‘fscanf’ declared with attribute ‘warn_unused_result’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-result-Wunused-result]8;;] 981 | fscanf(i_in, "%%%d%s\n", &structuredindex, temp_rdelim); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ partition.c:998:4: warning: ignoring return value of ‘system’ declared with attribute ‘warn_unused_result’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-result-Wunused-result]8;;] 998 | system(s); | ^~~~~~~~~ partition.c:1005:4: warning: ignoring return value of ‘system’ declared with attribute ‘warn_unused_result’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-result-Wunused-result]8;;] 1005 | system(s); | ^~~~~~~~~ partition.c:1007:4: warning: ignoring return value of ‘system’ declared with attribute ‘warn_unused_result’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-result-Wunused-result]8;;] 1007 | system(sync_path); /* sync() has a BUG */ | ^~~~~~~~~~~~~~~~~ partition.c:1016:3: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-result-Wunused-result]8;;] 1016 | fgets(s, MAX_LINE_LEN, i_in); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ partition.c:1017:3: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-result-Wunused-result]8;;] 1017 | fgets(s, MAX_LINE_LEN, i_in); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ partition.c:1018:3: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-result-Wunused-result]8;;] 1018 | fgets(s, MAX_LINE_LEN, i_in); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ partition.c:1075:2: warning: ignoring return value of ‘system’ declared with attribute ‘warn_unused_result’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-result-Wunused-result]8;;] 1075 | system(s); | ^~~~~~~~~ cd ../agrep ; make make[2]: Entering directory '/var/tmp/portage/app-misc/glimpse-4.18.6-r1/work/glimpse-4.18.6/agrep' ar rcv ../lib/libagrep.a follow.o asearch.o asearch1.o agrep.o bitap.o checkfile.o compat.o maskgen.o parse.o checksg.o preprocess.o delim.o asplit.o recursive.o sgrep.o newmgrep.o utilities.o dummyfilters.o make[2]: ar: No such file or directory make[2]: *** [Makefile:113: ../lib/libagrep.a] Error 127 make[2]: Leaving directory '/var/tmp/portage/app-misc/glimpse-4.18.6-r1/work/glimpse-4.18.6/agrep' make[1]: *** [Makefile:111: ../lib/libagrep.a] Error 2 make[1]: *** Waiting for unfinished jobs.... make[1]: Leaving directory '/var/tmp/portage/app-misc/glimpse-4.18.6-r1/work/glimpse-4.18.6/index' make[1]: Entering directory '/var/tmp/portage/app-misc/glimpse-4.18.6-r1/work/glimpse-4.18.6/dynfilters' flex -F -8 htuml2txt.lex x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -frecord-gcc-switches -c lex.yy.c x86_64-pc-linux-gnu-gcc -o htuml2txt lex.yy.o -lfl make[1]: Leaving directory '/var/tmp/portage/app-misc/glimpse-4.18.6-r1/work/glimpse-4.18.6/dynfilters' make NOTSall make[1]: Entering directory '/var/tmp/portage/app-misc/glimpse-4.18.6-r1/work/glimpse-4.18.6' x86_64-pc-linux-gnu-gcc -c -Iindex -Iagrep -Ilibtemplate/include -O2 -pipe -march=native -frecord-gcc-switches -DISSERVER=0 -o main.o main.c x86_64-pc-linux-gnu-gcc -c -Iindex -Iagrep -Ilibtemplate/include -O2 -pipe -march=native -frecord-gcc-switches -o get_filename.o get_filename.c x86_64-pc-linux-gnu-gcc -c -Iindex -Iagrep -Ilibtemplate/include -O2 -pipe -march=native -frecord-gcc-switches -o get_index.o get_index.c x86_64-pc-linux-gnu-gcc -c -Iindex -Iagrep -Ilibtemplate/include -O2 -pipe -march=native -frecord-gcc-switches -o split.o split.c make[1]: *** No rule to make target 'lib/libagrep.a', needed by 'notsglimpse'. Stop. make[1]: *** Waiting for unfinished jobs.... split.c: In function ‘get_attribute_value’: split.c:180:1: warning: type of ‘num_attr’ defaults to ‘int’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-int-Wimplicit-int]8;;] 180 | get_attribute_value(pattr, pval, tokenbuf, tokenlen, num_attr) | ^~~~~~~~~~~~~~~~~~~ split.c: At top level: split.c:225:8: warning: type defaults to ‘int’ in declaration of ‘destroy_tree’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-int-Wimplicit-int]8;;] 225 | extern destroy_tree(); /* use the one in agrep/asplit.c */ | ^~~~~~~~~~~~ get_index.c:43:1: warning: return type defaults to ‘int’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-int-Wimplicit-int]8;;] 43 | free_list(p1) | ^~~~~~~~~ get_index.c:56:1: warning: return type defaults to ‘int’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-int-Wimplicit-int]8;;] 56 | sorted_union(list1, list2, f, pf, cf) | ^~~~~~~~~~~~ get_index.c: In function ‘sorted_union’: get_index.c:66:3: warning: ‘return’ with no value, in function returning non-void 66 | return; | ^~~~~~ get_index.c:56:1: note: declared here 56 | sorted_union(list1, list2, f, pf, cf) | ^~~~~~~~~~~~ get_index.c:97:4: warning: ‘return’ with no value, in function returning non-void 97 | return; | ^~~~~~ get_index.c:56:1: note: declared here 56 | sorted_union(list1, list2, f, pf, cf) | ^~~~~~~~~~~~ get_index.c: At top level: get_index.c:118:1: warning: return type defaults to ‘int’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-int-Wimplicit-int]8;;] 118 | sorted_intersection(filenum, list1, list2, f) | ^~~~~~~~~~~~~~~~~~~ get_index.c: In function ‘sorted_intersection’: get_index.c:118:1: warning: type of ‘filenum’ defaults to ‘int’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-int-Wimplicit-int]8;;] get_index.c:129:3: warning: ‘return’ with no value, in function returning non-void 129 | return; | ^~~~~~ get_index.c:118:1: note: declared here 118 | sorted_intersection(filenum, list1, list2, f) | ^~~~~~~~~~~~~~~~~~~ get_index.c: At top level: get_index.c:225:1: warning: return type defaults to ‘int’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-int-Wimplicit-int]8;;] 225 | purge_offsets(p1) | ^~~~~~~~~~~~~ get_index.c:241:1: warning: return type defaults to ‘int’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-int-Wimplicit-int]8;;] 241 | get_set(buffer, set, offset_table, patlen, pattern, patattr, outfile, partfp, frequency, prevfreq) | ^~~~~~~ split.c:496:1: warning: return type defaults to ‘int’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-int-Wimplicit-int]8;;] 496 | split_terminal(first, last) | ^~~~~~~~~~~~~~ get_index.c: In function ‘get_set’: get_index.c:257:14: warning: implicit declaration of function ‘encode8b’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 257 | int delim = encode8b(0); | ^~~~~~~~ get_index.c:269:16: warning: implicit declaration of function ‘decode8b’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 269 | indexattr = decode8b(buffer[bdx2+1]); | ^~~~~~~~ get_filename.c:43:1: warning: return type defaults to ‘int’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-int-Wimplicit-int]8;;] 43 | read_filenames() | ^~~~~~~~~~~~~~ get_index.c:272:16: warning: implicit declaration of function ‘decode16b’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 272 | indexattr = decode16b((buffer[bdx2+1] << 8) | (buffer[bdx2 + 2])); | ^~~~~~~~~ get_filename.c: In function ‘read_filenames’: get_filename.c:77:3: warning: implicit declaration of function ‘initialize_data_structures’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 77 | initialize_data_structures(file_num); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ get_index.c:318:14: warning: implicit declaration of function ‘memagrep_search’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 318 | if ((ret = memagrep_search(patlen, pattern, bdx2+1, buffer, 0, outfile)) <= 0) return 0; | ^~~~~~~~~~~~~~~ get_filename.c: In function ‘mask_filenames’: get_index.c:328:6: warning: implicit declaration of function ‘get_block_numbers’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 328 | get_block_numbers(&buffer[bdx2], &buffer[bdx2], partfp); | ^~~~~~~~~~~~~~~~~ get_filename.c:126:103: warning: implicit declaration of function ‘slow_mask_filenames’; did you mean ‘mask_filenames’? []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 126 | NDEX_PERCENT/2) && (num_blocks > MaxNum8bPartition)) return slow_mask_filenames(index_vect, infile); | ^~~~~~~~~~~~~~~~~~~ | mask_filenames get_index.c:344:8: warning: implicit declaration of function ‘decode24b’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 344 | x = decode24b(x); | ^~~~~~~~~ get_filename.c:173:15: warning: implicit declaration of function ‘memagrep’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 173 | if ((((ret = memagrep(5, argv, name_list_size, name_list_buffer, outputbuffer_len, outputbuffer)) <= 0) || (agrep_outpointer <= 0)) && (errno != ERANGE)) { | ^~~~~~~~ get_index.c:355:8: warning: implicit declaration of function ‘decode12b’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 355 | x = decode12b(x); | ^~~~~~~~~ get_index.c: At top level: get_index.c:489:1: warning: return type defaults to ‘int’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-int-Wimplicit-int]8;;] 489 | get_index(infile, index_tab, offset_tab, pattern, patlen, patattr, index_argv, index_argc, outfile, partfp, parse, first_time) | ^~~~~~~~~ get_filename.c: At top level: get_filename.c:484:1: warning: return type defaults to ‘int’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-int-Wimplicit-int]8;;] 484 | get_filenames(index_vect, argc, argv, dummylen, dummypat, file_num) | ^~~~~~~~~~~~~ get_filename.c: In function ‘get_filenames’: get_filename.c:539:6: warning: ‘return’ with no value, in function returning non-void 539 | return; | ^~~~~~ get_filename.c:484:1: note: declared here 484 | get_filenames(index_vect, argc, argv, dummylen, dummypat, file_num) | ^~~~~~~~~~~~~ get_filename.c:581:6: warning: ‘return’ with no value, in function returning non-void 581 | return; | ^~~~~~ get_filename.c:484:1: note: declared here 484 | get_filenames(index_vect, argc, argv, dummylen, dummypat, file_num) | ^~~~~~~~~~~~~ get_index.c:697:1: warning: return type defaults to ‘int’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-int-Wimplicit-int]8;;] 697 | mgrep_get_index(infile, index_tab, offset_tab, pat_list, pat_lens, pat_attr, mgrep_pat_index, num_mgrep_pat, patbufpos, index_argv, index_argc, outfile, partfp, parse, first_time) | ^~~~~~~~~~~~~~~ get_filename.c:598:22: warning: implicit declaration of function ‘memagrep_init’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 598 | if ((dummylen = memagrep_init(argc, argv, MAX_PAT, dummypat)) <= 0) goto end_files; | ^~~~~~~~~~~~~ get_index.c: In function ‘mgrep_get_index’: get_index.c:734:13: warning: implicit declaration of function ‘fileagrep’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 734 | if ((ret = fileagrep(index_argc, index_argv, 0, f_in)) < 0) { | ^~~~~~~~~ get_filename.c:600:12: warning: implicit declaration of function ‘memagrep_search’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 600 | ret = memagrep_search(dummylen, dummypat, dummylen*2, beginptr, outputbuffer_len, outputbuffer); | ^~~~~~~~~~~~~~~ get_index.c:746:18: warning: implicit declaration of function ‘memagrep_init’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 746 | if ((dummylen = memagrep_init(index_argc, index_argv, MAX_PAT, dummypat)) <= 0) { | ^~~~~~~~~~~~~ get_filename.c:673:7: warning: ‘return’ with no value, in function returning non-void 673 | return; | ^~~~~~ get_filename.c:484:1: note: declared here 484 | get_filenames(index_vect, argc, argv, dummylen, dummypat, file_num) | ^~~~~~~~~~~~~ get_filename.c:752:7: warning: ‘return’ with no value, in function returning non-void 752 | return; | ^~~~~~ get_filename.c:484:1: note: declared here 484 | get_filenames(index_vect, argc, argv, dummylen, dummypat, file_num) | ^~~~~~~~~~~~~ get_filename.c:778:2: warning: ‘return’ with no value, in function returning non-void 778 | return; | ^~~~~~ get_filename.c:484:1: note: declared here 484 | get_filenames(index_vect, argc, argv, dummylen, dummypat, file_num) | ^~~~~~~~~~~~~ get_filename.c: In function ‘read_filenames’: get_filename.c:63:3: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-result-Wunused-result]8;;] 63 | fgets(buffer, MAX_NAME_SIZE, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:204:8: warning: type defaults to ‘int’ in declaration of ‘free_list’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-int-Wimplicit-int]8;;] 204 | extern free_list(); | ^~~~~~~~~ get_index.c: In function ‘mini_agrep’: get_index.c:1084:7: warning: implicit declaration of function ‘get_mini’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 1084 | if (!get_mini(word, len, &beginoffset, &endoffset, 0, mini_array_len, minifp)) return 0; | ^~~~~~~~ get_index.c: At top level: get_index.c:1120:1: warning: return type defaults to ‘int’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-int-Wimplicit-int]8;;] 1120 | fillup_target(result_index_set, result_offset_table, parse) | ^~~~~~~~~~~~~ main.c: In function ‘glimpse_search’: main.c:400:15: warning: implicit declaration of function ‘memagrep_search’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 400 | if ((ret = memagrep_search(AM, APattern, curtextend-curtextbegin, curtextbegin, 0, outfp)) > 0) | ^~~~~~~~~~~~~~~ main.c:417:15: warning: implicit declaration of function ‘exec’; did you mean ‘rexec’? []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 417 | if ((ret = exec(-1, NULL)) > 0) | ^~~~ | rexec get_index.c: In function ‘search_index’: get_index.c:1239:8: warning: implicit declaration of function ‘split_terminal’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 1239 | if (split_terminal(tree->terminalindex, tree->terminalindex+1) <= 0) return -1; | ^~~~~~~~~~~~~~ main.c:438:4: warning: implicit declaration of function ‘file_out’; did you mean ‘fileno’? []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 438 | file_out(realfilename); | ^~~~~~~~ | fileno main.c: At top level: main.c:466:1: warning: return type defaults to ‘int’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-int-Wimplicit-int]8;;] 466 | read_index(indexdir) | ^~~~~~~~~~ main.c: In function ‘read_index’: main.c:536:20: warning: implicit declaration of function ‘get_table’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 536 | GNumpartitions = get_table(P_TABLE, p_table, MAX_PARTITION, 0); | ^~~~~~~~~ main.c:562:63: warning: implicit declaration of function ‘read_mini’; did you mean ‘readline’? []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 562 | f (OneFilePerBlock && glimpse_isserver && (minifp != NULL)) read_mini(indexfp, minifp); | ^~~~~~~~~ | readline main.c:563:2: warning: implicit declaration of function ‘read_filenames’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 563 | read_filenames(); | ^~~~~~~~~~~~~~ main.c:566:2: warning: implicit declaration of function ‘set_indexable_char’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 566 | set_indexable_char(indexable_char); | ^~~~~~~~~~~~~~~~~~ main.c:568:2: warning: implicit declaration of function ‘set_special_char’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 568 | set_special_char(indexable_char); | ^~~~~~~~~~~~~~~~ main.c: At top level: main.c:600:1: warning: return type defaults to ‘int’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-int-Wimplicit-int]8;;] 600 | reinitialize_server(argc, argv) | ^~~~~~~~~~~~~~~~~~~ main.c: In function ‘reinitialize_server’: main.c:593:3: warning: implicit declaration of function ‘attr_free_table’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 593 | attr_free_table();\ | ^~~~~~~~~~~~~~~ main.c:605:2: note: in expansion of macro ‘CLEANUP’ 605 | CLEANUP; | ^~~~~~~ main.c:595:2: warning: implicit declaration of function ‘destroy_filename_hashtable’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 595 | destroy_filename_hashtable();\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:605:2: note: in expansion of macro ‘CLEANUP’ 605 | CLEANUP; | ^~~~~~~ main.c: At top level: main.c:693:1: warning: return type defaults to ‘int’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-int-Wimplicit-int]8;;] 693 | main(argc, argv) | ^~~~ main.c: In function ‘main’: main.c:727:3: warning: implicit declaration of function ‘usage’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 727 | usage(); /* Client nees at least 1 argument */ | ^~~~~ main.c:743:2: warning: implicit declaration of function ‘init_filename_hashtable’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 743 | init_filename_hashtable(); | ^~~~~~~~~~~~~~~~~~~~~~~ main.c:753:2: warning: implicit declaration of function ‘region_initialize’; did you mean ‘reinitialize’? []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 753 | region_initialize(); | ^~~~~~~~~~~~~~~~~ | reinitialize main.c:800:18: warning: implicit declaration of function ‘usageS’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 800 | RETURNMAIN(usageS()); | ^~~~~~ main.c:735:13: note: in definition of macro ‘RETURNMAIN’ 735 | if (val < 0) exit (2);\ | ^~~ main.c:1284:8: warning: implicit declaration of function ‘process_query’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 1284 | ret = process_query(oldargc, oldargv, fileno(stdin)); | ^~~~~~~~~~~~~ main.c: At top level: main.c:1289:1: warning: return type defaults to ‘int’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-int-Wimplicit-int]8;;] 1289 | process_query(argc, argv, newsockfd) | ^~~~~~~~~~~~~ main.c: In function ‘process_query’: main.c:1462:7: warning: implicit declaration of function ‘fileagrep’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 1462 | i = fileagrep(oldargc, oldargv, 0, stdout); | ^~~~~~~~~ main.c:1375:22: warning: implicit declaration of function ‘destroy_tree’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 1375 | if (ComplexBoolean) destroy_tree(&GParse);\ | ^~~~~~~~~~~~ main.c:1463:3: note: in expansion of macro ‘RETURN’ 1463 | RETURN(i); | ^~~~~~ main.c:2091:3: warning: implicit declaration of function ‘read_filters’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 2091 | read_filters(INDEX_DIR, UseFilters); | ^~~~~~~~~~~~ main.c:2095:13: warning: implicit declaration of function ‘fileagrep_init’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 2095 | if ((GM = fileagrep_init(agrep_argc, agrep_argv, MAXPAT, GPattern)) <= 0) { | ^~~~~~~~~~~~~~ main.c:2130:12: warning: implicit declaration of function ‘split_pattern’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 2130 | else if (split_pattern(GPattern, GM, APattern, terminals, &num_terminals, &GParse, StructuredIndex) <= 0) RETURN(-1); | ^~~~~~~~~~~~~ main.c:2273:9: warning: implicit declaration of function ‘search_index’; did you mean ‘read_index’? []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 2273 | ret = search_index(GParse); | ^~~~~~~~~~~~ | read_index main.c:2429:24: warning: implicit declaration of function ‘mask_filenames’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 2429 | if (FILENAMESINFILE) mask_filenames(src_index_set, filenames_file, file_num, num_blocks); /* keep only those files that are in filenames_file */ | ^~~~~~~~~~~~~~ main.c:2457:4: warning: implicit declaration of function ‘get_filenames’; did you mean ‘get_file_time’? []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 2457 | get_filenames(src_index_set, 0, NULL, dummylen, dummypat, file_num); | ^~~~~~~~~~~~~ | get_file_time main.c:2698:18: warning: implicit declaration of function ‘fileagrep_search’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 2698 | if ((ret = fileagrep_search(AM, APattern, 1, >extfiles[i], 0, stdout)) > 0) { | ^~~~~~~~~~~~~~~~ main.c:2764:10: warning: implicit declaration of function ‘apply_filter’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 2764 | if (apply_filter(GTextfiles[i], outname[0]) == 1) { | ^~~~~~~~~~~~ main.c:2928:54: warning: implicit declaration of function ‘filter_output’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 2928 | ret = filter_output(GTextfiles[i], tempfile, GParse, GD_pattern, GD_length, GOUTTAIL, nullfp, StructuredIndex); | ^~~~~~~~~~~~~ main.c: In function ‘filter_output’: main.c:3182:32: warning: implicit declaration of function ‘region_create’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 3182 | if (StructuredIndex && (-1 == region_create(infile))) { | ^~~~~~~~~~~~~ main.c:3189:25: warning: implicit declaration of function ‘region_destroy’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 3189 | if (StructuredIndex) region_destroy(); | ^~~~~~~~~~~~~~ main.c:3262:48: warning: implicit declaration of function ‘region_identify’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 3262 | else if ( (num_attr <= 0) || (((attribute = region_identify(byteoff, 0)) < num_attr) && (attribute >= 0)) ) { | ^~~~~~~~~~~~~~~ main.c:3341:17: warning: implicit declaration of function ‘eval_tree’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 3341 | success = eval_tree(GParse, matched_terminals); | ^~~~~~~~~ main.c: At top level: main.c:3481:1: warning: return type defaults to ‘int’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-int-Wimplicit-int]8;;] 3481 | usage() | ^~~~~ main.c:3561:1: warning: return type defaults to ‘int’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-int-Wimplicit-int]8;;] 3561 | usageS() | ^~~~~~ main.c: In function ‘glimpse_search’: main.c:338:5: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-result-Wunused-result]8;;] 338 | fread(beginregionptr, 1, num, infp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c: In function ‘process_Y_option’: main.c:457:2: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-result-Wunused-result]8;;] 457 | fread(arrayend, 1, 4, fp); | ^~~~~~~~~~~~~~~~~~~~~~~~~ main.c: In function ‘read_index’: main.c:475:4: warning: ignoring return value of ‘getcwd’ declared with attribute ‘warn_unused_result’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-result-Wunused-result]8;;] 475 | getcwd(indexdir, MAXNAME-1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:527:2: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-result-Wunused-result]8;;] 527 | fgets(indexnumberbuf, 256, indexfp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:530:2: warning: ignoring return value of ‘fscanf’ declared with attribute ‘warn_unused_result’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-result-Wunused-result]8;;] 530 | fscanf(indexfp, "%%%d\n", &OneFilePerBlock); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:538:2: warning: ignoring return value of ‘fscanf’ declared with attribute ‘warn_unused_result’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-result-Wunused-result]8;;] 538 | fscanf(indexfp, "%%%d%s\n", &StructuredIndex, old_rdelim); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c: In function ‘cleanup’: main.c:646:3: warning: ignoring return value of ‘dup’ declared with attribute ‘warn_unused_result’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-result-Wunused-result]8;;] 646 | dup(svstderr); | ^~~~~~~~~~~~~ main.c: In function ‘quitrequest’: main.c:678:3: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-result-Wunused-result]8;;] 678 | write(svstderr, QUITREQUESTMSG, strlen(QUITREQUESTMSG)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c: In function ‘main’: main.c:1267:3: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-result-Wunused-result]8;;] 1267 | write(fileno(stdout), tmpbuf, n); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c: In function ‘process_query’: main.c:1822:6: warning: ignoring return value of ‘getcwd’ declared with attribute ‘warn_unused_result’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-result-Wunused-result]8;;] 1822 | getcwd(temp_bitfield_file, MAX_LINE_LEN-1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:1846:6: warning: ignoring return value of ‘getcwd’ declared with attribute ‘warn_unused_result’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-result-Wunused-result]8;;] 1846 | getcwd(temp_filenames_file, MAX_LINE_LEN-1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:2467:7: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-result-Wunused-result]8;;] 2467 | fgets(cc, 4, stdin); | ^~~~~~~~~~~~~~~~~~~ main.c:2524:5: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-result-Wunused-result]8;;] 2524 | fgets(cc, 4, stdin); | ^~~~~~~~~~~~~~~~~~~ main.c:2595:7: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-result-Wunused-result]8;;] 2595 | fgets(cc, 4, stdin); | ^~~~~~~~~~~~~~~~~~~ main.c:2652:5: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-result-Wunused-result]8;;] 2652 | fgets(cc, 4, stdin); | ^~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/var/tmp/portage/app-misc/glimpse-4.18.6-r1/work/glimpse-4.18.6' make: *** [Makefile:88: build-sub] Error 2 * ERROR: app-misc/glimpse-4.18.6-r1::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=app-misc/glimpse-4.18.6-r1::gentoo'`, * the complete build log and the output of `emerge -pqv '=app-misc/glimpse-4.18.6-r1::gentoo'`. * The complete build log is located at '/var/log/emerge-log/build/app-misc/glimpse-4.18.6-r1:20200510-233611.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/app-misc/glimpse-4.18.6-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/app-misc/glimpse-4.18.6-r1/temp/environment'. * Working directory: '/var/tmp/portage/app-misc/glimpse-4.18.6-r1/work/glimpse-4.18.6' * S: '/var/tmp/portage/app-misc/glimpse-4.18.6-r1/work/glimpse-4.18.6' emerge --info: Portage 2.3.99 (python 3.7.7-final-0, default/linux/amd64/17.1, gcc-10.1.0, glibc-2.31-r2, 5.4.0-1009-aws x86_64) ================================================================= System uname: Linux-5.4.0-1009-aws-x86_64-AMD_EPYC_7571-with-gentoo-2.7 KiB Mem: 16011344 total, 2057120 free KiB Swap: 0 total, 0 free Timestamp of repository gentoo: Mon, 11 May 2020 06:38:53 +0000 sh bash 5.0_p17 ld GNU ld (Gentoo 2.34 p1) 2.34.0 app-shells/bash: 5.0_p17::gentoo dev-lang/perl: 5.30.2::gentoo dev-lang/python: 2.7.18::gentoo, 3.7.7-r2::gentoo, 3.8.2-r2::gentoo sys-apps/baselayout: 2.7::gentoo sys-apps/openrc: 0.42.1::gentoo sys-apps/sandbox: 2.18::gentoo sys-devel/autoconf: 2.69-r5::gentoo sys-devel/automake: 1.16.2::gentoo sys-devel/binutils: 2.34::gentoo sys-devel/gcc: 10.1.0::gentoo sys-devel/gcc-config: 2.2.1::gentoo sys-devel/libtool: 2.4.6-r6::gentoo sys-devel/make: 4.3::gentoo sys-kernel/linux-headers: 5.6::gentoo (virtual/os-headers) sys-libs/glibc: 2.31-r2::gentoo Repositories: gentoo location: /usr/portage sync-type: rsync sync-uri: rsync://rsync.gentoo.org/gentoo-portage priority: -1000 sync-rsync-extra-opts: sync-rsync-verify-metamanifest: yes sync-rsync-verify-jobs: 1 sync-rsync-verify-max-age: 24 ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CC="x86_64-pc-linux-gnu-gcc" CFLAGS="-O2 -pipe -march=native -frecord-gcc-switches" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXX="x86_64-pc-linux-gnu-g++" CXXFLAGS="-O2 -pipe -march=native -frecord-gcc-switches" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--with-bdeps=y -1 -b -k" ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR" FCFLAGS="-O2 -pipe -march=native -frecord-gcc-switches" FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg collision-protect config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms sign split-log strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe -march=native -frecord-gcc-switches" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="C.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0" MAKEOPTS="-j4" PKGDIR="/root/.packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git" PORTAGE_TMPDIR="/var/tmp" USE="acl amd64 berkdb bzip2 cli crypt dri fortran gdbm iconv ipv6 libtirpc multilib ncurses nls nptl openmp pam pcre readline seccomp split-usr ssl tcpd unicode xattr zlib" ABI_X86="64" ADA_TARGET="gnat_2018" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-2" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_7" PYTHON_TARGETS="python2_7 python3_7" RUBY_TARGETS="ruby24 ruby25" USERLAND="GNU" VIDEO_CARDS="amdgpu fbdev intel nouveau radeon radeonsi vesa dummy v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS