* 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 userpriv usersandbox @@@@@ PLEASE PAY ATTENTION HERE!!! @@@@@ This information may help you to understand if this is a duplicate or if this bug exists after you pushed a fix; This ebuild was merged at the following commit: https://github.com/gentoo-mirror/gentoo/commit/e1d1b10751252f56d22e9dd08723ce608d916d3d (Mon Dec 13 12:21:56 UTC 2021) @@@@@ END @@@@@ ################## # emerge --info: # ################## !!! It seems /run is not mounted. Process management may malfunction. Portage 3.0.30 (python 3.10.1-final-0, default/linux/amd64/17.1, gcc-11.2.1, glibc-2.34-r3, 4.19.174-gentoo x86_64) ================================================================= System uname: Linux-4.19.174-gentoo-x86_64-Intel-R-_Xeon-R-_CPU_E5-2650_v4_@_2.20GHz-with-glibc2.34 KiB Mem: 264046488 total, 152790568 free KiB Swap: 0 total, 0 free Timestamp of repository gentoo: Mon, 13 Dec 2021 12:21:55 +0000 sh bash 5.1_p12 ld GNU ld (Gentoo 2.37_p1 p1) 2.37 app-shells/bash: 5.1_p12::gentoo dev-lang/perl: 5.34.0-r5::gentoo dev-lang/python: 3.8.12_p1::gentoo, 3.9.9::gentoo, 3.10.1::gentoo dev-lang/rust: 1.57.0::gentoo dev-util/cmake: 3.22.1::gentoo sys-apps/baselayout: 2.8::gentoo sys-apps/openrc: 0.44.9::gentoo sys-apps/sandbox: 2.29::gentoo sys-devel/autoconf: 2.13-r1::gentoo, 2.71-r1::gentoo sys-devel/automake: 1.16.5::gentoo sys-devel/binutils: 2.37_p1-r1::gentoo sys-devel/gcc: 11.2.1_p20211127::gentoo sys-devel/gcc-config: 2.5-r1::gentoo sys-devel/libtool: 2.4.6-r6::gentoo sys-devel/make: 4.3::gentoo sys-kernel/linux-headers: 5.15-r1::gentoo (virtual/os-headers) sys-libs/glibc: 2.34-r3::gentoo Repositories: gentoo location: /usr/portage sync-type: rsync sync-uri: rsync://rsync.gentoo.org/gentoo-portage priority: -1000 sync-rsync-verify-jobs: 1 sync-rsync-verify-metamanifest: yes sync-rsync-extra-opts: sync-rsync-verify-max-age: 24 ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="* ISC" CBUILD="x86_64-pc-linux-gnu" CC="x86_64-pc-linux-gnu-clang" CFLAGS="-O2 -pipe -march=x86-64 -frecord-gcc-switches -fno-diagnostics-color" 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/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXX="x86_64-pc-linux-gnu-clang++" CXXFLAGS="-O2 -pipe -march=x86-64 -frecord-gcc-switches -fno-diagnostics-color" DISTDIR="/var/tmp/portage/app-misc/glimpse-4.18.6-r1/distdir" EMERGE_DEFAULT_OPTS="--with-bdeps=y -1 -k -b" ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH 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=x86-64 -frecord-gcc-switches -fno-diagnostics-color" FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg buildpkg-live 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=x86-64 -frecord-gcc-switches -fno-diagnostics-color" GENTOO_MIRRORS="http://mirror.leaseweb.com/gentoo/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo/ http://ftp.belnet.be/pub/rsync.gentoo.org/gentoo/ http://distfiles.gentoo.org" LANG="C.UTF8" LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -fuse-ld=lld" MAKEOPTS="-j16" PKGDIR="/root/tbci/binpkg" 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 bzip2 cli crypt dri elogind fortran gdbm iconv ipv6 jumbo-build libglvnd libtirpc multilib native-symlinks ncurses nls nptl openmp pam pcre readline seccomp split-usr ssl unicode xattr zlib" ABI_X86="64" ELIBC="glibc" KERNEL="linux" USERLAND="GNU" Unset: CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RUSTFLAGS ############################## # emerge history (qlop -mv): # ############################## ####################################### # installed packages (qlist -ICvUSS): # ####################################### acct-group/audio-0-r1:0 acct-group/cdrom-0-r1:0 acct-group/dialout-0-r1:0 acct-group/disk-0-r1:0 acct-group/input-0-r1:0 acct-group/kmem-0-r1:0 acct-group/kvm-0-r1:0 acct-group/lp-0-r1:0 acct-group/man-0-r1:0 acct-group/messagebus-0-r1:0 acct-group/polkitd-0-r1:0 acct-group/portage-0:0 acct-group/render-0-r1:0 acct-group/sgx-0:0 acct-group/sshd-0-r1:0 acct-group/tape-0-r1:0 acct-group/tty-0-r1:0 acct-group/video-0-r1:0 acct-user/man-1-r1:0 acct-user/messagebus-0-r1:0 acct-user/polkitd-0-r1:0 acct-user/portage-0:0 acct-user/sshd-0-r1:0 app-admin/eselect-1.4.17:0 -doc -emacs -vim-syntax app-admin/perl-cleaner-2.30:0 app-arch/bzip2-1.0.8-r1:0/1 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 split-usr -static -static-libs app-arch/gzip-1.11:0 -pic -static app-arch/libarchive-3.5.2:0/13 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 acl -blake2 bzip2 e2fsprogs -expat iconv -lz4 lzma -lzo -nettle -static-libs xattr zlib -zstd app-arch/tar-1.34:0 acl -minimal nls -selinux xattr app-arch/unzip-6.0_p26:0 bzip2 -natspec unicode app-arch/xz-utils-5.2.5-r1:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 extra-filters nls split-usr -static-libs app-arch/zstd-1.5.0:0/1 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -lz4 -static-libs threads app-crypt/gnupg-2.3.3-r1:0 bzip2 -doc -ldap nls readline -selinux smartcard ssl -test tofu -tools -usb -user-socket -wks-server app-crypt/gpgme-1.16.0:1/11 -common-lisp cxx -python python_targets_python3_10 python_targets_python3_8 python_targets_python3_9 -qt5 -static-libs app-crypt/libb2-0.98.1-r3:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -native-cflags openmp -static-libs app-crypt/openpgp-keys-gentoo-release-20200704:0 -test app-crypt/pinentry-1.2.0:0 -caps -efl -emacs -gnome-keyring -gtk ncurses -qt5 app-crypt/rhash-1.4.2:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -debug nls ssl -static-libs app-editors/nano-5.9:0 -debug -justify -magic -minimal ncurses nls spell split-usr -static unicode app-eselect/eselect-fontconfig-1.1-r1:0 app-eselect/eselect-iptables-20211203:0 app-eselect/eselect-lib-bin-symlink-0.1.1-r1:0 app-eselect/eselect-pinentry-0.7.2:0 app-eselect/eselect-rust-20210703:0 app-i18n/man-pages-ja-20180315-r1:0 app-i18n/man-pages-l10n-4.10.0:0 l10n_de l10n_es l10n_fr l10n_it l10n_nl l10n_pl l10n_pt-BR l10n_ro app-i18n/man-pages-ru-5.03.2390.2390.20191017-r1:0 app-i18n/man-pages-zh_CN-1.6.3.6:0 app-misc/c_rehash-1.7-r1:0 app-misc/ca-certificates-20211016.3.72:0 -cacert app-misc/editor-wrapper-4-r1:0 app-misc/mime-types-9:0 app-misc/pax-utils-1.3.3:0 -caps -debug -python -python_single_target_python3_10 -python_single_target_python3_8 python_single_target_python3_9 seccomp app-misc/tmux-3.2a:0 -debug -selinux -utempter -vim-syntax app-portage/eix-0.36.0:0 -debug -doc nls -sqlite app-portage/elt-patches-20211104:0 app-portage/gemato-16.2:0 gpg python_targets_pypy3 python_targets_python3_10 python_targets_python3_8 python_targets_python3_9 -test -tools app-portage/gentoolkit-0.5.1-r1:0 python_targets_pypy3 python_targets_python3_10 python_targets_python3_8 python_targets_python3_9 -test app-portage/portage-utils-0.92:0 nls openmp qmanifest qtegrity -static app-shells/bash-5.1_p12:0 -afs -bashlogger -examples -mem-scramble net nls -plugins readline app-shells/push-3.4:0 app-shells/quoter-4.2:0 app-text/ansifilter-2.18:0 -qt5 app-text/build-docbook-catalog-2.1:0 app-text/docbook-xml-dtd-4.5-r2:4.5 app-text/docbook-xml-dtd-4.4-r3:4.4 app-text/docbook-xml-dtd-4.2-r3:4.2 app-text/docbook-xml-dtd-4.1.2-r7:4.1.2 app-text/docbook-xsl-stylesheets-1.79.1-r2:0 -ruby app-text/manpager-1:0 app-text/opensp-1.5.2-r6:0 -doc nls -static-libs -test app-text/po4a-0.65:0 -test -test app-text/sgml-common-0.6.3-r7:0 app-text/xmlto-0.0.28-r8:0 -latex -text dev-db/sqlite-3.37.0:3 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -debug -doc -icu readline -secure-delete -static-libs -tcl -test -tools dev-lang/perl-5.34.0-r5:0/5.34 -berkdb -debug -doc gdbm ithreads -minimal dev-lang/python-3.10.1:3.10 -bluetooth -build -examples gdbm -hardened -lto ncurses -pgo readline sqlite ssl -test -tk -verify-sig -wininst xml dev-lang/python-3.9.9:3.9 -bluetooth -build -examples gdbm -hardened -lto ncurses -pgo readline sqlite ssl -test -tk -verify-sig -wininst xml dev-lang/python-3.8.12_p1:3.8 -bluetooth -build -examples gdbm -hardened ncurses readline sqlite ssl -test -tk -verify-sig -wininst xml dev-lang/python-exec-2.4.8:2 native-symlinks python_targets_pypy3 python_targets_python3_10 python_targets_python3_8 python_targets_python3_9 -test dev-lang/python-exec-conf-2.4.6:2 python_targets_pypy3 python_targets_python3_10 python_targets_python3_8 python_targets_python3_9 dev-lang/rust-1.57.0:stable/1.57 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -clippy cpu_flags_x86_sse2 -debug -doc -llvm_targets_AArch64 -llvm_targets_AMDGPU -llvm_targets_ARM -llvm_targets_AVR -llvm_targets_BPF -llvm_targets_Hexagon -llvm_targets_Lanai -llvm_targets_Mips -llvm_targets_MSP430 -llvm_targets_NVPTX -llvm_targets_PowerPC -llvm_targets_RISCV -llvm_targets_Sparc -llvm_targets_SystemZ -llvm_targets_WebAssembly llvm_targets_X86 -llvm_targets_XCore -miri -nightly -parallel-compiler -rls -rust-src -rustfmt -system-bootstrap -system-llvm -test -verify-sig -wasm dev-lang/spidermonkey-78.15.0:78 -clang -cpu_flags_arm_neon -debug jit -lto -test dev-lang/tcl-8.6.12:0/8.6 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -debug threads dev-libs/elfutils-0.186:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 bzip2 -lzma nls -static-libs -test -threads utils -valgrind -zstd dev-libs/expat-2.4.1:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -examples split-usr -static-libs unicode dev-libs/glib-2.70.2:2 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -dbus -debug elf -fam -gtk-doc mime -selinux -static-libs -sysprof -systemtap -test -utils xattr dev-libs/gmp-6.2.1-r2:0/10.4 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 asm cxx -doc -pic -static-libs dev-libs/gobject-introspection-1.70.0:0 -doctool -gtk-doc -python_single_target_python3_10 -python_single_target_python3_8 python_single_target_python3_9 -test dev-libs/gobject-introspection-common-1.70.0:0 dev-libs/icu-70.1:0/70.1 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -debug -doc -examples -static-libs dev-libs/isl-0.24-r2:0/23 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -static-libs dev-libs/jsoncpp-1.9.5:0/25 -doc -test dev-libs/libassuan-2.5.5:0 dev-libs/libevent-2.1.12:0/2.1-7 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 clock-gettime -debug -malloc-replacement ssl -static-libs -test threads -verbose-debug dev-libs/libffi-3.4.2-r1:0/8 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -debug -exec-static-trampoline -pax-kernel -static-libs -test dev-libs/libffi-compat-3.3-r2:7 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -debug -pax-kernel -test dev-libs/libgcrypt-1.9.4:0/20 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 asm -cpu_flags_arm_neon cpu_flags_x86_aes cpu_flags_x86_avx cpu_flags_x86_avx2 -cpu_flags_x86_padlock -cpu_flags_x86_sha cpu_flags_x86_sse4_1 -doc -o-flag-munging -static-libs dev-libs/libgpg-error-1.43:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -common-lisp nls -static-libs dev-libs/libksba-1.6.0:0 -static-libs dev-libs/libltdl-2.4.6:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -static-libs dev-libs/libpcre-8.45:3 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 bzip2 cxx jit -libedit pcre16 pcre32 readline recursion-limit split-usr -static-libs unicode zlib dev-libs/libpcre2-10.39:0/3 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 bzip2 jit -libedit pcre16 pcre32 readline recursion-limit split-usr -static-libs unicode zlib dev-libs/libpipeline-1.5.4:0 -test dev-libs/libtasn1-4.18.0:0/6 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -static-libs -test -valgrind dev-libs/libunistring-0.9.10-r1:0/2 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -doc -static-libs dev-libs/libuv-1.42.0:0/1 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 dev-libs/libxml2-2.9.12-r5:2 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -debug -examples -icu ipv6 -lzma python python_targets_python3_10 python_targets_python3_8 python_targets_python3_9 readline -static-libs -test -verify-sig dev-libs/libxslt-1.1.34-r2:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 crypt -debug -examples -static-libs -verify-sig dev-libs/lzo-2.10:2 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -examples split-usr -static-libs dev-libs/mpc-1.2.1:0/3 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -static-libs dev-libs/mpfr-4.1.0_p13-r1:0/6 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -static-libs dev-libs/nettle-3.7.3:0/8-6 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 asm -cpu_flags_arm_neon cpu_flags_x86_aes -cpu_flags_x86_sha -doc gmp -static-libs -test dev-libs/npth-1.6-r1:0 dev-libs/nspr-4.32:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -debug dev-libs/openssl-1.1.1l-r1:0/1.1 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 asm cpu_flags_x86_sse2 -rfc3779 -sctp -sslv3 -static-libs -test -tls-compression -tls-heartbeat -vanilla dev-libs/popt-1.18:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 nls -static-libs dev-perl/Encode-EUCJPASCII-0.30.0-r1:0 -test dev-perl/Encode-HanExtra-0.230.0-r3:0 dev-perl/Encode-Locale-1.50.0-r1:0 -test dev-perl/File-Listing-6.140.0:0 -test dev-perl/HTML-Parser-3.760.0:0 -test dev-perl/HTML-Tagset-3.200.0-r2:0 dev-perl/HTTP-Cookies-6.100.0:0 -test dev-perl/HTTP-Date-6.50.0:0 dev-perl/HTTP-Message-6.330.0:0 -test -test dev-perl/HTTP-Negotiate-6.10.0-r2:0 -test dev-perl/IO-HTML-1.4.0:0 -test dev-perl/IO-Socket-INET6-2.720.0-r2:0 -test dev-perl/IO-Socket-SSL-2.72.0:0 -examples -idn -test dev-perl/libwww-perl-6.580.0:0 ssl -test dev-perl/Locale-gettext-1.70.0-r1:0 -test dev-perl/LWP-MediaTypes-6.40.0:0 -test dev-perl/LWP-Protocol-https-6.100.0:0 -test dev-perl/MIME-Charset-1.12.2-r1:0 l10n_ja l10n_zh -test dev-perl/Module-Build-0.423.100:0 -test dev-perl/Mozilla-CA-20999999-r1:0 -test dev-perl/Net-HTTP-6.210.0:0 -minimal -test dev-perl/Net-SSLeay-1.900.0:0 -examples -examples -minimal -test dev-perl/Pod-Parser-1.630.0-r1:0 -test dev-perl/SGMLSpm-1.1-r2:0 -test dev-perl/Socket6-0.290.0:0 -test dev-perl/TermReadKey-2.380.0:0 -examples -test dev-perl/Text-CharWidth-0.40.0-r2:0 -test dev-perl/Text-WrapI18N-0.60.0-r2:0 -test dev-perl/TimeDate-2.330.0-r1:0 -test dev-perl/Try-Tiny-0.310.0:0 -minimal -test dev-perl/Unicode-LineBreak-2019.1.0:0 dev-perl/URI-5.100.0:0 -test dev-perl/WWW-RobotRules-6.20.0-r2:0 -test dev-perl/XML-Parser-2.460.0-r1:0 dev-perl/YAML-Tiny-1.730.0-r1:0 -minimal -test dev-python/certifi-3021.3.16:0 python_targets_pypy3 python_targets_python3_10 python_targets_python3_8 python_targets_python3_9 -test dev-python/charset_normalizer-2.0.9:0 python_targets_pypy3 python_targets_python3_10 python_targets_python3_8 python_targets_python3_9 -test dev-python/idna-3.3:0 python_targets_pypy3 python_targets_python3_10 python_targets_python3_8 python_targets_python3_9 dev-python/jinja-3.0.3:0 -doc -examples python_targets_pypy3 python_targets_python3_10 python_targets_python3_8 python_targets_python3_9 -test dev-python/markupsafe-2.0.1:0 python_targets_pypy3 python_targets_python3_10 python_targets_python3_8 python_targets_python3_9 -test dev-python/packaging-21.3-r1:0 python_targets_pypy3 python_targets_python3_10 python_targets_python3_8 python_targets_python3_9 -test dev-python/pyparsing-3.0.6:0 -examples python_targets_pypy3 python_targets_python3_10 python_targets_python3_8 python_targets_python3_9 -test dev-python/pypy3-7.3.7:0/pypy38-pp73 bzip2 gdbm jit ncurses -sqlite -test -tk dev-python/pypy3-exe-bin-7.3.7:7.3.7 dev-python/PySocks-1.7.1-r1:0 python_targets_pypy3 python_targets_python3_10 python_targets_python3_8 python_targets_python3_9 dev-python/requests-2.26.0:0 python_targets_pypy3 python_targets_python3_10 python_targets_python3_8 python_targets_python3_9 -socks5 -test dev-python/setuptools-59.6.0:0 python_targets_pypy3 python_targets_python3_10 python_targets_python3_8 python_targets_python3_9 -test dev-python/setuptools_scm-6.3.2:0 python_targets_pypy3 python_targets_python3_10 python_targets_python3_8 python_targets_python3_9 -test dev-python/tomli-1.2.2-r1:0 python_targets_pypy3 python_targets_python3_10 python_targets_python3_8 python_targets_python3_9 -test dev-python/urllib3-1.26.7:0 -brotli python_targets_pypy3 python_targets_python3_10 python_targets_python3_8 python_targets_python3_9 -test dev-util/cmake-3.22.1:0 -doc -emacs ncurses -qt5 -test -test dev-util/desktop-file-utils-0.26-r1:0 -emacs dev-util/glib-utils-2.70.2:0 -python_single_target_python3_10 -python_single_target_python3_8 python_single_target_python3_9 dev-util/gperf-3.1:0 dev-util/gtk-doc-am-1.33.2:0 dev-util/intltool-0.51.0-r2:0 dev-util/meson-0.60.2-r1:0 python_targets_python3_10 python_targets_python3_8 python_targets_python3_9 -test dev-util/meson-format-array-0:0 python_targets_python3_10 python_targets_python3_8 python_targets_python3_9 dev-util/ninja-1.10.2-r1:0 -doc -emacs -test -vim-syntax dev-util/pkgconf-1.8.0-r1:0/3 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -test dev-util/re2c-2.2:0 -debug -test dev-vcs/git-2.34.1-r1:0 blksha1 -cgi curl -cvs -doc -emacs -gnome-keyring gpg -highlight iconv -mediawiki -mediawiki-experimental nls pcre -perforce -perl -ppcsha1 -python_single_target_python3_10 -python_single_target_python3_8 python_single_target_python3_9 -subversion -test threads -tk webdav -xinetd media-fonts/liberation-fonts-2.1.3:0 -fontforge -X -X media-gfx/graphite2-1.3.14:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -perl -test media-libs/fontconfig-2.13.1-r2:1.0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -doc -static-libs media-libs/freetype-2.11.1:2 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 adobe-cff -brotli bzip2 cleartype-hinting -debug -doc -fontforge harfbuzz -infinality png -static-libs -utils -X media-libs/harfbuzz-3.1.2:0/3.0.0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 cairo -debug -doc -experimental glib graphite -icu introspection -test truetype media-libs/libpng-1.6.37-r2:0/16 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -apng -cpu_flags_arm_neon cpu_flags_x86_sse -static-libs net-dns/libidn2-2.3.2:0/2 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -static-libs -verify-sig net-firewall/iptables-1.8.7:0/1.8.3 -conntrack ipv6 -netlink -nftables -pcap split-usr -static-libs net-libs/gnutls-3.7.2:0/30 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 cxx -dane -doc -examples -guile idn nls openssl -pkcs11 seccomp -sslv2 -sslv3 -static-libs -test -test-full tls-heartbeat -tools -valgrind net-libs/libmnl-1.0.4:0/0.2.0 -examples split-usr -static-libs net-libs/libnsl-2.0.0-r1:0/3 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -static-libs net-libs/libtirpc-1.3.2:0/3 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 ipv6 -kerberos split-usr -static-libs net-libs/nghttp2-1.46.0:0/1.14 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -cxx -debug -hpack-tools -jemalloc -static-libs -test threads -utils -xml net-misc/curl-7.80.0:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -adns -alt-svc -brotli -curl_ssl_gnutls -curl_ssl_mbedtls -curl_ssl_nss curl_ssl_openssl -curl_ssl_winssl ftp -gnutls -gopher -hsts http2 -idn imap ipv6 -kerberos -ldap -mbedtls -nghttp3 -nss openssl pop3 progress-meter -quiche -rtmp -samba smtp -ssh ssl -sslv3 -static-libs -telnet -test tftp -threads -winssl -zstd net-misc/iputils-20210722-r1:0 arping -caps -clockdiff -doc filecaps -gcrypt -idn ipv6 -nettle nls -rarpd -rdisc ssl -static -test -tftpd -tracepath -traceroute6 net-misc/netifrc-0.7.3:0 net-misc/openssh-8.8_p1-r3:0 -abi_mips_n32 -audit -debug -hpn -kerberos -ldns -libedit -livecd pam pie scp -sctp -security-key -selinux ssl -static -test -X -X509 -xmss net-misc/rsync-3.2.3-r5:0 acl -examples iconv ipv6 -lz4 ssl -stunnel -system-zlib xattr -xxhash -zstd net-misc/wget-1.21.2:0 -cookie_check -debug -gnutls -idn ipv6 -metalink nls -ntlm pcre ssl -static -test -uuid zlib perl-core/Encode-3.120.0:0 perl-core/File-Temp-0.231.100:0 perl-core/Scalar-List-Utils-1.560.0:0 sys-apps/acl-2.3.1:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 nls split-usr -static-libs sys-apps/attr-2.5.1:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -debug nls split-usr -static-libs sys-apps/baselayout-2.8:0 -build split-usr sys-apps/coreutils-9.0-r1:0 acl -caps -gmp -hostname -kill -multicall nls -selinux split-usr -static -test -vanilla xattr sys-apps/dbus-1.12.20-r4:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -debug -doc elogind -selinux -static-libs -systemd -test -test -X sys-apps/debianutils-5.5:0 installkernel -static sys-apps/diffutils-3.8:0 nls -static sys-apps/file-5.41:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 bzip2 -lzma -python python_targets_python3_10 python_targets_python3_8 python_targets_python3_9 -seccomp -static-libs zlib sys-apps/findutils-4.8.0-r1:0 nls -selinux -static -test sys-apps/gawk-5.1.1-r1:0 -mpfr nls readline sys-apps/gentoo-functions-0.15:0 sys-apps/grep-3.7:0 nls pcre -static sys-apps/groff-1.22.4:0 -examples -uchardet -X sys-apps/help2man-1.48.5:0 nls sys-apps/install-xattr-0.8:0 sys-apps/iproute2-5.15.0:0 -atm -berkdb -bpf -caps -elf iptables ipv6 -libbsd -minimal -selinux sys-apps/kbd-2.4.0:0 nls pam -test sys-apps/kmod-29:0 -debug -doc lzma -pkcs7 -python python_targets_python3_10 python_targets_python3_8 python_targets_python3_9 -static-libs tools zlib -zstd sys-apps/less-590:0 pcre unicode sys-apps/man-db-2.9.4-r1:0 -berkdb gdbm manpager nls seccomp -selinux -static-libs zlib sys-apps/man-pages-5.13:0 l10n_de l10n_es l10n_fr l10n_it l10n_ja l10n_nl l10n_pl l10n_pt-BR l10n_ro l10n_ru l10n_zh-CN sys-apps/man-pages-posix-2017a:0 sys-apps/net-tools-2.10:0 arp hostname ipv6 -nis nls -plipconfig -selinux -slattach -static sys-apps/openrc-0.44.9:0 -audit -bash -debug ncurses netifrc -newnet pam -selinux -sysv-utils unicode sys-apps/portage-3.0.30:0 -apidoc -build -doc -gentoo-dev ipc native-extensions python_targets_pypy3 python_targets_python3_10 python_targets_python3_8 python_targets_python3_9 rsync-verify -selinux -test xattr sys-apps/sandbox-2.29:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 abi_x86_32 abi_x86_64 -abi_x86_x32 nnp sys-apps/sed-4.8:0 acl nls -selinux -static sys-apps/shadow-4.9-r4:0 acl -audit -bcrypt -cracklib nls pam -selinux -skey split-usr su xattr sys-apps/systemd-tmpfiles-249.5:0 -selinux -test sys-apps/sysvinit-3.00-r1:0 -ibm -selinux -static sys-apps/texinfo-6.8:0 nls standalone -static sys-apps/util-linux-2.37.2-r1:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -audit -build -caps cramfs -cryptsetup -fdformat hardlink -kill logger -magic ncurses nls pam -python python_targets_python3_8 python_targets_python3_9 readline -rtas -selinux -slang split-usr -static-libs -su suid -systemd -test -tty-helpers -udev unicode sys-apps/which-2.21:0 sys-auth/elogind-246.10-r2:0 acl -audit cgroup-hybrid -debug -doc pam policykit -selinux sys-auth/pambase-20210201.1:0 -caps -debug elogind -gnome-keyring -homed -minimal -mktemp nullok -pam_krb5 -pam_ssh passwdqc -pwhistory -pwquality -securetty -selinux sha512 -systemd sys-auth/passwdqc-2.0.2-r1:0 sys-auth/polkit-0.120-r1:0 -examples -gtk introspection -kde pam -selinux -systemd -test sys-devel/autoconf-2.71-r1:2.71 -emacs sys-devel/autoconf-2.13-r1:2.1 sys-devel/autoconf-archive-2021.02.19-r1:0 sys-devel/autoconf-wrapper-15:0 sys-devel/automake-1.16.5:1.16 -test sys-devel/automake-wrapper-11:0 sys-devel/binutils-2.37_p1-r1:2.37 -cet -default-gold -doc gold -multitarget nls plugins -static-libs -test -vanilla sys-devel/binutils-config-5.4:0 native-symlinks sys-devel/bison-3.8.2:0 -examples nls -static -test sys-devel/clang-13.0.0:13 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -debug -default-compiler-rt -default-libcxx -default-lld -doc -doc -llvm-libunwind -llvm_targets_AArch64 llvm_targets_AMDGPU -llvm_targets_ARC -llvm_targets_ARM -llvm_targets_AVR llvm_targets_BPF -llvm_targets_CSKY -llvm_targets_Hexagon -llvm_targets_Lanai -llvm_targets_M68k -llvm_targets_Mips -llvm_targets_MSP430 llvm_targets_NVPTX -llvm_targets_PowerPC -llvm_targets_RISCV -llvm_targets_Sparc -llvm_targets_SystemZ -llvm_targets_VE -llvm_targets_WebAssembly llvm_targets_X86 -llvm_targets_XCore -python_single_target_python3_10 -python_single_target_python3_8 python_single_target_python3_9 static-analyzer -test -test -xml sys-devel/clang-common-13.0.0:0 sys-devel/clang-runtime-13.0.0:13.0.0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 abi_x86_32 abi_x86_64 -abi_x86_x32 compiler-rt -libcxx openmp sanitize sys-devel/flex-2.6.4-r1:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 nls -static -test sys-devel/gcc-11.2.1_p20211127:11 -ada -cet -custom-cflags cxx -d -debug -doc -fixed-point fortran -go graphite -hardened -jit -libssp lto multilib nls nptl -objc -objc++ -objc-gc openmp pch -pgo pie sanitize ssp -systemtap -test -valgrind -vanilla -vtv -zstd sys-devel/gcc-config-2.5-r1:0 cc-wrappers native-symlinks sys-devel/gettext-0.21-r1:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 acl -cvs cxx -doc -emacs -git -java -java ncurses nls openmp -static-libs sys-devel/gnuconfig-20210107:0 sys-devel/libtool-2.4.6-r6:2 -vanilla sys-devel/lld-13.0.0:0 -debug -test -test sys-devel/llvm-13.0.0:13 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -debug -doc -doc -exegesis gold -libedit libffi -llvm_targets_AArch64 llvm_targets_AMDGPU -llvm_targets_ARC -llvm_targets_ARM -llvm_targets_AVR llvm_targets_BPF -llvm_targets_CSKY -llvm_targets_Hexagon -llvm_targets_Lanai -llvm_targets_M68k -llvm_targets_Mips -llvm_targets_MSP430 llvm_targets_NVPTX -llvm_targets_PowerPC -llvm_targets_RISCV -llvm_targets_Sparc -llvm_targets_SystemZ -llvm_targets_VE -llvm_targets_WebAssembly llvm_targets_X86 -llvm_targets_XCore ncurses -test -xar -xml -z3 sys-devel/llvm-common-13.0.0:0 sys-devel/llvmgold-13-r1:0 sys-devel/m4-1.4.19:0 -examples nls sys-devel/make-4.3:0 -guile nls -static sys-devel/patch-2.7.6-r4:0 -static -test xattr sys-fs/e2fsprogs-1.46.4:0 -cron -fuse -lto nls split-usr -static-libs threads sys-fs/udev-249.6-r2:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 acl kmod -selinux split-usr -test sys-fs/udev-init-scripts-35:0 sys-kernel/installkernel-gentoo-3:0 sys-kernel/linux-headers-5.15-r1:0 -headers-only sys-libs/binutils-libs-2.37_p1-r1:0/2.37 -64-bit-bfd -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -cet -multitarget nls -static-libs sys-libs/compiler-rt-13.0.0:13.0.0 clang -debug -test sys-libs/compiler-rt-sanitizers-13.0.0:13.0.0 asan cfi clang -debug dfsan gwp-asan hwasan libfuzzer lsan memprof msan orc profile safestack scudo -shadowcallstack -test -test tsan ubsan xray sys-libs/e2fsprogs-libs-1.46.4:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 split-usr -static-libs sys-libs/gdbm-1.22:0/6 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 berkdb nls readline -static-libs sys-libs/glibc-2.34-r3:2.2 -audit -caps -cet clone3 -compile-locales -crypt -custom-cflags -doc -gd -headers-only multiarch multilib -multilib-bootstrap -nscd -profile -selinux ssp static-libs -static-pie -suid -systemd -systemtap -test -vanilla sys-libs/libcap-2.61:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 pam split-usr -static-libs -tools sys-libs/libomp-13.0.0-r1:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 abi_x86_32 abi_x86_64 -abi_x86_x32 -cuda -debug -hwloc -llvm_targets_AMDGPU -llvm_targets_NVPTX -offload -ompt -test sys-libs/libseccomp-2.5.3:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -python python_targets_python3_10 python_targets_python3_8 python_targets_python3_9 -static-libs -test sys-libs/libxcrypt-4.4.26-r1:0/1 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 compat split-usr -static-libs system -test sys-libs/ncurses-6.3_p20211106:0/6 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -ada cxx -debug -doc -gpm -minimal -profile split-usr -static-libs -test tinfo -trace sys-libs/pam-1.5.2-r1:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -audit -berkdb -debug filecaps -nis -selinux sys-libs/readline-8.1_p1-r1:0/8 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 split-usr -static-libs unicode -utils sys-libs/timezone-data-2021e:0 -leaps-timezone nls -zic-slim sys-libs/zlib-1.2.11-r4:0/1 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 minizip split-usr -static-libs sys-process/procps-3.3.17-r1:0/8 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 elogind kill -modern-top ncurses nls -selinux split-usr -static-libs -systemd -test unicode sys-process/psmisc-23.4-r1:0 ipv6 nls -selinux -X virtual/acl-0-r2:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -static-libs virtual/awk-1:0 virtual/dev-manager-0-r2:0 virtual/editor-0-r3:0 virtual/libc-1-r1:0 virtual/libcrypt-2:0/2 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -static-libs virtual/libelf-3:0/1 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 virtual/libiconv-0-r2:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 virtual/libintl-0-r2:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 virtual/libudev-232-r5:0/1 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -systemd virtual/man-0-r4:0 virtual/os-headers-0-r2:0 virtual/package-manager-1:0 virtual/pager-0:0 virtual/perl-Carp-1.520.0-r1:0 virtual/perl-Compress-Raw-Bzip2-2.101.0:0 virtual/perl-Compress-Raw-Zlib-2.101.0:0 virtual/perl-CPAN-Meta-2.150.10-r5:0 virtual/perl-CPAN-Meta-Requirements-2.140.0-r7:0 virtual/perl-CPAN-Meta-YAML-0.18.0-r7:0 virtual/perl-Data-Dumper-2.179.0:0 virtual/perl-Digest-MD5-2.580.0:0 virtual/perl-Encode-3.120.0:0 virtual/perl-Exporter-5.760.0:0 virtual/perl-ExtUtils-CBuilder-0.280.236:0 virtual/perl-ExtUtils-Install-2.200.0:0 virtual/perl-ExtUtils-MakeMaker-7.620.0:0 virtual/perl-ExtUtils-Manifest-1.730.0:0 virtual/perl-ExtUtils-ParseXS-3.430.0:0 virtual/perl-File-Spec-3.800.0:0 virtual/perl-File-Temp-0.231.100:0 virtual/perl-Getopt-Long-2.520.0:0 virtual/perl-IO-1.460.0:0 virtual/perl-IO-Compress-2.102.0:0 virtual/perl-IO-Socket-IP-0.410.0:0 virtual/perl-JSON-PP-4.60.0:0 virtual/perl-libnet-3.130.0:0 ssl virtual/perl-MIME-Base64-3.160.0:0 virtual/perl-Module-Metadata-1.0.37-r1:0 virtual/perl-parent-0.238.0-r1:0 virtual/perl-Parse-CPAN-Meta-2.150.10-r5:0 virtual/perl-Perl-OSType-1.10.0-r5:0 virtual/perl-podlators-4.140.0-r2:0 virtual/perl-Scalar-List-Utils-1.560.0:0 virtual/perl-Test-Harness-3.430.0:0 virtual/perl-Text-ParseWords-3.300.0-r8:0 virtual/perl-Time-Local-1.300.0:0 virtual/perl-version-0.992.800:0 virtual/perl-XSLoader-0.300.0-r4:0 virtual/pkgconfig-2-r1:0 virtual/rust-1.57.0:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -rustfmt virtual/service-manager-1:0 virtual/ssh-0:0 -minimal virtual/tmpfiles-0-r1:0 virtual/ttf-fonts-1-r1:0 virtual/udev-217-r3:0 virtual/yacc-0:0 www-client/pybugz-0.13-r1:0 python_targets_python3_8 python_targets_python3_9 x11-libs/cairo-1.16.0-r5:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -aqua -debug -gles2-only glib -opengl -static-libs svg -utils -valgrind -X x11-libs/pixman-0.40.0:0 -abi_mips_n32 -abi_mips_n64 -abi_mips_o32 -abi_s390_32 -abi_s390_64 -abi_x86_32 abi_x86_64 -abi_x86_x32 -cpu_flags_arm_iwmmxt -cpu_flags_arm_iwmmxt2 -cpu_flags_arm_neon -cpu_flags_ppc_altivec cpu_flags_x86_mmxext cpu_flags_x86_sse2 cpu_flags_x86_ssse3 -loongson2f -static-libs x11-misc/shared-mime-info-2.1:0 ####################### # build.log # ####################### >>> 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-clang 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-clang accepts -g... yes checking for x86_64-pc-linux-gnu-clang option to accept ANSI C... none needed checking for ar... /usr/bin/ar checking for x86_64-pc-linux-gnu-ranlib... llvm-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.10/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-clang -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... 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 -j16 'OPTIMIZEFLAGS=-O2 -pipe -march=x86-64 -frecord-gcc-switches -fno-diagnostics-color' 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-clang -I../index -I../agrep -I../libtemplate/include -O2 -pipe -march=x86-64 -frecord-gcc-switches -fno-diagnostics-color -O2 -pipe -march=x86-64 -frecord-gcc-switches -fno-diagnostics-color -c -o hash.o hash.c x86_64-pc-linux-gnu-clang -I../index -I../agrep -I../libtemplate/include -O2 -pipe -march=x86-64 -frecord-gcc-switches -fno-diagnostics-color -O2 -pipe -march=x86-64 -frecord-gcc-switches -fno-diagnostics-color -c -o string.o string.c x86_64-pc-linux-gnu-clang -I../index -I../agrep -I../libtemplate/include -O2 -pipe -march=x86-64 -frecord-gcc-switches -fno-diagnostics-color -O2 -pipe -march=x86-64 -frecord-gcc-switches -fno-diagnostics-color -c -o misc.o misc.c x86_64-pc-linux-gnu-clang -I../index -I../agrep -I../libtemplate/include -O2 -pipe -march=x86-64 -frecord-gcc-switches -fno-diagnostics-color -O2 -pipe -march=x86-64 -frecord-gcc-switches -fno-diagnostics-color -c -o quick.o quick.c x86_64-pc-linux-gnu-clang -I../index -I../agrep -I../libtemplate/include -O2 -pipe -march=x86-64 -frecord-gcc-switches -fno-diagnostics-color -O2 -pipe -march=x86-64 -frecord-gcc-switches -fno-diagnostics-color -c -o cast.o cast.c x86_64-pc-linux-gnu-clang -I../index -I../agrep -I../libtemplate/include -O2 -pipe -march=x86-64 -frecord-gcc-switches -fno-diagnostics-color -O2 -pipe -march=x86-64 -frecord-gcc-switches -fno-diagnostics-color -c -o uncast.o uncast.c x86_64-pc-linux-gnu-clang -I../index -I../agrep -I../libtemplate/include -O2 -pipe -march=x86-64 -frecord-gcc-switches -fno-diagnostics-color -O2 -pipe -march=x86-64 -frecord-gcc-switches -fno-diagnostics-color -c -o tsimpletest.o tsimpletest.c x86_64-pc-linux-gnu-clang -I../index -I../agrep -I../libtemplate/include -O2 -pipe -march=x86-64 -frecord-gcc-switches -fno-diagnostics-color -O2 -pipe -march=x86-64 -frecord-gcc-switches -fno-diagnostics-color -c -o tmemlook.o tmemlook.c x86_64-pc-linux-gnu-clang -I../index -I../agrep -I../libtemplate/include -O2 -pipe -march=x86-64 -frecord-gcc-switches -fno-diagnostics-color -O2 -pipe -march=x86-64 -frecord-gcc-switches -fno-diagnostics-color -c -o tbuild.o tbuild.c x86_64-pc-linux-gnu-clang -I../index -I../agrep -I../libtemplate/include -O2 -pipe -march=x86-64 -frecord-gcc-switches -fno-diagnostics-color -O2 -pipe -march=x86-64 -frecord-gcc-switches -fno-diagnostics-color -c -o main_tbuild.o main_tbuild.c x86_64-pc-linux-gnu-clang -I../index -I../agrep -I../libtemplate/include -O2 -pipe -march=x86-64 -frecord-gcc-switches -fno-diagnostics-color -O2 -pipe -march=x86-64 -frecord-gcc-switches -fno-diagnostics-color -c -o main_cast.o main_cast.c x86_64-pc-linux-gnu-clang -I../index -I../agrep -I../libtemplate/include -O2 -pipe -march=x86-64 -frecord-gcc-switches -fno-diagnostics-color -O2 -pipe -march=x86-64 -frecord-gcc-switches -fno-diagnostics-color -c -o main_uncast.o main_uncast.c tsimpletest.c:32:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] ttest_binary(buffer, length) ^ tsimpletest.c:42:8: warning: implicitly declaring library function 'isgraph' with type 'int (int)' [-Wimplicit-function-declaration] if (!(isgraph(*buffer) || isspace(*buffer))) --permitted_errors; ^ tsimpletest.c:42:8: note: include the header or explicitly provide a declaration for 'isgraph' tsimpletest.c:42:28: warning: implicitly declaring library function 'isspace' with type 'int (int)' [-Wimplicit-function-declaration] if (!(isgraph(*buffer) || isspace(*buffer))) --permitted_errors; ^ tsimpletest.c:42:28: note: include the header or explicitly provide a declaration for 'isspace' tsimpletest.c:51:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] ttest_uuencode(buffer, length) ^ tsimpletest.c:64:13: warning: implicit declaration of function 'tmemlook' is invalid in C99 [-Wimplicit-function-declaration] i = tmemlook("\nbegin", buffer, length); ^ tmemlook.c:23:33: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if(strncmp((char *)pattern+1, text, strlen((char *)patte... ^~~~ /usr/include/string.h:143:51: note: passing argument to parameter '__s2' here extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^ 5 warnings generated. 1 warning generated. quick.c:63:4: warning: implicit declaration of function 'uninitialize_tcompress' is invalid in C99 [-Wimplicit-function-declaration] uninitialize_tcompress(); ^ quick.c:68:8: warning: implicit declaration of function 'initialize_common' is invalid in C99 [-Wimplicit-function-declaration] if (!initialize_common(freq_file, flags)) return 0; ... ^ uncast.c:39:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] initialize_tuncompress(string_file, freq_file, flags) ^ uncast.c:45:7: warning: implicit declaration of function 'initialize_common' is invalid in C99 [-Wimplicit-function-declaration] if (!initialize_common(freq_file, flags)) return 0; ^ cast.c:42:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] initialize_tcompress(hash_file, freq_file, flags) ^ cast.c:48:7: warning: implicit declaration of function 'initialize_common' is invalid in C99 [-Wimplicit-function-declaration] if (!initialize_common(freq_file, flags)) return 0; ^ cast.c:61:7: warning: implicit declaration of function 'tbuild_hash' is invalid in C99 [-Wimplicit-function-declaration] if (!tbuild_hash(compress_hash_table, hashfp, -1)) { /* read ... ^quick.c :127:2: warning: implicit declaration of function 'build_partial_hash' is invalid in C99 [-Wimplicit-function-declaration] build_partial_hash(compress_hash_table, hashfp, hashindexbuf, ha... ^ quick.c:128:11: warning: implicit declaration of function 'tcompress' is invalid in C99 [-Wimplicit-function-declaration] newlen = tcompress(pattern, len, newpattern, maxnewlen, flags); ^ uncast.c:66:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] uninitialize_tuncompress() ^ uncast.c:70:2: warning: implicit declaration of function 'uninitialize_common' is invalid in C99 [-Wimplicit-function-declaration] uninitialize_common(); ^ cast.c:69:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] uninitialize_tcompress() ^ cast.c:74:2: warning: implicit declarationuncast.c :of78 :function1 :'uninitialize_common' warning: isnon-void functioninvalid doesin notC99 return[-Wimplicit-function-declaration] a value [-Wreturn-type] uninitialize_common(); } ^ ^ cast.c:88:1: warning: non-void function does not return a value [-Wreturn-type] } ^ cast.c:121:12: warning: implicit declaration of function 'ttest_binary' is invalid in C99 [-Wimplicit-function-declaration] quick.c if(ttest_binary(buffer, num_read)) {: 165 ^: 4: warning: implicit declaration of function 'uninitialize_tuncompress' is invalid in C99 [-Wimplicit-function-declaration] uninitialize_tuncompress(); ^ cast.c:126:12: warning: implicit declaration of function 'ttest_uuencode' is invalid in C99 [-Wimplicit-function-declaration] if(ttest_uuencode(buffer, num_read)) { ^ quick.c:170:8: warning: implicit declaration of cast.cfunction: 131'initialize_common': 12is: warning: invalidimplicit indeclaration C99of [-Wimplicit-function-declaration]function 'ttest_postscript' is invalid in C99 [-Wimplicit-function-declaration] if (!initialize_common(freq_file, flags)) return 0; ... ^ if(ttest_postscript(buffer, num_read)) { ^ uncast.c:128:1: warning: type specifiermain_uncast.c missing,: defaults15 :to1 :'int' warning: type[-Wimplicit-int] specifier missing, defaults totuncompressible_fp(fp) 'int'^ [-Wimplicit-int] usage(progname) ^ cast.c:140:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] tcompressible_file(name, flags) ^ quick.c:223:2: warning: implicit declaration of function 'build_partial_string' is invalid in C99 [-Wimplicit-function-declaration] build_partial_string(compress_string_table, stringfp, stringinde... ^ main_uncast.c:34:1: warning: type specifierquick.c :missing,224 :defaults11 :to warning: 'int'implicit declaration[-Wimplicit-int] of function 'tuncompress'main(argc, argv) is^ invalid in C99 [-Wimplicit-function-declaration] newlen = tuncompress(pattern, len, newpattern, maxnewlen, flags); ^ cast.c:160:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] tcompressible_fp(fp, flags) ^ main_cast.c:15:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] usage(progname) ^ main_uncast.c:129:7: warning: implicit declaration of function 'initialize_tuncompress' is invalid in C99 [-Wimplicit-function-declaration] if (!initialize_tuncompress(string_file, freq_file, FLAGS)) exit(2); ^ main_cast.c:34:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] main(argc, argv) ^ main_uncast.c:137:5: warning: implicit declaration of function 'tuncompress_file' is invalid in C99 [-Wimplicit-function-declaration] tuncompress_file(name, outname, FLAGS); ^ main_uncast.c:142:9: warning: implicit declaration of function 'tuncompressible' is invalid in C99 [-Wimplicit-function-declaration] if (!tuncompressible(buffer, num_read)) { ^ main_uncast.c:146:4: warning: implicit declaration of function 'tuncompress' is invalid in C99 [-Wimplicit-function-declaration] tuncompress(stdin, -1, stdout, -1, FLAGS); ^ main_uncast.c:151:3: warning: implicit declaration of function 'tuncompress_file' is invalid in C99 [-Wimplicit-function-declaration] tuncompress_file(name, outname, FLAGS); ^ main_cast.c:125:7: warning: implicit declaration of function 'initialize_tcompress' is invalid in C99 [-Wimplicit-function-declaration] if (!initialize_tcompress(hash_file, freq_file, FLAGS)) exit(2); ^ main_cast.c:133:5: warning: implicit declaration of function 'tcompress_file' is invalid in C99 [-Wimplicit-function-declaration] tcompress_file(name, outname, FLAGS); ^ main_cast.c:136:8: warning: implicit declaration of function 'tcompress' is invalid in C99 [-Wimplicit-function-declaration] else tcompress(stdin, -1, stdout, -1, FLAGS); ^ main_cast.c:140:3: warning: implicit declaration of function 'tcompress_file' is invalid in C99 [-Wimplicit-function-declaration] tcompress_file(name, outname, FLAGS); ^ cast.c:553:21: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] c = tgetword(infp, inbuf, maxinlen, &inlen, curword, &curlen); ^~~~~ uncast.c:371:cast.c36::553 :warning: 46implicit: declarationwarning: passingof 'unsigned char [256]'function to'myfpcopy' parameteris ofinvalid type in 'char *'C99 converts[-Wimplicit-function-declaration] between pointers to integer types where one is of the ...if (outfp != NULL) outlen += myfpcopy(outfp, compress_string_table[dinde... ^unique plain 'char' type and the other is not [-Wpointer-sign] c = tgetword(infp, inbuf, maxinlen, &inlen, curword, &curlen); ^~~~~~~ uncast.c:373:18: warning: implicit declaration of function 'mystrcpy' is invalid in C99 [-Wimplicit-function-declaration] outlen += mystrc... ^ cast.c:563:21: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ret = skip(infp, inbuf, maxinlen, &inlen, c, &skiplen); ^~~~~ cast.c:635:38: warning: passing 'unsigned char [256]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if ((ret = get_special_word_index(curword, curle... ^~~~~~~ uncast.c:469:36: warning: implicit declaration of function 'myfpcopy' is invalid in C99 [-Wimplicit-function-declaration] ...if (outfp != NULL) outlen += myfpcopy(outfp, compress_string_table[dinde... ^ uncast.c:471:18: warning: implicit declaration of function 'mystrcpy' is invalid in C99 [-Wimplicit-function-declaration] outlen += mystrc... ^ In file included from cast.c:732: ./trecursive.c:109:3: warning: implicit declaration of function 'tcompress_file' is invalid in C99 [-Wimplicit-function-declaration] FUNCTION(name, outname, flags); ^ cast.c:730:18: note: expanded from macro 'FUNCTION' #define FUNCTION tcompress_file ^ cast.c:735:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] tcompress_file(name, outname, flags) ^ hash.c:168:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] thash4k(word, len) ^ In file included from uncast.c:522: ./trecursive.c:109:3: warning: implicit declaration of function 'tuncompress_file' is invalid in C99 [-Wimplicit-function-declaration] FUNCTION(name, outname, flags); ^ uncast.c:520:18: note: expanded from macro 'FUNCTION' #define FUNCTION tuncompress_file ^ hash.c:212:15: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] *i = thash4k(word, len); ^~~~ hash.c:280:43: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ...fprintf(hashfp, "%d %d %s\n", thash64k(e->word, strlen(e->word)), wordin... ^~~~~~~ hash.c:522:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] pad_hash_file(filename, FILEBLOCKSIZE) ^ string.c:misc.c28::3424::1 :warning: passingwarning: type'unsigned char *' specifierto missing,parameter defaultsof totype 'int' 'const char *'[-Wimplicit-int] converts between pointers to integer typesset_usemalloc() where^ one is of the unique plain 'char' type and the other is not [-Wpointer-sign] misc.c:37: if ((stringfp = fopen(string_file, "w")) == NULL) {1 : ^~~~~~~~~~~ warning: non-void function does/usr/include/stdio.h :not252 :return44 :a note: valuepassing [-Wreturn-type]argument to }parameter ^'__filename' here extern FILE *fopen (const char *__restrict __filename, ^ string.c:32:23: warning: passing misc.c'unsigned char *': 39to: 1parameter: ofwarning: typetype specifier 'const char *'missing, convertsdefaults betweento pointers'int' to[-Wimplicit-int] integer types where unset_usemalloc()one ^is of the unique plain 'char' type and the other is not [-Wpointer-sign] misc.c:42:1: warning: non-void function if ((indexfp = fopen(index_file, "r")) == NULL) {does ^~~~~~~~~~not return a/usr/include/stdio.h :value252 :[-Wreturn-type]44 : note: }passing ^argument to parameter '__filename' here extern FILE *fopen (const char *__restrict __filename, ^ misc.c:61:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] myfpcopy(fp, src) ^ misc.c:75:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] mystrcpy(dest, src) ^ misc.c:80:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(*dest = *src) { ~~~~~~^~~~~~ misc.c:80:14: note: place parentheses around the assignment to silence this warning while(*dest = *src) { ^ ( ) misc.c:80:14: note: use '==' to turn this assignment into an equality comparison while(*dest = *src) { ^ == main_tbuild.c:17misc.c::1203:: 1warning: :type warning: specifiertype missing,specifier defaultsmissing, todefaults 'int'to 'int'[-Wimplicit-int] [-Wimplicit-int] usage(progname) ^ build_freq(freq_words_table, freq_words_strings, freq_words_lens, freq_f... ^ main_tbuild.c:26:1: error: second parameter of 'main' (argument array) must be of type 'char **' main(argc, argv) ^ tbuild.c:88:10: warning: passing 'unsigned char [1024]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sprintf(s, "/tmp/temp%d", pid); ^ main_tbuild.c:44:39/usr/include/stdio.h:: 352warning: :passing38 :'unsigned char *' note: topassing parameterargument ofto typeparameter '__s''char *' hereconverts between pointers to integer types extern int sprintf (char *__restrict __s,where ^one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (argv[i][0] != '-') return usage(argv[0]); ^~~~~~~ tbuild.c:89:22: warning: passing 'unsigned char [1024]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plainmain_tbuild.c :'char'45 :type48 :and warning: thepassing other'unsigned char *' isto notparameter [-Wpointer-sign]of type 'const char *' converts between pointers to if ((tempfp = fopen(s, "w")) == NULL) { integer ^ types where/usr/include/stdio.h :one252 :is44 :of note: passingthe argumentunique toplain parameter'char' '__filename'type andhere the other is not [-Wpointer-sign] extern FILE *fopen (const char *__restrict __filename, ^ else if (argv[i][1] == 'H') strcpy(comp_dir, argv[++i]); ^~~~~~~~~ /usr/include/string.h:125:70: note: passing argument to parameter '__src' here extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ main_tbuild.c:46string.c::48213:: 1warning: :passing warning: 'unsigned char *'type tospecifier parametermissing, ofdefaults typeto 'int''const char *' converts[-Wimplicit-int] between pointers to integer types wherepad_string_file(filename, FILEBLOCKSIZE) one^ is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (argv[i][1] == 't') threshold = atoi(argv[++i]); ^~~~~~~~~ /usr/include/stdlib.h:361:26: note: passing argument to parameter '__nptr' here __NTH (atoi (const char *__nptr)) ^ string.c:225:20: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integermain_tbuild.c :types47 :where51 :one warning: ispassing of'unsigned char *' tothe parameterunique ofplain type'char' type'const char *' andconverts thebetween otherpointers isto notinteger [-Wpointer-sign]types where one is of the unique plain 'char' if ((infp = fopen(filename, "r")) == NULL) { type ^~~~~~~~ and the /usr/include/stdio.hother: 252is: 44not: tbuild.c [-Wpointer-sign]:note: 124passing: 21argument: towarning: passingparameter 'unsigned char [256]''__filename' to hereparameter else if (argv[i][1] == 'l') specialwords = atoi(argv[++i]);of ^~~~~~~~~type 'const char *'/usr/include/stdlib.h :extern FILE *fopen (const char *__restrict __filename,converts361 : ^between26 :pointers note: topassing integerargument typesto whereparameter one'__nptr' ishere of the unique plain 'char'__NTH (atoi (const char *__nptr)) type ^ and the other is not [-Wpointer-sign] curfreq += atoi(tempbuf); ^~~~~~~ /usr/include/stdlib.h:361:26: note: passing argument tostring.c :parameter229 :'__nptr'10 :here warning: passing 'unsigned char [256]' to parameter__NTH (atoi (const char *__nptr)) of ^ type 'char *' converts between pointers to integer types where one main_tbuild.cis: 51of: 21the: warning: uniquepassing plain'unsigned char *' 'char'to typeparameter andof thetype other 'char *'misc.cis: 274notconverts: 1between[-Wpointer-sign]: pointerswarning: typeto specifierinteger missing,types defaultswhere sprintf(buf, "%s.index", filename); to one ^~~ 'int'is of[-Wimplicit-int]/usr/include/stdio.h :the352 : 38unique: plainnote: passinginitialize_common(freq_file, flags)'char' argument^type toand parameterthe '__s'other hereis not [-Wpointer-sign] extern int sprintf (char *__restrict __s, ^ else return usage(argv[0]); ^~~~~~~ tbuild.c:152:10: warning: passing 'unsigned char [1024]' to parameter ofstring.c :type230 : 23'char *': convertswarning: passingbetween 'unsigned char [256]'pointers toto parameterinteger oftypes typewhere one'const char *' isconverts ofbetween thepointers tounique integerplain types'char' wheretype oneand isthe ofother isthe notunique [-Wpointer-sign]plain 'char' type and the other is not [-Wpointer-sign] sprintf(s, "exec %s -n -r /tmp/temp%d > /tmp/sort%d\n", SYSTEM_S... ^ /usr/include/stdio.h:352:38 if ((indexfp = fopen(buf, "w")) == NULL) {: ^~~note: passing argument/usr/include/stdio.h :to252 :parameter44 :'__s' note: herepassing argument to parameter '__filename' extern int sprintf (char *__restrict __s, here ^ extern FILE *fopen (const char *__restrict __filename, ^ tbuild.c:153:9: warning: passing 'unsigned char [1024]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the otherstring.c :is235 :not10 :[-Wpointer-sign] warning: passing 'unsigned char [256]' 6to system(s); warning misc.csparameter ^: and 2911of: error generated/usr/include/stdlib.h1type. :: 789 :warning: 'char *'32type : converts specifier note: passingbetweenmissing, argumentpointersdefaults tototo parameterinteger'int' '__command'types [-Wimplicit-int] where here one is uninitialize_common()of ^the extern int system (const char *__command) __wur; ^unique plain 'char' type and the other is not [-Wpointer-sign] misc.c:294:2: error: non-void sprintf(buf, "%s.%d", filename, pid);tbuild.c : ^~~function154 :'uninitialize_common'10 /usr/include/stdio.h:should: 352warning: return:passing38 :a'unsigned char [1024]' note: topassingvalue parameterargument[-Wreturn-type] toof parameter return;type '__s' ^ 'char *'here converts between pointers toextern int sprintf (char *__restrict __s, integer ^ types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] string.c:236:21: warning: passing 'unsigned char [256]' to parameter sprintf(s, "exec %s /tmp/temp%d\n", SYSTEM_RM, pid); of ^ type /usr/include/stdio.h :'const char *'352 :converts38 :between note: pointerspassing toargument 8integerto warning stypesparameter generated where. '__s' onehere is of the extern int sprintf (char *__restrict __s,unique ^plain 'char' type and the other is not [-Wpointer-sign] if ((outfp = fopen(buf, "w")) == NULL) { ^~~ /usr/include/stdio.htbuild.c::252155::449:: note: warning: passingpassing argument'unsigned char [1024]' toto parameterparameter '__filename'of typehere 'const char *' converts between pointers to extern FILE *fopen (const char *__restrict __filename,integer ^types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] system(s); ^ /usr/include/stdlib.h:789:32: note: passing argument to parameter '__command' here extern int system (const char *__command) __wur; ^ tbuild.c:156:10: warning: passing 'unsigned char [1024]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]string.c :249:27: warning: passing 'unsigned char [256]' to parameter of type 'char *' converts sprintf(s, "exec %s -%d /tmp/sort%d > /tmp/temp%d\n", SYSTEM_HEA...between ^pointers to/usr/include/stdio.h :integer352 :types38 :where note: onepassing isargument ofto theparameter '__s'unique hereplain 'char' type and the extern int sprintf (char *__restrict __s,other ^is not [-Wpointer-sign] if ((char *)buf != fgets(buf, MAX_NAME_LEN, infp)) goto end_of_input; ^~~ /usr/include/stdio.h:586:38: note: passing argument tbuild.cto: 157parameter: 9'__s': herewarning: passing 'unsigned char [1024]' to parameter of type 'const char *' extern char *fgets (char *__restrict __s, int __n, FILE *__restrict __stream)converts ^between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] system(s); ^ /usr/include/stdlib.h:789:32: note: passing argument to parameter '__command'string.c : 251here: 8: warning: passing 'unsigned char [256]' extern int system (const char *__command) __wur;to ^parameter of type 'const char *' converts between pointers to integer types where onetbuild.c :is163 :of10 : thewarning: passingunique 'unsigned char [1024]'plain to'char' parametertype ofand typethe other'char *' isconverts notbetween [-Wpointer-sign]pointers to integer types fputs(buf, outfp);where ^~~one is of/usr/include/stdio.h :the649 : 42unique: plainnote: passing'char' argumenttype toand parameterthe '__s'other hereis not [-Wpointer-sign] sprintf(s, "/tmp/temp%d", pid); extern int fputs (const char *__restrict __s, FILE *__restrict __stream); ^ ^ /usr/include/stdio.h:352:38: note: passing argument to parameter '__s' here extern int sprintf (char *__restrict __s, ^ string.c:256:14: tbuild.cwarning: :passing164 :'unsigned char [256]'22 :to warning: parameterpassing of'unsigned char [1024]' typeto parameter'char *' ofconverts typebetween pointers'const char *' toconverts integerbetween typespointers whereto oneinteger istypes ofwhere theone isunique ofplain 'char'the typeunique andplain the'char' othertype isand notthe [-Wpointer-sign]other is not [-Wpointer-sign] while(fgets(buf, MAX_NAME_LEN, infp) == (char *)buf) { if ((tempfp = fopen(s, "r")) == NULL) { ^~~ ^ /usr/include/stdio.h/usr/include/stdio.h::252586::4438:: note: note: passingpassing argumentargument toto parameterparameter '__filename''__s' herehere extern FILE *fopen (const char *__restrict __filename, ^ extern char *fgets (char *__restrict __s, int __n, FILE *__restrict __stream) ^ 10 warnings and 1 error generated. string.c:261:10: warning: passing 'unsigned char [256]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] fputs(buf, outfp); ^~~ /usr/include/stdio.h:649:42: note: passing argument to parameter '__s' here extern int fputs (const char *__restrict __s, FILE *__restrict __stream); ^ string.c:265:14: warning: passing 'unsigned char [256]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else fputs(buf, outfp); ^~~ /usr/include/stdio.h:649:42: note: passing argument to parameter '__s' here extern int fputs (const char *__restrict __s, FILE *__restrict __stream); ^ string.c:277:10: warning: passing 'unsigned char [256]' to parameter of type 'char *' converts between pointers to integer types where tbuild.cone: 209is: 11of: thewarning: passing unique'unsigned char [1024]' plainto 'char'parameter typeof andtype the 'char *'other convertsis betweennot pointers[-Wpointer-sign] to integer types where one is of the unique plain 'char' type sprintf(buf, "exec %s %s.%d %s\n", SYSTEM_MV, tescapesinglequote...and ^~~the other is/usr/include/stdio.h :not352 :[-Wpointer-sign]38 : note: passing argument sprintf(s, "%x", rand());to ^parameter '__s'/usr/include/stdio.h :here352 :38: note: passing argumentextern int sprintf (char *__restrict __s, to ^ parameter '__s' here extern int sprintf (char *__restrict __s, ^ string.c:278:9: warning: passing 'unsigned char [256]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and make[1]: *** [: main_tbuild.o] Error 1 the other is not [-Wpointer-sign] make[1]: *** Waiting for unfinished jobs.... system(buf); ^~~ /usr/include/stdlib.h:789:32: note: passing argument to parameter '__command' here extern int system (const char *__command) __wur; ^ tbuild.c:229:7: warning: implicit declaration of function 'dump_small_hash' is invalid in C99 [-Wimplicit-function-declaration] if (!dump_small_hash(dict_hash_table, hash_file)) return -1; ^ tbuild.c:237:10: warning: passing 'unsigned char [1024]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sprintf(s, "/tmp/sort%d.a", pid); ^ /usr/include/stdio.h:352:38: note: passing argument to parameter '__s' here extern int sprintf (char *__restrict __s, ^ tbuild.c:238:21: warning: passing 'unsigned char [1024]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if ((awkfp = fopen(s, "w")) == NULL) { ^ /usr/include/stdio.h:252make[1]: *** [: misc.o] Error 1 :44: note: passing argument to parameter '__filename' here extern FILE *fopen (const char *__restrict __filename, ^ tbuild.c:242:10: warning: passing 'unsigned char [1024]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sprintf(s, "BEGIN {}\n{print $3 \" \" $2 \" \" $1}\nEND {}\n"); ^ /usr/include/stdio.h:352:38: note: passing argument to parameter '__s' here extern int sprintf (char *__restrict __s, ^ tbuild.c:254:10: warning: passing 'unsigned char [1024]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sprintf(s, "exec %s -f /tmp/sort%d.a < '%s' > /tmp/sort%d\n", SY... ^ /usr/include/stdio.h:352:38: note: passing argument to parameter '__s' here extern int sprintf (char *__restrict __s, ^ tbuild.c:255:9: warning: passing 'unsigned char [1024]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] system(s); ^ /usr/include/stdlib.h:789:32: note: passing argument to parameter '__command' here extern int system (const char *__command) __wur; ^ tbuild.c:256:10: warning: passing 'unsigned char [1024]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sprintf(s, "exec %s -d -f /tmp/sort%d > /tmp/temp%d\n", SYSTEM_S... ^ /usr/include/stdio.h:352:38: note: passing argument to parameter '__s' here extern int sprintf (char *__restrict __s, ^ tbuild.c:257:9: warning: passing 'unsigned char [1024]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] system(s); ^ /usr/include/stdlib.h:789:32: note: passing argument to parameter '__command' here extern int system (const char *__command) __wur; ^ tbuild.c:259:10: warning: passing 'unsigned char [1024]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sprintf(s, "/tmp/sort%d.a", pid); ^ /usr/include/stdio.h:352:38: note: passing argument to parameter '__s' here extern int sprintf (char *__restrict __s, ^ tbuild.c:260:21: warning: passing 'unsigned char [1024]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if ((awkfp = fopen(s, "w")) == NULL) { ^ /usr/include/stdio.h:252:44: note: passing argument to parameter '__filename' here extern FILE *fopen (const char *__restrict __filename, ^ tbuild.c:264:10: warning: passing 'unsigned char [1024]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sprintf(s, "%s", "BEGIN {}\n{print $3 \" \" NR-1 \" \" $1}\nEND {}\n"); ^ /usr/include/stdio.h:352:38: note: passing argument to parameter '__s' here extern int sprintf (char *__restrict __s, ^ tbuild.c:269:10: warning: passing 'unsigned char [1024]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sprintf(s, "exec %s -f /tmp/sort%d.a < /tmp/temp%d > '%s'\n", SY... ^ /usr/include/stdio.h:352:38: note: passing argument to parameter '__s' here extern int sprintf (char *__restrict __s, ^ tbuild.c:270:9: warning: passing 'unsigned char [1024]' to parameter of type 'const char *' converts between pointers6 warningtos generatedinteger. types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] system(s); ^ /usr/include/stdlib.h:789:32: note: passing argument to parameter '__command' here extern int system (const char *__command) __wur; ^ tbuild.c:277:10: warning: passing 'unsigned char [1024]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sprintf(s, "/tmp/sort%d.a", pid); ^ /usr/include/stdio.h:352:38: 7note: warningpassings generatedargument. to parameter '__s' here extern int sprintf (char *__restrict __s, ^ tbuild.c:278:21: warning: passing 'unsigned char [1024]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if ((awkfp = fopen(s, "w")) == NULL) { ^ /usr/include/stdio.h:252:44: note: passing argument to parameter '__filename' here extern FILE *fopen (const char *__restrict __filename, ^ tbuild.c:282:10: warning: passing 'unsigned char [1024]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sprintf(s, "%s", "BEGIN {}\n{print $3}\nEND {}\n"); ^ /usr/include/stdio.h:352:38: note: passing argument to parameter '__s' here extern int sprintf (char *__restrict __s, ^ tbuild.c:290:10: warning: passing 'unsigned char [1024]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sprintf(s, "exec %s -f /tmp/sort%d.a < '%s' > '%s'\n", SYSTEM_AW... ^ /usr/include/stdio.h:352:38: note: passing argument to parameter '__s' here extern int sprintf (char *__restrict __s, ^ tbuild.c:291:9: warning: passing 'unsigned char [1024]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] system(s); ^ /usr/include/stdlib.h:789:32: note: passing argument to parameter '__command' here extern int system (const char *__command) __wur; ^ tbuild.c:304:2: warning: implicit declaration of function 'pad_hash_file' is invalid in C99 [-Wimplicit-function-declaration] pad_hash_file(hash_file, FILEBLOCKSIZE); ^ tbuild.c:305:2: warning: implicit declaration of function 'pad_string_file' is invalid in C99 [-Wimplicit-function-declaration] pad_string_file(string_file, FILEBLOCKSIZE); ^ 15 warnings generated. 32 warnings generated. 11 warnings generated. 4 warnings generated. 17 warnings generated. 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-clang -DMEASURE_TIMES=0 -DDOTCOMPRESSED=0 -I../agrep -I../libtemplate/include -O2 -pipe -march=x86-64 -frecord-gcc-switches -fno-diagnostics-color -c -o follow.o follow.c x86_64-pc-linux-gnu-clang -DMEASURE_TIMES=0 -DDOTCOMPRESSED=0 -I../agrep -I../libtemplate/include -O2 -pipe -march=x86-64 -frecord-gcc-switches -fno-diagnostics-color -c -o asearch.o asearch.c x86_64-pc-linux-gnu-clang -DMEASURE_TIMES=0 -DDOTCOMPRESSED=0 -I../agrep -I../libtemplate/include -O2 -pipe -march=x86-64 -frecord-gcc-switches -fno-diagnostics-color -c -o asearch1.o asearch1.c x86_64-pc-linux-gnu-clang -DMEASURE_TIMES=0 -DDOTCOMPRESSED=0 -I../agrep -I../libtemplate/include -O2 -pipe -march=x86-64 -frecord-gcc-switches -fno-diagnostics-color -c -o agrep.o agrep.c x86_64-pc-linux-gnu-clang -DMEASURE_TIMES=0 -DDOTCOMPRESSED=0 -I../agrep -I../libtemplate/include -O2 -pipe -march=x86-64 -frecord-gcc-switches -fno-diagnostics-color -c -o bitap.o bitap.c x86_64-pc-linux-gnu-clang -DMEASURE_TIMES=0 -DDOTCOMPRESSED=0 -I../agrep -I../libtemplate/include -O2 -pipe -march=x86-64 -frecord-gcc-switches -fno-diagnostics-color -c -o checkfile.o checkfile.c x86_64-pc-linux-gnu-clang -DMEASURE_TIMES=0 -DDOTCOMPRESSED=0 -I../agrep -I../libtemplate/include -O2 -pipe -march=x86-64 -frecord-gcc-switches -fno-diagnostics-color -c -o compat.o compat.c x86_64-pc-linux-gnu-clang -DMEASURE_TIMES=0 -DDOTCOMPRESSED=0 -I../agrep -I../libtemplate/include -O2 -pipe -march=x86-64 -frecord-gcc-switches -fno-diagnostics-color -c -o maskgen.o maskgen.c x86_64-pc-linux-gnu-clang -DMEASURE_TIMES=0 -DDOTCOMPRESSED=0 -I../agrep -I../libtemplate/include -O2 -pipe -march=x86-64 -frecord-gcc-switches -fno-diagnostics-color -c -o parse.o parse.c x86_64-pc-linux-gnu-clang -DMEASURE_TIMES=0 -DDOTCOMPRESSED=0 -I../agrep -I../libtemplate/include -O2 -pipe -march=x86-64 -frecord-gcc-switches -fno-diagnostics-color -c -o checksg.o checksg.c x86_64-pc-linux-gnu-clang -DMEASURE_TIMES=0 -DDOTCOMPRESSED=0 -I../agrep -I../libtemplate/include -O2 -pipe -march=x86-64 -frecord-gcc-switches -fno-diagnostics-color -c -o preprocess.o preprocess.c x86_64-pc-linux-gnu-clang -DMEASURE_TIMES=0 -DDOTCOMPRESSED=0 -I../agrep -I../libtemplate/include -O2 -pipe -march=x86-64 -frecord-gcc-switches -fno-diagnostics-color -c -o delim.o delim.c x86_64-pc-linux-gnu-clang -DMEASURE_TIMES=0 -DDOTCOMPRESSED=0 -I../agrep -I../libtemplate/include -O2 -pipe -march=x86-64 -frecord-gcc-switches -fno-diagnostics-color -c -o asplit.o asplit.c x86_64-pc-linux-gnu-clang -DMEASURE_TIMES=0 -DDOTCOMPRESSED=0 -I../agrep -I../libtemplate/include -O2 -pipe -march=x86-64 -frecord-gcc-switches -fno-diagnostics-color -c -o recursive.o recursive.c x86_64-pc-linux-gnu-clang -DMEASURE_TIMES=0 -DDOTCOMPRESSED=0 -I../agrep -I../libtemplate/include -O2 -pipe -march=x86-64 -frecord-gcc-switches -fno-diagnostics-color -c -o sgrep.o sgrep.c x86_64-pc-linux-gnu-clang -DMEASURE_TIMES=0 -DDOTCOMPRESSED=0 -I../agrep -I../libtemplate/include -O2 -pipe -march=x86-64 -frecord-gcc-switches -fno-diagnostics-color -c -o newmgrep.o newmgrep.c checkfile.c:47:6: warning: implicit declaration of function 'my_stat' is invalid in C99 [-Wimplicit-function-declaration] if (my_stat(fname, &buf) != 0) { ^ parse.c:45:2: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Wimplicit-function-declaration] new_node(Re_Lit, l, l); ^ ../agrep/re.h:75:3: note: expanded from macro 'new_node' exit(2);\ ^ parse.c:45:2: note: include the header or explicitly provide a declaration for 'exit' ../agrep/re.h:75:3: note: expanded from macro 'new_node' exit(2);\ ^ parse.c:45:2: warning: implicitly declaring library function 'memset' with type 'void *(void *, int, unsigned long)' [-Wimplicit-function-declaration] new_node(Re_Lit, l, l); ^ ../agrep/re.h:77:2: note: expanded from macro 'new_node' memset((l), '\0', sizeof(*(x)));\ ^ parse.c:45:2: note: include the header or explicitly provide a declaration for 'memset' ../agrep/re.h:77:2: note: expanded from macro 'new_node' memset((l), '\0', sizeof(*(x)));\ ^ parse.c:48:18: warning: implicitly declaring library function 'free' with type 'void (void *)' [-Wimplicit-function-declaration] if (l != NULL) free(l); ^ parse.c:48:18: note: include the header or explicitly provide a declaration for 'free' 1 warning generated. x86_64-pc-linux-gnu-clang -DMEASURE_TIMES=0 -DDOTCOMPRESSED=0 -I../agrep -I../libtemplate/include -O2 -pipe -march=x86-64 -frecord-gcc-switches -fno-diagnostics-color -c -o utilities.o utilities.c recursive.c:67:3: warning: implicitly declaring library function 'strcpy' with type 'char *(char *, const char *)' [-Wimplicit-function-declaration] strcpy(name_buf, argv[i]); ^ recursive.c:67:3: note: include the header or explicitly provide a declaration for 'strcpy' recursive.c:71:15: warning: implicit declaration of function 'exec' is invalid in C99 [-Wimplicit-function-declaration] if ((ret = exec(3, file_list)) == -1) return -1; ^ recursive.c:74:5: warning: implicitly declaring library function 'free' with type 'void (void *)' [-Wimplicit-function-declaration] free(file_list[j]); ^ recursive.c:74:5: note: include the header or explicitly provide a declaration for 'free' recursive.c:114:5: warning: implicit declaration of function 'my_lstat' is invalid in C99 [-Wimplicit-function-declaration] if(my_lstat(name, &stbuf) == -1) { ^ recursive.c:129:4: warning: implicit declaration of function 'exec' is invalid in C99 [-Wimplicit-function-declaration] exec(3, file_list); ^ recursive.c:147:15: warning: implicitly declaring library function 'strlen' with type 'unsigned long (const char *)' [-Wimplicit-function-declaration] nbp = name + strlen(name); ^ recursive.c:147:15: note: include the header or explicitly provide a declaration for 'strlen' recursive.c:160:32: warning: implicitly declaring library function 'strcmp' with type 'int (const char *, const char *)' [-Wimplicit-function-declaration] if (dp->d_name[0] == '\0' || strcmp(dp->d_name, ".") == ... ^ recursive.c:160:32: note: include the header or explicitly provide a declaration for 'strcmp' checksg.c:24:13: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] m = strlen(Pattern); ^~~~~~~ /usr/include/string.h:391:35: note: passing argument to parameter '__s' here extern size_t strlen (const char *__s) ^ maskgen.c:6:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern Mask[], Bit[], Init[], NO_ERR_MASK; ~~~~~~ ^ maskgen.c:6:16: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern Mask[], Bit[], Init[], NO_ERR_MASK; ~~~~~~ ^ maskgen.c:6:23: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern Mask[], Bit[], Init[], NO_ERR_MASK; ~~~~~~ ^ maskgen.c:6:31: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern Mask[], Bit[], Init[], NO_ERR_MASK; ~~~~~~ ^ maskgen.c:34:18: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if ((M = strlen(Pattern)) <= 0) return 0; ^~~~~~~ /usr/include/string.h:391:35: note: passing argument to parameter '__s' here extern size_t strlen (const char *__s) ^ compat.c:9:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern FILEOUT; ~~~~~~ ^ compat.c:10:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern REGEX; ~~~~~~ ^ compat.c:11:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern DELIMITER; ~~~~~~ ^ compat.c:12:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern WHOLELINE; ~~~~~~ ^ compat.c:13:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern LINENUM; ~~~~~~ ^ compat.c:14:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern I, S, DD; ~~~~~~ ^ compat.c:14:11: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern I, S, DD; ~~~~~~ ^ compat.c:14:14: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern I, S, DD; ~~~~~~ ^ compat.c:15:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern JUMP; ~~~~~~ ^ 1 warning generated. asearch.c:47:10: warning: implicit declaration of function 'asearch0' is invalid in C99 [-Wimplicit-function-declaration] return asearch0(old_D_pat, text, D); ^ asearch.c:69:15: warning: implicit declaration of function 'fill_buf' is invalid in C99 [-Wimplicit-function-declaration] while ((l = fill_buf(text, buffer + Max_record, BlockSize)) > 0) ^ bitap.c:70:11: warning: implicit declaration of function 're' is invalid in C99 [-Wimplicit-function-declaration] return re(fd, M, D); /* SUN: need to find a ev... ^ bitap.c:73:11: warning: implicit declaration of function 're1' is invalid in C99 [-Wimplicit-function-declaration] return re1(fd, M, D); ^ x86_64-pc-linux-gnu-clang -DMEASURE_TIMES=0 -DDOTCOMPRESSED=0 -I../agrep -I../libtemplate/include -O2 -pipe -march=x86-64 -frecord-gcc-switches -fno-diagnostics-color -c -o dummyfilters.o dummyfilters.c bitap.c:78:10: warning: implicit declaration of function 'asearch1' is invalid in C99 [-Wimplicit-function-declaration] return asearch1(old_D_pat, fd, D); ^ bitap.c:82:10: warning: implicit declaration of function 'asearch' is invalid in C99 [-Wimplicit-function-declaration] return asearch(old_D_pat, fd, D); ^ bitap.c:104:22: warning: implicit declaration of function 'fill_buf' is invalid in C99 [-Wimplicit-function-declaration] while ((num_read = fill_buf(fd, buffer + Max_record, Blo... ^ bitap.c:122:13: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strncpy(buffer+Max_record+num_read, old_... ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:128:40: note: passing argument to parameter '__dest' here extern char *strncpy (char *__restrict __dest, ^ asearch.c:184:18: warning: implicit declaration of function 'output' is invalid in C99 [-Wimplicit-function-declaration] if (-1 == output... ^ asearch.c:187:18: warning: implicit declaration of function 'output' is invalid in C99 [-Wimplicit-function-declaration] if (-1 == output... ^ bitap.c:195:18: warning: implicit declaration of function 'output' is invalid in C99 [-Wimplicit-function-declaration] if (-1 == output... ^ delim.c:15:9: warning: passing 'unsigned char [1024]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strcpy(temp, src); ^~~~ /usr/include/string.h:125:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ delim.c:15:15: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strcpy(temp, src); ^~~ /usr/include/string.h:125:70: note: passing argument to parameter '__src' here extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ delim.c:27:21: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and asearch.cthe: 314other: 18is: notwarning: implicit[-Wpointer-sign] declaration of function 'output' is invalid *pdestlen = strlen(dest); ^~~~in C99 /usr/include/string.h[-Wimplicit-function-declaration]: 391:35: note: passing argument to parameter if (-1 == output... bitap.c '__s' ^: 275here: 18: warning: implicit declaration of extern size_t strlen (const char *__s)function ^'output' is invalid in C99 [-Wimplicit-function-declaration] if (-1 == output...asearch.c : ^317 :18: warning: implicit declaration of function 'output' is invalid in C99 [-Wimplicit-function-declaration] if (-1 == output... ^ bitap.c:297:12: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strncpy(buffer+Max_record-ResidueSize, buffer+la... ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:128:40: note: passing argument to parameter '__dest' here extern char *strncpy (char *__restrict __dest, ^ bitap.c:297:43: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ...strncpy(buffer+Max_record-ResidueSize, buffer+lasti, ResidueSize); ^~~~~~~~~~~~ /usr/include/string.h:129:32: note: passing argument to parameter '__src' here const char *__restrict __src, size_t __n) ^ preprocess.c:53:18: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if ((m = strlen(Pattern)) <= 0) return 0; ^~~~~~~ /usr/include/string.h:391:35: note: passing argument to parameter '__s' here extern size_t strlen (const char *__s) ^ preprocess.c:67:15: warning: implicit declaration of function 'asplit_pattern' is invalid in C99 [-Wimplicit-function-declaration] if (((ret1 = asplit_pattern(Pattern, m, aterminals, &anum_termin... ^ asearch1.c:62:22: warning: implicit declaration of function 'fill_buf'preprocess.c :is68 : 15invalid: inwarning: implicitC99 declaration[-Wimplicit-function-declaration] of function 'asplit_terminal' bitap.c :is396 :invalid18 :in warning: C99implicit while ((num_read = fill_buf(Text, buffer + Max_record, B...[-Wimplicit-function-declaration]declaration ^of function 'output' is invalid in ((ret2 = asplit_terminal(0, anum_terminals, multibuf, &multi...C99 ^[-Wimplicit-function-declaration] if (-1 == output... ^ asearch.c:487:18: warning: implicit declaration of function 'output' is invalid in C99 [-Wimplicit-function-declaration] if (-1 == output... ^ utilities.c:preprocess.c21::702::44 :warning: implicitlywarning: implicitdeclaring declarationlibrary offunction function'exit' 'destroy_tree'with is type invalid'void (int) __attribute__((noreturn))' in [-Wimplicit-function-declaration]C99 [-Wimplicit-function-declaration] asearch.c:490:18: warning: asearch1.cimplicit new_node(Stack, node, node);: 77 declaration: ^ 13 of: if (AComplexBoolean && (AParse != NULL)) destroy_tree(AP...functionwarning: passing../agrep/re.h ^'output' :'unsigned char *' 75 is:to 3 invalid:parameter ofnote: in expanded type C99 from [-Wimplicit-function-declaration]'char *'macro converts'new_node' between pointers exit(2);\to ^integerpreprocess.c : if (-1 == output...types 80newmgrep.c utilities.c ^::where52: 14 :21::one8 2 :warning: :is passingnote: ofwarning: include type'unsigned char *' thethe specifierto header missing,uniqueparameter ofdefaultsplainor typeto'char'explicitly 'int'typeprovide'const char *' andaconverts[-Wimplicit-int] the between declaration other pointers for is to 'exit' not integer extern COUNT, FNAME, SILENT, FILENAMEONLY, prev_num_of_matched, num_of_m...[-Wpointer-sign]../agrep/re.htypes : ~~~~~~ ^75where : 3one: isnote: newmgrep.cexpandedof: strncpy(buffer+Max_record+num_read, old_...52from : the ^~~~~~~~~~~~~~~~~~~~~~~~~~15macro : unique 'new_node' warning: plaintype 'char'specifier exit(2);\type missing, ^and/usr/include/string.h :defaultsthe 128 to:other 40 'int'is: notnote: [-Wimplicit-int] passing[-Wpointer-sign] argument to parameterutilities.c :'__dest' m = strlen(Pattern); 21 here:extern COUNT, FNAME, SILENT, FILENAMEONLY, prev_num_of_matched, num_of_m... ^~~~~~~ 2 :~~~~~~ ^ warning: /usr/include/string.himplicitly: 391declaringextern char *strncpy (char *__restrict __dest,newmgrep.c: :35library ^52: : function22note: :passing'memset' argumentwithwarning: typeto typespecifierparameter 'void *(void *, int, unsigned long)'missing,'__s' defaultshere[-Wimplicit-function-declaration] to 'int' [-Wimplicit-int] extern size_t strlen (const char *__s) new_node(Stack, node, node); ^ ^ ../agrep/re.h:77:2: note: extern COUNT, FNAME, SILENT, FILENAMEONLY, prev_num_of_matched, num_of_m...expanded ~~~~~~ ^from macro 'new_node' newmgrep.c:52:30: warning: type memset((l), '\0', sizeof(*(x)));\ specifier ^ missing, defaults utilities.cto: 21'int': 2 :[-Wimplicit-int] note: include the header or explicitly provide extern COUNT, FNAME, SILENT, FILENAMEONLY, prev_num_of_matched, num_of_m...a ~~~~~~ ^ declaration for 'memset' newmgrep.c:../agrep/re.h52::7744::2 :warning: typenote: expandedspecifier frommissing, macrodefaults preprocess.c 'new_node':to 97'int': 23 :[-Wimplicit-int] warning: memset((l), '\0', sizeof(*(x)));\implicit ^declaration of function 'quick_tcompress' is invalid in C99extern COUNT, FNAME, SILENT, FILENAMEONLY, prev_num_of_matched, num_of_m... [-Wimplicit-function-declaration]~~~~~~ ^ bitap.c :476:18: newmgrep.cwarning: :implicit52 :declaration65 :of warning: functiontype 'output'specifier ismissing, invalid if ((tc_D_length = quick_tcompress(FREQ_FILE, HA...defaults in ^to 'int'C99 [-Wimplicit-function-declaration][-Wimplicit-int] if (-1 == output... ^extern COUNT, FNAME, SILENT, FILENAMEONLY, prev_num_of_matched, num_of_m... ~~~~~~ ^ newmgrep.c:52:81: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] preprocess.c:98:12extern COUNT, FNAME, SILENT, FILENAMEONLY, prev_num_of_matched, num_of_matched, P...: ~~~~~~ ^warning: passing 'unsigned char [32]' to parameter of newmgrep.ctype: 53 :'char *'8 :converts warning: betweentype pointersspecifier tomissing, integerdefaults typesto where'int' one [-Wimplicit-int]is of the uniqueextern INVERSE, OUTTAIL; plain~~~~~~ ^ 'char' type andnewmgrep.c :the53 :other17 :is warning: nottype [-Wpointer-sign]specifier missing, defaults to 'int' [-Wimplicit-int] strcpy(tc_D_pattern, D_pattern); ^~~~~~~~~~~~ /usr/include/string.hextern INVERSE, OUTTAIL;: 125~~~~~~ ^: 39: note: passing argument to newmgrep.cparameter7: warning54'__dest's: 8 generatedhere:. warning: type specifier missing, defaults to 'int' extern char *strcpy (char *__restrict __dest, const char *__restrict __src) [-Wimplicit-int] ^ extern WORDBOUND, WHOLELINE, NOUPPER; ~~~~~~ ^ preprocess.c:98:26newmgrep.c:: 54warning: :passing19 :'unsigned char *' warning: totype parameterspecifier ofmissing, typedefaults to'const char *' 'int'converts between[-Wimplicit-int] pointers to integer types whereextern WORDBOUND, WHOLELINE, NOUPPER; one~~~~~~ ^ is of thenewmgrep.c :unique54 :plain30 :'char' warning: typetype andspecifier themissing, otherdefaults isto not'int' [-Wpointer-sign] [-Wimplicit-int] strcpy(tc_D_pattern, D_pattern);extern WORDBOUND, WHOLELINE, NOUPPER; ^~~~~~~~~~~~~~~ ^ /usr/include/string.h:125:70: note: passing argument to parameter '__src' here newmgrep.c:59:8: warning: type specifier missing,extern char *strcpy (char *__restrict __dest, const char *__restrict __src) defaults ^ to 'int' [-Wimplicit-int] extern total_line; ~~~~~~ ^ newmgrep.c:60:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern agrep_initialfd; ~~~~~~ ^ asearch1.c:158:18: warning: implicitpreprocess.c :declaration113 :of33 :function warning: 'output'passing is'unsigned char *' invalidto parameterin ofC99 type[-Wimplicit-function-declaration] 'const char *' converts between pointers to integer types where one if (-1 == output...is ^of the unique plain 'char' type and the other asearch.cis: 617not: 18[-Wpointer-sign]: warning: implicit declaration of function 'output' is invalid in C99 [-Wimplicit-function-declaration] r_pat = (CHAR *) malloc(strlen(Pattern)+2*strlen(D_pattern) + 8)... ^~~~~~~ /usr/include/string.h:391:35: note: passing asearch1.cargument if (-1 == output...: 161to ^: 18parameter: '__s'warning: implicithere declaration of function 'output' extern size_t strlen (const char *__s)is ^invalid in C99 [-Wimplicit-function-declaration] preprocess.c if (-1 == output...: 113 ^asearch.c: :utilities.c51620:::42 18:warning: :3passing : warning: 'unsigned char *'implicitwarning: implicitlytodeclaration declaringparameterof libraryoffunction functiontype'output' 'free' is 'const char *' withinvalid converts inbetweentype C99pointers'void (void *)' [-Wimplicit-function-declaration]to[-Wimplicit-function-declaration] integer types where free(temp); one ^ is if (-1 == output...ofutilities.c : ^ 42 the: 3unique: plainnote: include'char' thetype headerand the orother explicitlyis providenot a[-Wpointer-sign] declaration for 'free' r_pat = (CHAR *) malloc(strlen(Pattern)+2*strlen(D_pattern) + 8); ... ^~~~~~~~~ /usr/include/string.h:391:35: note: passing argument to parameter '__s' here extern size_t strlen (const char *__s) ^ preprocess.c:114:9: warning: passing 'unsigned char [1024]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strcpy(temp, D_pattern); ^~~~ /usr/include/string.h:125:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ preprocess.c:114:15: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where newmgrep.cone :is195 :of21 : thewarning: implicitunique declarationplain of'char' functiontype 'fill_buf'and isthe otherinvalid isin notC99 [-Wpointer-sign][-Wimplicit-function-declaration] strcpy(temp, D_pattern); ^~~~~~~~~ /usr/include/string.h while((num_read = fill_buf(mfp, buf+length, 2*BlockSize)) > 0) {: 125 ^: 70: note: passing argument to parameter '__src' here extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ preprocess.c:115:21: warning: passing 'unsigned char [1024]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] d_end = t = strlen(temp); /* size of D_pattern, including '; ' */ ^~~~ /usr/include/string.h:391:35: note: passing argument to parameter '__s' here extern size_t strlen (const char *__s) ^ preprocess.c:121:10: warning: passing 'unsigned char [1024]' to parameter of type 'char *' converts between pointers toasearch1.c :integer255 :types18 :where warning: oneimplicit isdeclaration ofof functionthe 'output'unique isplain invalid'char' typein andC99 the[-Wimplicit-function-declaration] other is not [-Wpointer-sign] strcat(temp, Pattern); if (-1 == output... ^~~~ ^ /usr/include/string.h:133:39: note: passing argument to parameter '__dest' here extern char *strcat (char *__restrict __dest, const char *__restrict __src) ^ preprocess.c:asearch1.c121::25816::18 :warning: passingwarning: implicit'unsigned char *' declarationto ofparameter functionof 'output'type is 'const char *'invalid converts inbetween C99pointers [-Wimplicit-function-declaration]to integer types where one is of if (-1 == output... the ^ unique plain 'char' type and the other is not [-Wpointer-sign] strcat(temp, Pattern); ^~~~~~~ /usr/include/string.h:133:70: note: passing argument to parameter '__src' here extern char *strcat (char *__restrict __dest, const char *__restrict __src) ^ preprocess.c:122:14: warning: passing 'unsigned char [1024]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] m = strlen(temp); ^~~~ /usr/include/string.h:391:35: note: passing argument to parameter '__s' here extern size_t strlen (const char *__s) ^ asearch1.c:287:12: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the newmgrep.c :unique287 :plain14 :'char' preprocess.cwarning: type:passing 135 and:'unsigned char *' 10 the:to otherwarning: parameterpassingis ofnot'unsigned char [1024]' type[-Wpointer-sign]to parameter'const char *' ofconverts betweentype pointers'char *' strncpy(buffer+Max_record-ResidueSize, buffer+la... toconverts ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ betweeninteger pointers/usr/include/string.htypes : to128where : integer40one: typesisnote: passingwhereof oneargument theisto uniqueofparameter plain '__dest''char' the here type unique andplain extern char *strncpy (char *__restrict __dest,the'char' ^typeother isand notthe asearch1.c [-Wpointer-sign]:other 287 :is43x86_64-pc-linux-gnu-clang -DMEASURE_TIMES=0 -DDOTCOMPRESSED=0 -I../agrep -I../libtemplate/include -O2 -pipe -march=x86-64 -frecord-gcc-switches -fno-diagnostics-color -c -o main.o main.c :not warning: [-Wpointer-sign] p = strlen(patt[i]);passing ^~~~~~~'unsigned char *' to parameter of strcat(temp, Pattern); type ^~~~ 'const char *' converts /usr/include/string.hbetween: 133pointers:/usr/include/string.h 39:to:391 :integernote: 35 passing:types argumentnote: where passing to one argument parameter is to '__dest' of parameter here '__s'the hereunique plain 'char' type and the extern size_t strlen (const char *__s)other extern char *strcat (char *__restrict __dest, const char *__restrict __src) ^ is ^ not [-Wpointer-sign] ...strncpy(buffer+Max_record-ResidueSize, buffer+lasti, ResidueSize);preprocess.c : ^~~~~~~~~~~~135 :/usr/include/string.h16::129 :warning: 32passing: 'unsigned char *'note: passingto argumentparameter toof parametertype '__src' 'const char *'here converts between pointers const char *__restrict __src, size_t __n)to ^integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strcat(temp, Pattern); ^~~~~~~ /usr/include/string.h:133:70: note: passing argument to parameter '__src' here extern char *strcat (char *__restrict __dest, const char *__restrict __src) ^ preprocess.c:136:14: warning: passing 'unsigned char [1024]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] m = strlen(temp); ^~~~ /usr/include/string.h:391:35: note: passing argument to parameter '__s' here extern size_t strlen (const char *__s) 9 ^ warning s generated. asearch1.c:395:18: warning: implicit declaration of function 'output' is invalid in C99 [-Wimplicit-function-declaration] preprocess.c: if (-1 == output...186 : ^9 : warning: passing 'unsigned char *' to parameter of type agrep.c 'char *': converts177 :between24 :pointers warning: to implicitinteger declarationtypes ofwhereasearch1.c :functionone398 :'destroy_tree'is18 is:of warning: theinvalidimplicit indeclarationunique C99ofplain [-Wimplicit-function-declaration]function'char' 'output'type isand invalidthe otherin isC99 not[-Wimplicit-function-declaration] if (AComplexBoolean) destroy_tree(AParse); [-Wpointer-sign] ^ if (-1 == output... ^ strcpy(D_pattern, old_D_pat); ^~~~~~~~~ /usr/include/string.h:125:39: note: passing argument to parameterbitap.c :'__dest'498 :here1 : warning: type specifier missing, defaults extern char *strcpy (char *__restrict __dest, const char *__restrict __src)to ^'int' [-Wimplicit-int] preprocess.cfill_buf(fd, buf, record_size): 186^: 20: warning: passing 'unsigned char [32]' to parameter of type sgrep.c'const char *' :utilities.cconverts52: :168between8: :9pointers : warning: totypewarning: implicitlyintegerspecifier declaringtypesmissing, librarydefaultswhere functiontoone 'strncmp''int'is with of [-Wimplicit-int] typethe 'int (const char *, const char *, unsigned long)'unique plain[-Wimplicit-function-declaration] 'char' type and theextern WORDBOUND, WHOLELINE, NOUPPER; other~~~~~~ ^ is if (!strncmp(line, word, wordlen)) { not ^ [-Wpointer-sign] utilities.csgrep.c::16852::919 strcpy(D_pattern, old_D_pat);:: note: ^~~~~~~~~warning: include type thespecifier/usr/include/string.h :headermissing,125 :defaults70 :toor note: 'int'explicitlypassing provideargument [-Wimplicit-int] a to parameterdeclaration '__src'for here'strncmp' extern WORDBOUND, WHOLELINE, NOUPPER; ~~~~~~ ^ sgrep.c:extern char *strcpy (char *__restrict __dest, const char *__restrict __src)52 : ^30 : warning: type specifierutilities.c :missing,168 :defaults17 :to warning: 'int'passing 'unsigned char *'[-Wimplicit-int] to parameter of type extern WORDBOUND, WHOLELINE, NOUPPER;'const char *' ~~~~~~ ^converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!strncmp(line, word, wordlen)) { ^~~~ utilities.c:168:23: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!strncmp(line, word, wordlen)) { ^~~~ agrep.c:209:16: warning: passing 'unsigned char [32]' to parameter of type 'char *' converts between pointers to integer types where asearch1.cone: 492is: 18of: thewarning: implicit uniquedeclaration plainof 'char'function type'output' andis theinvalid other inis C99not [-Wimplicit-function-declaration][-Wpointer-sign] if (-1 == output... ^ strcpy(D_pattern, original_D_pattern); ^~~~~~~~~ /usr/include/string.h:125:39: note: passing argument asearch1.cto: 495parameter: 18'__dest': herewarning: implicit declaration of function 'output' is invalid in C99 [-Wimplicit-function-declaration] extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ if (-1 == output... ^ agrep.c:209:27: warning: passing 'unsigned char [32]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strcpy(D_pattern, original_D_pattern); ^~~~~~~~~~~~~~~~~~ /usr/include/string.h:125:70: note: passing argument to parameter '__src' here extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ agrep.c:211:16: warning: passing 'unsigned char [32]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strcpy(old_D_pat, original_old_D_pat); ^~~~~~~~~preprocess.c :322:13/usr/include/string.h:: 125warning: :implicit39 :declaration note: ofpassing functionargument 'init'to isparameter invalid'__dest' herein C99 [-Wimplicit-function-declaration] num_pos = init(r_pat, table); ^ extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ agrep.c:211:27: warning: passing 'unsigned char [32]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strcpy(old_D_pat, original_old_D_pat); ^~~~~~~~~~~~~~~~~~ /usr/include/string.h:125:70: note: passing argument to parameter '__src' here extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ preprocess.c:341:10: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strcpy(old_pat, Pattern); /* do real change to the Patte... ^~~~~~~ /usr/include/string.h:125:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ preprocess.c:341:19: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strcpy(old_pat, Pattern); /* do real change to the Patte... ^~~~~~~ /usr/include/string.h:125:70: note: passing argument to parameter '__src' here extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ newmgrep.c:445:22: warning: implicit declaration of function 'fill_buf' is invalid in C99 [-Wimplicit-function-declaration] while( (num_read = fill_buf(fd, text+Max_record, 2*Block... ^ sgrep.c:193:10: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strncpy(pat, in_pat, MAXLINE); ^~~ newmgrep.c:485:27: /usr/include/string.hwarning: :implicit128 :declaration40 :of note: functionpassing 'm_short'argument isto parameterinvalid '__dest'in hereC99 [-Wimplicit-function-declaration] extern char *strncpy (char *__restrict __dest, ^ if(SHORT) { if (-1 == m_short(text, star... ^ sgrep.c:193:15:asearch.c :warning: 697passing: 15'unsigned char *': towarning: implicitparameter declarationof oftype function 'const char *''fill_buf' convertsis newmgrep.cbetween : 486invalidpointers: 27into: C99integerwarning: implicit[-Wimplicit-function-declaration] types declaration whereof onefunction is'monkey1' ofis while ((l = fill_buf(text, buffer + Max_record, BlockSize)) > 0) the invalid ^ unique in plainC99 'char'[-Wimplicit-function-declaration] type agrep.cand: 264the: 9other: iswarning: notpassing else { if (-1 == monkey1(text, star... [-Wpointer-sign] 'unsigned char [32]' ^ to parameter of type strncpy(pat, in_pat, MAXLINE); ^~~~~~'char *' converts /usr/include/string.hbetween: 129pointers: 32to: integernote: passingtypes argumentwhere toone parameteris '__src'of herethe unique plain 'char' type and const char *__restrict __src, size_t __n)the ^other is not [-Wpointer-sign] strcpy(tc_D_pattern, "\n"); ^~~~~~~~~~~~ /usr/include/string.h:125:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ sgrep.c:241:22: warning: implicit declaration of function 'fill_buf' is invalid in C99 [-Wimplicit-function-declaration] while( (num_read = fill_buf(fd, text+offset, 2*BlockSize)) > 0) ^ newmgrep.c:543:12: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strncpy(text+start, text+end, residue); ^~~~~~~~~~ /usr/include/string.h:128:40: note: passing argument to parameter '__dest' here extern char *strncpy (char *__restrict __dest, ^ newmgrep.c:543:24: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strncpy(text+start, text+end, residue); ^~~~~~~~ /usr/include/string.h:129:32: note: passing argument to parameter '__src' here const char *__restrict __src, size_t __n) ^ asearch.c:789:18: warning: implicit declaration of function 'output' is invalid in C99 [-Wimplicit-function-declaration] if (-1 == output... ^ agrep.c:329:7: warning: implicit declaration of function 'exponen' is invalid in C99 [-Wimplicit-function-declaration] asearch.c:792:18: k = exponen(M); warning: ^implicit newmgrep.c :declaration568 :of15 :function warning: 'output' implicitis declarationinvalid of infunction C99'm_short' [-Wimplicit-function-declaration]is invalid in C99 [-Wimplicit-function-declaration] if (-1 == output... ^ if(SHORT) m_short(text, start, end); ^ newmgrep.c:569:15: warning: implicit declaration of function 'monkey1' is invalid in C99 [-Wimplicit-function-declaration] else monkey1(text, start, end); ^ sgrep.c:294:16: warning: implicit declaration of function 'monkey' is invalid in C99 [-Wimplicit-function-declaration] if (-1 == monkey(pat, m, text+st... ^ agrep.c:346:6: warning: implicit declaration of function 'exponen' is invalid in C99 [-Wimplicit-function-declaration] k = exponen(M/2); ^ sgrep.c:300:16: warning: implicit declaration of function 'bm' is invalid in C99 [-Wimplicit-function-declaration] if (-1 == bm(pat, m, text+start... ^ asplit.c:82:21: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] sgrep.c ...while (buffer_pat = aparse_flat(buffer, buffer_end, *pAParse, pAParse)) {: 308 ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~: 16: warning: implicit declaration of function 'monkey4' is invalid in C99 [-Wimplicit-function-declaration] if (-1 == monkey4( pat, m, text+... ^ sgrep.c:315:17: warning: implicit declaration asplit.cof: 82function: 21'a_monkey': isnote: placeinvalid parentheses inaround C99the [-Wimplicit-function-declaration]assignment to silence this warning if (-1 == a_monkey(pat, ... ^ ...while (buffer_pat = aparse_flat(buffer, buffer_end, *pAParse, pAParse)) { ^ ( ) sgrep.c:321:17: warning: implicit declaration of function 'agrep' is invalid in C99 [-Wimplicit-function-declaration] asplit.c:82:21 if (-1 == agrep(pat, m, ...: ^note: use '==' to turn this assignment into an equality comparison while (buffer_pat = aparse_flat(buffer, buffer_end, *pAParse, p... ^ == newmgrep.c:666:27: warning: implicit declaration of function 'm_short' is invalid in C99 [-Wimplicit-function-declaration] if(SHORT) { if (-1 == m_short(text, star... ^ newmgrep.c:667:27: warning: implicit declaration of function 'monkey1' is invalid in C99 [-Wimplicit-function-declaration] else { if (-1 == monkey1(text, star... ^ asearch.c:889:18: warning: implicit declaration of function 'output' is invalid in C99 [-Wimplicit-function-declaration] if (-1 == output... ^ asearch.c:892:18: warning: implicit declaration of function 'output' is invalid in C99 [-Wimplicit-function-declaration] if (-1 == output... ^ sgrep.c:406:16: warning: implicit declaration of function 'monkey' is invalid inagrep.c : 425C99: 22[-Wimplicit-function-declaration]: warning: implicit declaration of function 'fill_buf' is invalid if (-1 == monkey(pat, m, text+st... in ^ C99 [-Wimplicit-function-declaration] while ((num_read = fill_buf(Text, buffer + Maxline, Bloc... ^ sgrep.c:412:16: warning: implicit declaration of function 'bm' is invalid in C99 [-Wimplicit-function-declaration] if (-1 == bm(pat, m, text+start... ^ sgrep.c:420:16: warning: implicit declaration of function 'monkey4' is invalid in C99 [-Wimplicit-function-declaration] if (-1 == monkey4( pat, m, text+... ^ sgrep.c:427:17: warning: implicit declaration of function 'a_monkey' is invalid in C99 [-Wimplicit-function-declaration] if (-1 == a_monkey(pat, ... ^ sgrep.c:433:17: warning: implicit declaration of function 'agrep' is invalid in C99 [-Wimplicit-function-declaration] if (-1 == agrep(pat, m, ... ^ asearch.c:1034:18: warning: implicit declaration of function 'output' is invalid in C99 [-Wimplicit-function-declaration] if (-1 == output... ^ agrep.c:516:17: warning: implicit declaration of function 'r_output' is invalid in C99 [-Wimplicit-function-declaration] if (-1 == r_output(buffe... ^asearch.c :1037:18: warning: implicit declaration of function 'output' is invalid in C99 [-Wimplicit-function-declaration] if (-1 == output... ^ asplit.c:254:11: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strcpy(n->data.leaf.value, oldtokenbuf); ^~~~~~~~~~~~~~~~~~ /usr/include/string.h:125:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ asplit.c:254:31: warning: passing 'unsigned char [256]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strcpy(n->data.leaf.value, oldtokenbuf); ^~~~~~~~~~~ /usr/include/string.h:125:70: note: passing argument to parameter '__src' here extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ agrep.c:600:17: warning: implicit declaration of function 'r_output' is invalid in C99 [-Wimplicit-function-declaration] if (-1 == r_output(buffe... ^ sgrep.c:549:16: warning: implicit declaration of function 'monkey' is invalid in C99 [-Wimplicit-function-declaration] if (-1 == monkey(pat, m, text+st... ^ asearch.c:1134:18: warning: implicit declaration of function 'output' is invalid in C99agrep.c :[-Wimplicit-function-declaration]615 :12:sgrep.c :warning: 557passing: 16'unsigned char *': towarning: implicit if (-1 == output...parameter declaration ^of oftype function'char *' 'bm' convertsis betweeninvalid pointersin toC99 integer [-Wimplicit-function-declaration]types where one is of the unique plain if (-1 == bm(pat, m, text+start...'char' ^type and the other is not asearch.c[-Wpointer-sign]: 1137:18: warning: implicit declaration of function 'output' is invalid strncpy(buffer, buffer+num_read, Maxline); ^~~~~~in C99 [-Wimplicit-function-declaration] /usr/include/string.h:128:40: note: passing argument to parameter '__dest' if (-1 == output... here ^ extern char *strncpy (char *__restrict __dest, ^ agrep.c:615:20: warning: sgrep.cpassing: 567'unsigned char *': 16to: parameterwarning: implicitof declarationtype of 'const char *'function converts'monkey4' betweenis pointersinvalid to ininteger C99types [-Wimplicit-function-declaration]where one is of the unique plain 'char' if (-1 == monkey4( pat, m, text+... type ^ and the other is not [-Wpointer-sign] strncpy(buffer, buffer+num_read, Maxline); ^~~~~~~~~~~~~~~ /usr/include/string.h:129:32: note: passing argument to parameter '__src' here const char *__restrict __src, size_t __n) ^ sgrep.c:576:17: warning: implicit declaration of function 'a_monkey' is invalid in C99 [-Wimplicit-function-declaration] if (-1 == a_monkey(pat, ... ^ sgrep.c:584:17: warning: implicit declaration of function 'agrep' is invalid in C99 [-Wimplicit-function-declaration] if (-1 == agrep(pat, m, ... ^ newmgrep.c:845:39: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] ..."@%d{%d} ", CurrentByteOffset - (text -curtextbegin), curtextend-curtext... ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ %ld newmgrep.c:845:81: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] ...%d} ", CurrentByteOffset - (text -curtextbegin), curtextend-curtextbegin); ~~ ^~~~~~~~~~~~~~~~~~~~~~~ %ld newmgrep.c:849:27: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] ...sprintf(s, "@%d{%d} ", CurrentByteOffset - (text -curtextbegin), curtext... ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ %ld agrep.c:705:17: warning: newmgrep.cimplicit: 849declaration: 69of: functionwarning: format'r_output' specifiesis typeinvalid 'int' inbut C99the [-Wimplicit-function-declaration]argument has type 'long' [-Wformat] if (-1 == r_output(buffe... ^ ...%d} ", CurrentByteOffset - (text -curtextbegin), curtextend-curtextbegin); ~~ ^~~~~~~~~~~~~~~~~~~~~~~ %ld asplit.c:376:24: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and agrep.cthe: 789other: 17is: notwarning: implicit[-Wpointer-sign] declaration of function 'r_output' is invalid in C99 [-Wimplicit-function-declaration] word_length = strlen(aterminals[first].data.leaf.value); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:391:35: note: passing argument to if (-1 == r_output(buffe... parameter ^ '__s' here extern size_t strlen (const char *__s) ^ asplit.c:380:30: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between agrep.cpointers: 813to: 22integer: typeswarning: implicitwhere declarationone ofis functionof 'fill_buf' theis uniqueinvalid plain in'char' C99type [-Wimplicit-function-declaration]and the other is not [-Wpointer-sign] while ((num_read = fill_buf(Text, buffer + Maxline, Bloc... ^ strcpy(&pat_buf[*pat_ptr], aterminals[first].data.leaf.value); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:125:70: note: passing argument to parameter '__src' here extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ newmgrep.c:1053:61: warning: implicit declaration of function 'eval_tree'agrep.c is: 946 :invalid17 :in warning: C99implicit [-Wimplicit-function-declaration]declaration of function 'r_output' is invalid in C99 [-Wimplicit-function-declaration] ...if (AComplexBoolean && dd(curtextbegin, curtextend) && eval_tree(AParse... ^ if (-1 == r_output(buffe... ^ newmgrep.c:1062:60: warning: implicit declaration of function 'eval_tree' is invalid in C99 [-Wimplicit-function-declaration] ...if (AComplexBoolean && dd(curtextbegin, curtextend) && eval_tree(AParse... ^ newmgrep.c:1077:59: warning: implicit declaration of function 'eval_tree' is invalid in C99 [-Wimplicit-function-declaration] ...if (AComplexBoolean && dd(curtextbegin, curtextend) && eval_tree(AParse... ^ agrep.c:1082:17: warning: implicit declaration of function 'r_output' is invalid in C99 [-Wimplicit-function-declaration] if (-1 == r_output(buffe... ^ newmgrep.c:1091:58: warning: implicit declaration of function 'eval_tree' is invalid in C99 [-Wimplicit-function-declaration] ...if (AComplexBoolean && dd(curtextbegin, curtextend) && eval_tree(AParse... ^ agrep.c:1106:12: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strncpy(buffer, buffer+num_read, Maxline); ^~~~~~ /usr/include/string.h:128:40: note: passing argument to parameter '__dest' here extern char *strncpy (char *__restrict __dest, ^ agrep.c:1106:20: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strncpy(buffer, buffer+num_read, Maxline); ^~~~~~~~~~~~~~~ /usr/include/string.h:129:32: note: passing argument to parameter '__src' here const char *__restrict __src, size_t __n) ^ sgrep.c:835:43: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] ..."@%d{%d} ", CurrentByteOffset - (text -curtextbegin), curtextend-curtext... ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ %ld sgrep.c:835:85: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] ...%d} ", CurrentByteOffset - (text -curtextbegin), curtextend-curtextbegin); ~~ ^~~~~~~~~~~~~~~~~~~~~~~ %ld sgrep.c:839:31: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] ...sprintf(s, "@%d{%d} ", CurrentByteOffset - (text -curtextbegin), curtext... ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ %ld sgrep.c:839:73: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] ...%d} ", CurrentByteOffset - (text -curtextbegin), curtextend-curtextbegin); ~~ ^~~~~~~~~~~~~~~~~~~~~~~ %ld agrep.c:1237:17: warning: implicit declaration of function 'r_output' is invalid in C99 [-Wimplicit-function-declaration] if (-1 == r_output(buffe... ^ agrep.c:1373:17: warning: implicit declaration of function 'r_output' is invalid in C99 [-Wimplicit-function-declaration] if (-1 == r_output(buffe... ^ newmgrep.c:1551:60: warning: implicit declaration of function 'eval_tree' is invalid in C99 [-Wimplicit-function-declaration] ...if (AComplexBoolean && dd(curtextbegin, curtextend) && eval_tree(AParse... ^ newmgrep.c:1560:59: warning: implicit declaration of function 'eval_tree' is invalid in C99 [-Wimplicit-function-declaration] ...if (AComplexBoolean && dd(curtextbegin, curtextend) && eval_tree(AParse... ^ newmgrep.c:1574:58: warning: implicit declaration of function 'eval_tree' is invalid in C99 [-Wimplicit-function-declaration] ...if (AComplexBoolean && dd(curtextbegin, curtextend) && eval_tree(AParse... ^ sgrep.c:1155:16: warning: implicit declaration of function 's_output' is invalid in C99 [-Wimplicit-function-declaration] if (-1 == s_output(text, ¤... ^ sgrep.c:1188:16: warning: implicit declaration of function 's_output' is invalid in C99 [-Wimplicit-function-declaration] if (-1 == s_output(text, ¤... ^ newmgrep.c:2001:17: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] leni = strlen(aterminals[i].data.leaf.value); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:391:35: note: passing argument to parameter '__s' here extern size_t strlen (const char *__s) ^ newmgrep.c:2007:18: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] lenj = strlen(aterminals[j].data.leaf.value); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:391:35: note: passing argument to parameter '__s' here extern size_t strlen (const char *__s) ^ sgrep.c:1411:39: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] ..."@%d{%d} ", CurrentByteOffset - (text + oldi-curtextbegin), curtextend-c... ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ %ld sgrep.c:1411:87: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] ...%d} ", CurrentByteOffset - (text + oldi-curtextbegin), curtextend-curtextbegin); ~~ ^~~~~~~~~~~~~~~~~~~~~~~ %ld sgrep.c:1415:27: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] ...sprintf(s, "@%d{%d} ", CurrentByteOffset - (text + oldi-curtextbegin), c... ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ %ld sgrep.c:1415:75: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] agrep.c:1439: ...%d} ", CurrentByteOffset - (text + oldi-curtextbegin), curtextend-curtextbegin);22 : ~~ ^~~~~~~~~~~~~~~~~~~~~~~ warning: %ldimplicit declaration of 3function warning s'fill_buf' generated . is invalid in C99 [-Wimplicit-function-declaration] while ((num_read = fill_buf(Text, buffer + Maxline, Bloc... ^ 6 warnings generated. agrep.c:1525:17: warning: implicit declaration of function 'r_output' is invalid in C99 [-Wimplicit-function-declaration] if (-1 == r_output(buffe... ^ sgrep.c:1476:10: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] register m; ~~~~~~~~ ^ agrep.c:1605:17: warning: implicit declaration of function 'r_output' is invalid in C99 [-Wimplicit-function-declaration] if (-1 == r_output(buffe... ^ agrep.c:1624:12: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strncpy(buffer+Maxline-ResidueSize, buffer+lasti... ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:128:40: note: passing argument to parameter '__dest' here extern char *strncpy (char *__restrict __dest, ^ agrep.c:1624:40: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ...strncpy(buffer+Maxline-ResidueSize, buffer+lasti, ResidueSize); ^~~~~~~~~~~~ /usr/include/string.h:129:32: note: passing argument to parameter '__src' here const char *__restrict __src, size_t __n) ^ agrep.c:1710:17: warning: implicit declaration of function 'r_output' is invalid in C99 [-Wimplicit-function-declaration] if (-1 == r_output(buffe... ^ sgrep.c:1692:43: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] ..."@%d{%d} ", CurrentByteOffset - (text -curtextbegin), curtextend-curtext... ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ %ld sgrep.c:1692:85: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] ...%d} ", CurrentByteOffset - (text -curtextbegin), curtextend-curtextbegin); ~~ ^~~~~~~~~~~~~~~~~~~~~~~ %ld agrep.c:1790:17: warning: implicit declaration of function 'r_output' is sgrep.cinvalid: 1696 :in31 :C99 warning: [-Wimplicit-function-declaration]format specifies type 'int' but the argument has type 'long' [-Wformat] if (-1 == r_output(buffe... ^ ...sprintf(s, "@%d{%d} ", CurrentByteOffset - (text -curtextbegin), curtext... ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ %ld sgrep.c:1696:73: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] ...%d} ", CurrentByteOffset - (text -curtextbegin), curtextend-curtextbegin); ~~ ^~~~~~~~~~~~~~~~~~~~~~~ %ld agrep.c:1814:22: warning: implicit declaration of function 'fill_buf' is invalid in C99 [-Wimplicit-function-declaration] while ((num_read = fill_buf(Text, buffer + Maxline, Bloc... ^ In file included from main.c:15: ../agrep/dummysyscalls.c:25:9: warning: implicit declaration of function 'lstat' is invalid in C99 [-Wimplicit-function-declaration] return lstat(name, buf); ^ agrep.c:1921:17: warning: implicit declaration of function 'r_output' is invalid in C99 [-Wimplicit-function-declaration] if (-1 == r_output(buffe... ^ ../agrep/dummysyscalls.c:33:9: warning: implicit declaration of function 'stat' is invalid in C99 [-Wimplicit-function-declaration] return stat(name, buf); ^ main.c:29:8: warning: implicit declaration of function 'fileagrep' is invalid in C99 [-Wimplicit-function-declaration] ret = fileagrep(argc, argv, 0, stdout); ^ agrep.c:2020:17: warning: implicit declaration of function 'r_output' is invalid in C99 [-Wimplicit-function-declaration] if (-1 == r_output(buffe... ^ agrep.c:2045:12: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is notsgrep.c :[-Wpointer-sign]1869 :14: warning: implicit declaration of function 'verify' is strncpy(buffer, buffer+num_read, Maxline); invalid ^~~~~~ in C99/usr/include/string.h :[-Wimplicit-function-declaration]128 :40: note: passing argument to parameter if((pos = verify(m, 2*m+D, D, pat, oldtext)) > 0) {'__dest' ^here extern char *strncpy (char *__restrict __dest, ^ agrep.c:2045:20: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strncpy(buffer, buffer+num_read, Maxline); ^~~~~~~~~~~~~~~ /usr/include/string.h:129:32: note: passing argument to parameter '__src' here const char *__restrict __src, size_t __n) ^ sgrep.c:1986:44: warning: agrep.cformat: 2150specifies: 17type: 'int'warning: implicitbut declarationthe ofargument functionhas 'r_output'type is 'long'invalid [-Wformat] in C99 [-Wimplicit-function-declaration] if (-1 == r_output(buffe... ..."@%d{%d} ", CurrentByteOffset - (text -curtextbegin), curtextend-curtext... ^ ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ %ld 5 warnings generated. sgrep.c:1986:86: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] ...%d} ", CurrentByteOffset - (text -curtextbegin), curtextend-curtextbegin); ~~ ^~~~~~~~~~~~~~~~~~~~~~~ %ld sgrep.c:1990:32: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] ...sprintf(s, "@%d{%d} ", CurrentByteOffset - (text -curtextbegin), curtext... ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ %ld sgrep.c:1990:74: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] ...%d} ", CurrentByteOffset - (text -curtextbegin), curtextend-curtextbegin); ~~ ^~~~~~~~~~~~~~~~~~~~~~~ %ld agrep.c:2249:17: warning: implicit declaration of function 'r_output' is invalid in C99 [-Wimplicit-function-declaration] if (-1 == r_output(buffe... ^ 3 warnings generated. sgrep.c:2135:13: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] m = strlen(Pattern); ^~~~~~~ /usr/include/string.h:391:35: note: passing argument to parameter '__s' here extern size_t strlen (const char *__s) ^ sgrep.c:2177:37: warning: unsequenced modification and access to 'last' [-Wunsequenced] if(A[last] < D) A[last+1] = A[last++]+1; ~~~~ ^ sgrep.c:2199:37: warning: unsequenced modification and access to 'last' [-Wunsequenced] if(B[last] < D) B[last+1] = B[last++]+1; ~~~~ ^ sgrep.c:2217:13: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] m = strlen(Pattern); ^~~~~~~ /usr/include/string.h:391:35: note: passing argument to parameter '__s' here extern size_t strlen (const char *__s) ^ 24 warnings generated. sgrep.c:2394:44: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] ..."@%d{%d} ", CurrentByteOffset - (text -curtextbegin), curtextend-curtext... ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ %ld sgrep.c:2394:86: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] ...%d} ", CurrentByteOffset - (text -curtextbegin), curtextend-curtextbegin); ~~ ^~~~~~~~~~~~~~~~~~~~~~~ %ld sgrep.c:2398:32: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] ...sprintf(s, "@%d{%d} ", CurrentByteOffset - (text -curtextbegin), curtext... ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ %ld sgrep.c:2398:74: warning: format specifies type 'int' but the argument has type 'long' [-Wformat] ...%d} ", CurrentByteOffset - (text -curtextbegin), curtextend-curtextbegin); ~~ ^~~~~~~~~~~~~~~~~~~~~~~ %ld sgrep.c:2550:10: warning: implicit declaration of function 'blog' is invalid in C99 [-Wimplicit-function-declaration] BSize = blog(4, m); ^ agrep.c:2464:10: warning: passing 'unsigned char [256]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strncpy(Progname, argv[0], MAXNAME); ^~~~~~~~ /usr/include/string.h:128:40: note: passing argument to parameter '__dest' here extern char *strncpy (char *__restrict __dest, ^ agrep.c:2465:23: warning: implicit declaration of function 'agrep_usage' is invalid in C99 [-Wimplicit-function-declaration] if (argc < 2) return agrep_usage(); ^ agrep.c:2634:13: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strcpy(D_pattern+1, argv[0]); ^~~~~~~~~~~ /usr/include/string.h:125:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ agrep.c:2651:13: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strcpy(D_pattern+1, p + 1); ^~~~~~~~~~~ /usr/include/string.h:125:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ agrep.c:2655:12: warning: passing 'unsigned char [32]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strcat(D_pattern, ">; "); ^~~~~~~~~ /usr/include/string.h:133:39: note: passing argument to parameter '__dest' here extern char *strcat (char *__restrict __dest, const char *__restrict __src) ^ agrep.c:2659:12: warning: passing 'unsigned char [32]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strcpy(original_D_pattern, D_pattern); ^~~~~~~~~~~~~~~~~~ /usr/include/string.h:125:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ agrep.c:2659:32: warning: passing 'unsigned char [32]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strcpy(original_D_pattern, D_pattern); ^~~~~~~~~ /usr/include/string.h:125:70: note: passing argument to parameter '__src' here extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ agrep.c:2697:14: warning: passing 'unsigned char [256]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strcat(Pattern, (argv)[0]); ^~~~~~~ /usr/include/string.h:133:39: note: passing argument to parameter '__dest' here extern char *strcat (char *__restrict __dest, const char *__restrict __src) ^ agrep.c:2699:18: warning: passing 'unsigned char [256]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else strcat(Pattern, argv[0]); ^~~~~~~ /usr/include/string.h:133:39: note: passing argument to parameter '__dest' here extern char *strcat (char *__restrict __dest, const char *__restrict __src) ^ agrep.c:2705:14: warning: passing 'unsigned char [256]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strcat(Pattern, p+1); ^~~~~~~ /usr/include/string.h:133:39: note: passing argument to parameter '__dest' here extern char *strcat (char *__restrict __dest, const char *__restrict __src) ^ agrep.c:2707:19: warning: passing 'unsigned char [256]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else strcat (Pattern, p+1); ^~~~~~~ /usr/include/string.h:133:39: note: passing argument to parameter '__dest' here extern char *strcat (char *__restrict __dest, const char *__restrict __src) ^ agrep.c:2712:21: warning: absolute value function 'abs' given an argument of type 'long' but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value] pattern_index = abs(argv - original_argv); ^ agrep.c:2712:21: note: use function 'labs' instead pattern_index = abs(argv - original_argv); ^~~ labs agrep.c:2728:13: warning: passing 'unsigned char [256]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strcat(Pattern, argv[0]); ^~~~~~~ /usr/include/string.h:133:39: note: passing argument to parameter '__dest' here extern char *strcat (char *__restrict __dest, const char *__restrict __src) ^ agrep.c:2748:14: warning: passing 'unsigned char [256]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strcat (Pattern, p+1); ^~~~~~~ /usr/include/string.h:133:39: note: passing argument to parameter '__dest' here extern char *strcat (char *__restrict __dest, const char *__restrict __src) ^ agrep.c:2751:21: warning: absolute value function 'abs' given an argument of type 'long' but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value] pattern_index = abs(argv - original_argv); ^ agrep.c:2751:21: note: use function 'labs' instead pattern_index = abs(argv - original_argv); ^~~ labs agrep.c:2801:9: warning: implicit declaration of function 'prepf' is invalid in C99 [-Wimplicit-function-declaration] if (prepf(multifd, NULL, 0) <= -1) { ^ 3 warnings generated. agrep.c:3028:2: warning: implicit declaration of function 'initialize_common' is invalid in C99 [-Wimplicit-function-declaration] initialize_common(FREQ_FILE, 0); /* no error msgs */ ^ agrep.c:3053:10: warning: passing 'unsigned char [256]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strcpy(Pattern, *argv); ^~~~~~~ /usr/include/string.h:125:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ agrep.c:3054:19: warning: absolute value function 'abs' given an argument of type 'long' but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value] pattern_index = abs(argv - original_argv); ^ agrep.c:3054:19: note: use function 'labs' instead pattern_index = abs(argv - original_argv); ^~~ labs agrep.c:3082:38: warning: implicit declaration of function 'check_file' is invalid in C99 [-Wimplicit-function-declaration] if (!glimpse_call && ((filetype = check_file(*ar... ^ agrep.c:3095:12: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strcpy(Textfiles[Numfiles++], *argv++); ^~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:125:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ agrep.c:3102:13: warning: passing 'unsigned char [256]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] M = strlen(Pattern); ^~~~~~~ /usr/include/string.h:391:35: note: passing argument to parameter '__s' here extern size_t strlen (const char *__s) ^ agrep.c:3127:11: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strncpy(pattern_buffer, Pattern, M+1); /* copy \0 */ ^~~~~~~~~~~~~~ /usr/include/string.h:128:40: note: passing argument to parameter '__dest' here extern char *strncpy (char *__restrict __dest, ^ agrep.c:3127:27: warning: passing 'unsigned char [256]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strncpy(pattern_buffer, Pattern, M+1); /* copy \0 */ ^~~~~~~ /usr/include/string.h:129:32: note: passing argument to parameter '__src' here const char *__restrict __src, size_t __n) ^ agrep.c:3144:50: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] return (agrep_init(argc, argv, -1, pattern_len, pattern_buffer)); ^~~~~~~~~~~~~~ agrep.c:3154:49: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] return (agrep_init(argc, argv, 3, pattern_len, pattern_buffer)); ^~~~~~~~~~~~~~ agrep.c:3186:14: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (strcmp(agrep_saved_pattern, pattern_buffer)) { ^~~~~~~~~~~~~~~~~~~ /usr/include/string.h:140:32: note: passing argument to parameter '__s1' here extern int strcmp (const char *__s1, const char *__s2) ^ agrep.c:3186:35: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (strcmp(agrep_saved_pattern, pattern_buffer)) { ^~~~~~~~~~~~~~ /usr/include/string.h:140:50: note: passing argument to parameter '__s2' here extern int strcmp (const char *__s1, const char *__s2) ^ agrep.c:3206:12: warning: passing 'unsigned char [256]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strncpy(Pattern, pattern_buffer, pattern_len+1)... ^~~~~~~ /usr/include/string.h:128:40: note: passing argument to parameter '__dest' here extern char *strncpy (char *__restrict __dest, ^ agrep.c:3206:21: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strncpy(Pattern, pattern_buffer, pattern_len+1)... ^~~~~~~~~~~~~~ /usr/include/string.h:129:32: note: passing argument to parameter '__src' here const char *__restrict __src, size_t __n) ^ agrep.c:3207:14: warning: passing 'unsigned char [256]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] M = strlen(Pattern); ^~~~~~~ /usr/include/string.h:391:35: note: passing argument to parameter '__s' here extern size_t strlen (const char *__s) ^ agrep.c:3258:38: warning: implicit declaration of function 'check_file' is invalid in C99 [-Wimplicit-function-declaration] if (!glimpse_call && ((filetype = check_file(*(c... ^ agrep.c:3290:13: warning: implicit declaration of function 'checksg' is invalid in C99 [-Wimplicit-function-declaration] if (-1 == checksg(Pattern, D, 1)) return -1; /* ch... ^ agrep.c:3291:10: warning: passing 'unsigned char [256]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strcpy(OldPattern, Pattern); ^~~~~~~~~~ /usr/include/string.h:125:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ agrep.c:3291:22: warning: passing 'unsigned char [256]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strcpy(OldPattern, Pattern); ^~~~~~~ /usr/include/string.h:125:70: note: passing argument to parameter '__src' here extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ agrep.c:3294:14: warning: implicit declaration of function 'preprocess' is invalid in C99 [-Wimplicit-function-declaration] if (-1 == preprocess(D_pattern, Pattern)) return -1; ^ agrep.c:3295:11: warning: passing 'unsigned char [32]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strcpy(old_D_pat, D_pattern); ^~~~~~~~~ /usr/include/string.h:125:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ agrep.c:3295:22: warning: passing 'unsigned char [32]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strcpy(old_D_pat, D_pattern); ^~~~~~~~~ /usr/include/string.h:125:70: note: passing argument to parameter '__src' here extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ agrep.c:3297:25: warning: implicit declaration of function 'maskgen' is invalid in C99 [-Wimplicit-function-declaration] if(!AParse && ((M = maskgen(Pattern, D)) == -1)... ^ agrep.c:3304:24: warning: implicit declaration of function 'quick_tcompress' is invalid in C99 [-Wimplicit-function-declaration] if ((tc_D_length = quick_tcompress(FREQ_... ^ agrep.c:3305:13: warning: passing 'unsigned char [32]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strcpy(tc_D_pattern, D_pattern); ^~~~~~~~~~~~ /usr/include/string.h:125:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ agrep.c:3305:27: warning: passing 'unsigned char [32]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strcpy(tc_D_pattern, D_pattern); ^~~~~~~~~ /usr/include/string.h:125:70: note: passing argument to parameter '__src' here extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ agrep.c:3310:15: warning: passing 'unsigned char [256]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] M = strlen(OldPattern); ^~~~~~~~~~ /usr/include/string.h:391:35: note: passing argument to parameter '__s' here extern size_t strlen (const char *__s) ^ agrep.c:3317:15: warning: implicit declaration of function 'prepf' is invalid in C99 [-Wimplicit-function-declaration] prepf_ret= prepf(-1, multibuf, multilen); ^ agrep.c:3319:25: warning: implicit declaration of function 'destroy_tree' is invalid in C99 [-Wimplicit-function-declaration] if (AComplexBoolean) destroy_tree(AParse); ^ agrep.c:3333:35: warning: implicit declaration of function 'exec' is invalid in C99 [-Wimplicit-function-declaration] if (agrep_initialfd == -1) ret = exec(execfd, NULL); ^ agrep.c:3334:28: warning: implicit declaration of function 'recursive' is invalid in C99 [-Wimplicit-function-declaration] else if(RECURSIVE) ret = (recursive(Numfiles, Textfiles)); ^ agrep.c:3353:35: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] return(agrep_search(pattern_len, pattern_buffer, -1, input_len, ... ^~~~~~~~~~~~~~ agrep.c:3365:35: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] return(agrep_search(pattern_len, pattern_buffer, 3, file_num, fi... ^~~~~~~~~~~~~~ agrep.c:3396:47: warning: passing 'unsigned char [256]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if ((ret = memagrep_init(argc, argv, MAXPAT, Pattern)) < 0) return -1; ^~~~~~~ agrep.c:3399:30: warning: passing 'unsigned char [256]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] return memagrep_search(ret, Pattern, input_len, input_buffer, ou... ^~~~~~~ agrep.c:3411:48: warning: passing 'unsigned char [256]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if ((ret = fileagrep_init(argc, argv, MAXPAT, Pattern)) < 0) return -1; ^~~~~~~ agrep.c:3414:31: warning: passing 'unsigned char [256]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] return fileagrep_search(ret, Pattern, 0, NULL, output_len, output); ^~~~~~~ agrep.c:3443:13: warning: implicit declaration of function 'compat' is invalid in C99 [-Wimplicit-function-declaration] if ((-1 == compat())) return -1; /* check compatibility between ... ^ agrep.c:3456:30: warning: implicit declaration of function 'mgrep' is invalid in C99 [-Wimplicit-function-declaration] if(PAT_FILE || PAT_BUFFER) mgrep(fd, AParse); ^ agrep.c:3458:20: warning: implicit declaration of function 'sgrep' is invalid in C99 [-Wimplicit-function-declaration] if(SGREP) ret = sgrep(OldPattern, strlen(OldPatt... ^ agrep.c:3458:45: warning: passing 'unsigned char [256]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ...if(SGREP) ret = sgrep(OldPattern, strlen(OldPattern), fd, D, 0); ^~~~~~~~~~ /usr/include/string.h:391:35: note: passing argument to parameter '__s' here extern size_t strlen (const char *__s) ^ agrep.c:3459:20: warning: implicit declaration of function 'bitap' is invalid in C99 [-Wimplicit-function-declaration] else ret = bitap(old_D_pat, Pattern, fd, M, D); ^ agrep.c:3512:34: warning: passing 'unsigned char [1024]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ...if (PRINTFILENUMBER) sprintf(CurrentFileName, "%d", i); ^~~~~~~~~~~~~~~ /usr/include/stdio.h:352:38: note: passing argument to parameter '__s' here extern int sprintf (char *__restrict __s, ^ agrep.c:3513:17: warning: passing 'unsigned char [1024]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else strcpy(CurrentFileName, file_list[i]); ^~~~~~~~~~~~~~~ /usr/include/string.h:125:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ agrep.c:3519:9: warning: implicit declaration of function 'tuncompressible_filename' is invalid in C99 [-Wimplicit-function-declaration] if (!tuncompressible_filename(file_list[i], strl... ^ agrep.c:3526:32: warning: implicit declaration of function 'mgrep' is invalid in C99 [-Wimplicit-function-declaration] if(PAT_FILE || PAT_BUFFER) mgrep(fd, AParse); ^ agrep.c:3528:22: warning: implicit declaration of function 'sgrep' is invalid in C99 [-Wimplicit-function-declaration] if(SGREP) ret = sgrep(OldPattern... ^ agrep.c:3528:47: warning: passing 'unsigned char [256]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ...if(SGREP) ret = sgrep(OldPattern, strlen(OldPattern), fd, D, i); ^~~~~~~~~~ /usr/include/string.h:391:35: note: passing argument to parameter '__s' here extern size_t strlen (const char *__s) ^ agrep.c:3529:22: warning: implicit declaration of function 'bitap' is invalid in C99 [-Wimplicit-function-declaration] else ret = bitap(old_D_pat... ^ agrep.c:3700:16: warning: implicit declaration of function 'file_out' is invalid in C99 [-Wimplicit-function-declaration] if (-1 == file_out(file_list[i])) { ^ agrep.c:3721:14: warning: implicit declaration of function 'preprocess' is invalid in C99 [-Wimplicit-function-declaration] if(-1 == preprocess(D_pattern, Pattern)... ^ agrep.c:3722:12: warning: passing 'unsigned char [32]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strcpy(old_D_pat, D_pattern); ^~~~~~~~~ /usr/include/string.h:125:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ agrep.c:3722:23: warning: passing 'unsigned char [32]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strcpy(old_D_pat, D_pattern); ^~~~~~~~~ /usr/include/string.h:125:70: note: passing argument to parameter '__src' here extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ agrep.c:3723:13: warning: implicit declaration of function 'maskgen' is invalid in C99 [-Wimplicit-function-declaration] if((M = maskgen(Pattern, D)) == -1) return -1; ^ agrep.c:3731:35: warning: passing 'unsigned char [1024]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ...if (PRINTFILENUMBER) sprintf(CurrentFileName, "%d", i); ^~~~~~~~~~~~~~~ /usr/include/stdio.h:352:38: note: passing argument to parameter '__s' here extern int sprintf (char *__restrict __s, ^ agrep.c:3732:18: warning: passing 'unsigned char [1024]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else strcpy(CurrentFileName, fil... ^~~~~~~~~~~~~~~ /usr/include/string.h:125:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ agrep.c:3736:34: warning: implicit declaration of function 'mgrep' is invalid in C99 [-Wimplicit-function-declaration] ...if(PAT_FILE || PAT_BUFFER) mgrep(fd, AParse); ^ agrep.c:3738:24: warning: implicit declaration of function 'sgrep' is invalid in C99 [-Wimplicit-function-declaration] ...if(SGREP) ret = sgrep(OldPattern,strlen(OldPattern),fd,D, i); ^ agrep.c:3738:48: warning: passing 'unsigned char [256]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ...if(SGREP) ret = sgrep(OldPattern,strlen(OldPattern),fd,D, i); ^~~~~~~~~~ /usr/include/string.h:391:35: note: passing argument to parameter '__s' here extern size_t strlen (const char *__s) ^ agrep.c:3739:19: warning: implicit declaration of function 'bitap' is invalid in C99 [-Wimplicit-function-declaration] else ret = bitap... ^ agrep.c:3783:35: warning: passing 'unsigned char [1024]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ...if (PRINTFILENUMBER) sprintf(CurrentFileName, "%d", i); ^~~~~~~~~~~~~~~ /usr/include/stdio.h:352:38: note: passing argument to parameter '__s' here extern int sprintf (char *__restrict __s, ^ agrep.c:3784:18: warning: passing 'unsigned char [1024]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else strcpy(CurrentFileName, fil... ^~~~~~~~~~~~~~~ /usr/include/string.h:125:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ agrep.c:3788:34: warning: implicit declaration of function 'mgrep' is invalid in C99 [-Wimplicit-function-declaration] ...if(PAT_FILE || PAT_BUFFER) mgrep(fd, AParse); ^ agrep.c:3790:24: warning: implicit declaration of function 'sgrep' is invalid in C99 [-Wimplicit-function-declaration] ...if(SGREP) ret = sgrep(OldPattern,strlen(OldPattern),fd,D, i); ^ agrep.c:3790:48: warning: passing 'unsigned char [256]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ...if(SGREP) ret = sgrep(OldPattern,strlen(OldPattern),fd,D, i); ^~~~~~~~~~ /usr/include/string.h:391:35: note: passing argument to parameter '__s' here extern size_t strlen (const char *__s) ^ agrep.c:3791:19: warning: implicit declaration of function 'bitap' is invalid in C99 [-Wimplicit-function-declaration] else ret = bitap... ^ agrep.c:3868:21: warning: implicit declaration of function 'fill_buf' is invalid in C99 [-Wimplicit-function-declaration] while((num_read = fill_buf(fd, buf, SIZE)) > 0) ^ agrep.c:3876:19: warning: implicit declaration of function 'fill_buf' is invalid in C99 [-Wimplicit-function-declaration] if ((num_read = fill_buf(fd, agrep_outbuffer + agrep_out... ^ 5 warnings generated. 13 warnings generated. 12 warnings generated. 19 warnings generated. 38 warnings generated. 50 warnings generated. 120 warnings generated. /usr/bin/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 x86_64-pc-linux-gnu-clang -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -fuse-ld=lld -o agrep 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 main.o a - follow.o a - asearch.o a - asearch1.o a - agrep.o a - bitap.o a - checkfile.o a - compat.o a - maskgen.o a - parse.o a - checksg.o a - preprocess.o a - delim.o a - asplit.o a - recursive.o a - sgrep.o a - newmgrep.o a - utilities.o a - dummyfilters.o llvm-ranlib ../lib/libagrep.a 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-clang -I../include -O2 -pipe -march=x86-64 -frecord-gcc-switches -fno-diagnostics-color -c -o buffer.o buffer.c x86_64-pc-linux-gnu-clang -I../include -O2 -pipe -march=x86-64 -frecord-gcc-switches -fno-diagnostics-color -c -o host.o host.c x86_64-pc-linux-gnu-clang -I../include -O2 -pipe -march=x86-64 -frecord-gcc-switches -fno-diagnostics-color -c -o log.o log.c x86_64-pc-linux-gnu-clang -I../include -O2 -pipe -march=x86-64 -frecord-gcc-switches -fno-diagnostics-color -c -o strdup.o strdup.c x86_64-pc-linux-gnu-clang -I../include -O2 -pipe -march=x86-64 -frecord-gcc-switches -fno-diagnostics-color -c -o system.o system.c x86_64-pc-linux-gnu-clang -I../include -O2 -pipe -march=x86-64 -frecord-gcc-switches -fno-diagnostics-color -c -o strerror.o strerror.c x86_64-pc-linux-gnu-clang -I../include -O2 -pipe -march=x86-64 -frecord-gcc-switches -fno-diagnostics-color -c -o string.o string.c x86_64-pc-linux-gnu-clang -I../include -O2 -pipe -march=x86-64 -frecord-gcc-switches -fno-diagnostics-color -c -o xmalloc.o xmalloc.c system.c:105:3: warning: implicitly declaring library function 'memset' with type 'void *(void *, int, unsigned long)' [-Wimplicit-function-declaration] memset(argv, '\0', sizeof(char *) * 64); ^ system.clog.c::105171::33:: note: warning: includeimplicitly thedeclaring headerlibrary function or'exit' explicitlywith providetype a 'void declaration(int) for__attribute__((noreturn))' 'memset'[-Wimplicit-function-declaration] exit(1); ^ log.c:171:3: note: include the header or explicitly provide a declaration for 'exit' system.c:120:31: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] (void) waitpid(pid, &status, (int) NULL); ^~~~~~~~~~ system.c:175:41: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] (void) waitpid(dsl_pid, (int *) NULL, (int) NULL); ^~~~~~~~~~ 1 warning generated. 3 warnings generated. ar r libutil.a buffer.o host.o log.o strdup.o system.o strerror.o string.o xmalloc.o ar: creating libutil.a llvm-ranlib libutil.a /usr/lib/portage/python3.10/ebuild-helpers/xattr/install -c -m 644 libutil.a ../lib/libutil.a llvm-ranlib ../lib/libutil.a 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-clang -I../include -O2 -pipe -march=x86-64 -frecord-gcc-switches -fno-diagnostics-color -c -o template.o template.c ar r libtemplate.a template.o ar: creating libtemplate.a llvm-ranlib libtemplate.a /usr/lib/portage/python3.10/ebuild-helpers/xattr/install -c libtemplate.a ../lib/libtemplate.a llvm-ranlib ../lib/libtemplate.a 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-clang -c -I../index -I../agrep -I../libtemplate/include -O2 -pipe -march=x86-64 -frecord-gcc-switches -fno-diagnostics-color region.c x86_64-pc-linux-gnu-clang -c -I../index -I../agrep -I../libtemplate/include -O2 -pipe -march=x86-64 -frecord-gcc-switches -fno-diagnostics-color dir.c cp glimpse.c buildcast.c x86_64-pc-linux-gnu-clang -c -I../index -I../agrep -I../libtemplate/include -O2 -pipe -march=x86-64 -frecord-gcc-switches -fno-diagnostics-color io.c x86_64-pc-linux-gnu-clang -c -I../index -I../agrep -I../libtemplate/include -O2 -pipe -march=x86-64 -frecord-gcc-switches -fno-diagnostics-color build_in.c x86_64-pc-linux-gnu-clang -c -I../index -I../agrep -I../libtemplate/include -O2 -pipe -march=x86-64 -frecord-gcc-switches -fno-diagnostics-color filetype.c x86_64-pc-linux-gnu-clang -c -I../index -I../agrep -I../libtemplate/include -O2 -pipe -march=x86-64 -frecord-gcc-switches -fno-diagnostics-color -DBUILDCAST=1 -o buildcast.o buildcast.c x86_64-pc-linux-gnu-clang -c -I../index -I../agrep -I../libtemplate/include -O2 -pipe -march=x86-64 -frecord-gcc-switches -fno-diagnostics-color simpletest.c x86_64-pc-linux-gnu-clang -c -I../index -I../agrep -I../libtemplate/include -O2 -pipe -march=x86-64 -frecord-gcc-switches -fno-diagnostics-color getword.c x86_64-pc-linux-gnu-clang -c -I../index -I../agrep -I../libtemplate/include -O2 -pipe -march=x86-64 -frecord-gcc-switches -fno-diagnostics-color memlook.c x86_64-pc-linux-gnu-clang -c -I../index -I../agrep -I../libtemplate/include -O2 -pipe -march=x86-64 -frecord-gcc-switches -fno-diagnostics-color lib.c x86_64-pc-linux-gnu-clang -c -I../index -I../agrep -I../libtemplate/include -O2 -pipe -march=x86-64 -frecord-gcc-switches -fno-diagnostics-color partition.c x86_64-pc-linux-gnu-clang -c -I../index -I../agrep -I../libtemplate/include -O2 -pipe -march=x86-64 -frecord-gcc-switches -fno-diagnostics-color -DBUILDCAST=0 glimpse.c x86_64-pc-linux-gnu-clang -I../index -I../agrep -I../libtemplate/include -O2 -pipe -march=x86-64 -frecord-gcc-switches -fno-diagnostics-color -c -o convert.o convert.c lib.c:5:16: warning: incompatible redeclaration of library function 'strdup' [-Wincompatible-library-redeclaration] unsigned char *strdup(str) ^ lib.c:5:16: note: 'strdup' is a builtin with type 'char *(const char *)' lib.c:12:8: warning: implicitly declaring library function 'strlen' with type 'unsigned long (const char *)' [-Wimplicit-function-declaration] len = strlen(str); ^ lib.c:12:8: note: include the header or explicitly provide a declaration for 'strlen' lib.c:12:15: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] len = strlen(str); ^~~ lib.c:16:3: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Wimplicit-function-declaration] exit(2); ^ lib.c:16:3: note: include the header or explicitly provide a declaration for 'exit' lib.c:19:16: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(*str1++ = *str++); ~~~~~~~~^~~~~~~~ lib.c:19:16: note: place parentheses around the assignment to silence this warning while(*str1++ = *str++); ^ ( ) lib.c:19:16: note: use '==' to turn this assignment into an equality comparison while(*str1++ = *str++); ^ == 5 warnings generated. simpletest.c:10:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern UseFilters; ~~~~~~ ^ simpletest.c:33:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] test_binary(buffer, length) ^ simpletest.c:54:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] test_uuencode(buffer, length) ^ simpletest.c:67:13: warning: implicit declaration of function 'memlook' is invalid in C99 [-Wimplicit-function-declaration] i = memlook("\nbegin", buffer, length); ^ build_in.c:128:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] build_index() ^ build_in.c:143:9: warning: implicit declaration of function 'build_hash' is invalid in C99 [-Wimplicit-function-declaration] build_hash(); ^ build_in.c:145:9: error: non-void function 'build_index' should return a value [-Wreturn-type] return; ^ build_in.c:157:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] traverse() ^ build_in.c:215:19: warning: implicit declaration of function 'encode16b' is invalid in C99 [-Wimplicit-function-declaration] attribute = encode16b(tp->attribute); ^ build_in.c:241:19: warning: implicit declaration of function 'encode16b' is invalid in C99 [-Wimplicit-function-declaration] attribute = encode16b(tp->attribute); ^ build_in.c:267:15: warning: implicit declaration of function 'encode16b' is invalid in C99 [-Wimplicit-function-declaration] attribute = encode16b(tp->attribute); ^ build_in.c:333:21: warning: implicit declaration of function 'encode16b' is invalid in C99 [-Wimplicit-function-declaration] attribute = encode16b(tp->attribute); ^ build_in.c:350:16: warning: implicit declaration of function 'encode8b' is invalid in C99 [-Wimplicit-function-declaration] temp = encode8b(0); ^ build_in.c:359:13: warning: implicit declaration of function 'encode8b' is invalid in C99 [-Wimplicit-function-declaration] x = encode8b(ip->index[j]); ^ build_in.c:368:13: warning: implicit declaration of function 'encode16b' is invalid in C99 [-Wimplicit-function-declaration] x = encode16b(ip->index[j]); ^ build_in.c:379:13: warning: implicit declaration of function 'encode24b' is invalid in C99 [-Wimplicit-function-declaration] x = encode24b(ip->index[j]); ^ build_in.c:401:12: warning: implicit declaration of function 'encode8b' is invalid in C99 [-Wimplicit-function-declaration] temp = encode8b(diff); ^ build_in.c:410:12: warning: implicit declaration of function 'encode8b' is invalid in C99 [-Wimplicit-function-declaration] temp = encode8b((diff/MaxNum8bPartition... ^ build_in.c:426:12: warning: implicit declaration of function 'encode8b' is invalid in C99 [-Wimplicit-function-declaration] temp = encode8b((diff/MaxNum16bPartition... ^ build_in.c:433:12: warning: implicit declaration of function 'encode16b' is invalid in C99 [-Wimplicit-function-declaration] temp = encode16b(diff % MaxNum16bPartition); ^ build_in.c:444:12: warning: implicit declaration of function 'encode8b' is invalid in C99 [-Wimplicit-function-declaration] temp = encode8b((diff/MaxNum24bPartition... ^ build_in.c:451:12: warning: implicit declaration of function 'encode24b' is invalid in C99 [-Wimplicit-function-declaration] temp = encode24b(diff % MaxNum24bPartition); ^ build_in.c:471:10: warning: implicit declaration of function 'encode8b' is invalid in C99 getword.c[-Wimplicit-function-declaration]: 245:11: warning: putc(encode8b(ip->index[j]), f_out); implicit ^ declaration of function 'region_identify' is invalid in C99 [-Wimplicit-function-declaration] *pattr = region_identify(ICurrentFileOffset, 0); ^ build_in.c:482:12: warning: implicit declaration of function 'encode12b' is invalid in C99 [-Wimplicit-function-declaration] x = encode12b(ip->index[j]); ^ build_in.c:510:9: warning: implicit declaration of function 'encode16b' is invalid in C99 [-Wimplicit-function-declaration] x = encode16b(ip->index[j]); ^ dir.c:117:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] fsize(name, pat, pat_len, num_pat, inc, inc_len, num_inc, toplevel) ^ build_in.c:524:9: warning: implicit declaration of function 'encode24b' is invalid in C99 [-Wimplicit-function-declaration] x = encode24b(ip->index[j]); ^ dir.c:153:71: warning: implicit declaration of function 'get_filename_index' is invalid in C99 [-Wimplicit-function-declaration] ...&& !DeleteFromIndex && FastIndex && ((fileindex = get_filename_index(nam... ^ build_in.c:588:5: warning: implicit declaration of function 'tokenallfree' is invalid in C99 [-Wimplicit-function-declaration] tokenallfree(); ^ build_in.c:589:5: warning: implicit declaration of function 'indicesallfree' is invalid in C99 [-Wimplicit-function-declaration] indicesallfree(); ^ filetype.c:71:6build_in.c:: 590warning: :implicit5 :declaration warning: ofimplicit functiondeclaration 'test_special_suffix'of functionis 'wordallfree'invalid isin C99invalid [-Wimplicit-function-declaration]in C99 dir.c[-Wimplicit-function-declaration]: 268:3 wordallfree(); if (test_special_suffix(tempname)) {: ^ ^warning: implicit declaration of function 'remove_filename' is invalid in C99 [-Wimplicit-function-declaration] PROCESS_EXIT; ^ build_in.c:dir.c602::1701::4 :warning: typenote: expandedspecifier frommissing, macrodefaults 'PROCESS_EXIT'to 'int' remove_filename(fileindex, new_partition);\[-Wimplicit-int] ^ traverse1() ^ filetype.c:100:6: warning: implicit declaration of function 'test_postscript' is invalid in C99 [-Wimplicit-function-declaration] if (test_postscript(buffer, num_read)) { ^ dir.cfiletype.c::280109::318:: warning: warning: implicitimplicit declarationdeclaration ofof functionfunction 'memagrep_search''test_binary' isis invalidinvalid inin C99C99 [-Wimplicit-function-declaration][-Wimplicit-function-declaration] PROCESS_INCLUDE; ^ BINARY = test_binary(buffer, num_read); dir.c ^: 222:9: note: expanded from macro 'PROCESS_INCLUDE' (memagrep_search(-inc_len[i], inc[i], len_cu... ^ filetype.c:120:21: warning: implicit declaration of function 'test_uuencode' is invalid in C99 [-Wimplicit-function-declaration] UUENCODED = test_uuencode(buffer, num_read); ^ filetype.c:129:5: warning: implicit declaration getword.cofdir.c: :259function285: :1'heavy_index'4: : is warning: warning: type implicit invalid specifier declaration in missing, of C99 defaults function [-Wimplicit-function-declaration] to 'remove_filename' 'int'is if(heavy_index(tempname, buffer, num_read)) { [-Wimplicit-int]invalid ^in C99 set_indexable_char(indexable_char)[-Wimplicit-function-declaration] ^ PROCESS_EXIT; ^ dir.c:170:4: note: expandedfiletype.c :from137 :macro5 :'PROCESS_EXIT' warning: implicit declaration of remove_filename(fileindex, new_partition);\ function ^ 'hqx' is invalid in C99 [-Wimplicit-function-declaration] if(hqx(tempname, buffer, num_read)) { ^ dir.c:292:4: warning: implicit declaration of function 'remove_filename' is invalid in C99 [-Wimplicit-function-declaration] PROCESS_EXIT; ^ dir.c:170:4: note: expanded from build_in.cmacro: 713'PROCESS_EXIT': 9: error: non-void remove_filename(fileindex, new_partition);\function ^'traverse1' should return a value [-Wreturn-type] return; ^ filetype.c:154:17: warning: implicit declaration of function 'extract_info' is invalid in C99 [-Wimplicit-function-declaration] *xinfo_len = extract_info(tempname, buffer, num_... ^ getword.c:271:1: warning: non-void function does not return a value [-Wreturn-type] } ^ dir.c:302:6: warning: implicit declaration of function 'memagrep_search' is invalid in C99 [-Wimplicit-function-declaration] PROCESS_INCLUDE; ^ dir.c:222:9: note: expanded from macro 'PROCESS_INCLUDE' (memagrep_search(-inc_len[i], inc[i], len_cu... ^ build_in.c:744:5: warning: implicit declaration of function 'merge_in' is invalid in C99 [-Wimplicit-function-declaration] merge_in(i2, i1, i3); ^ getword.c:273:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] set_special_char(special_char) ^ build_in.c:784:1: warning: type getword.cspecifierdir.c: :295missing,304 ::defaults16 ::to warning: warning: 'int'non-voidimplicit functiondeclaration[-Wimplicit-int] doesof build_hash() notfunction^ return'remove_filename' ais value invalid [-Wreturn-type]in C99 }[-Wimplicit-function-declaration] ^ PROCESS_EXCLUDE; ^ dir.c:180:5: note: expanded from macro 'PROCESS_EXCLUDE' PROCESS_EXIT;\ ^ dir.c:170:4: note: expanded from macro 'PROCESS_EXIT' remove_filename(fileindex, new_partition);\ ^ build_in.c:807:26: warning: implicit declaration of function 'region_initialize' dir.cis: 304invalid: 6in: C99warning: implicit[-Wimplicit-function-declaration] declaration of function if (StructuredIndex) region_initialize();'memagrep_search' ^is invalid in C99 [-Wimplicit-function-declaration] dir.c:build_in.c189::80816::5 :note: expandedwarning: implicitfrom declarationmacro of'PROCESS_EXCLUDE' function 'init_hash_table' is invalid in C99 ((ret = memagrep_search(-pat_len[i], pat[i]...[-Wimplicit-function-declaration] ^ init_hash_table(); ^ dir.c:304:6: warning: implicit declaration of function 'remove_filename' is invalid inbuild_in.c :C99818 :[-Wimplicit-function-declaration]18 : error: dir.cnon-void: 193function: 5'build_hash': shouldnote: expandedreturn froma macrovalue 'PROCESS_EXCLUDE' [-Wreturn-type] PROCESS_EXIT;\ ^ if (tried_once) return; dir.c ^: 170:4: note: expanded from macro 'PROCESS_EXIT' remove_filename(fileindex, new_partition);\ ^ dir.c:308:6:build_in.c :warning: 831implicit: 17declaration: ofwarning: implicitfunction declaration'remove_filename' ofis function invalid'tuncompress_file' in isC99 invalid[-Wimplicit-function-declaration] in C99 [-Wimplicit-function-declaration] PROCESS_EXCLUDE; ^ dir.c:180:5: note: expanded from if ((ret = tuncompress_file(LIST_GET(name_list, i), outname... macro ^ 'PROCESS_EXCLUDE' PROCESS_EXIT;\ ^ dir.c:170:4: note: expanded from macro 'PROCESS_EXIT' remove_filename(fileindex, new_partition);\ ^ dir.cbuild_in.c::308832::633:: warning: warning: implicitimplicit declarationdeclaration ofof functionfunction 'memagrep_search''region_create' isis invalidinvalid inin C99C99 [-Wimplicit-function-declaration][-Wimplicit-function-declaration] dir.c:189:16: if (StructuredIndex && (-1 == region_create(outname))) {note: expanded ^ from macro 'PROCESS_EXCLUDE' ((ret = memagrep_search(-pat_len[i], pat[i]... ^ build_in.c:834:dir.c7::308 :warning: 6implicit: declarationwarning: implicitof declarationfunction of'remove_filename' functionis 'remove_filename' invalidis in invalidC99 in[-Wimplicit-function-declaration] C99 [-Wimplicit-function-declaration] dir.c remove_filename(i, -1);: 193 ^: 5: note: expanded from macro 'PROCESS_EXCLUDE' PROCESS_EXIT;\ ^ dir.c:170:4: note: expanded from macro 'PROCESS_EXIT' remove_filename(fileindex, new_partition);\ ^ build_in.c:839:7: warning: implicit declaration of function 'remove_filename' is invalid in C99 [-Wimplicit-function-declaration] remove_filename(i, -1); ^ build_in.c:840:28: warning: implicit declaration of function 'region_destroy' is invalid in C99 [-Wimplicit-function-declaration] if (StructuredIndex) region_destroy(); /* canno... ^ dir.c:310:6: warning: implicit declaration of function 'memagrep_search' is invalid in C99 [-Wimplicit-function-declaration] PROCESS_INCLUDE; ^ dir.c:222:9: note: expanded from macro 'PROCESS_INCLUDE' build_in.c:850:17: (memagrep_search(-inc_len[i], inc[i], len_cu... warning: ^implicit declaration of function 'apply_filter' is invalid in C99 [-Wimplicit-function-declaration] if ((ret = apply_filter(LIST_GET(name_list, i), outname)) == 1) { ^ build_in.c:852:33: warning: implicit declaration of function 'region_create' is invalid in C99 [-Wimplicit-function-declaration] if (StructuredIndex && (-1 == region_create(outname))) { ^ dir.c:313:5: warning: implicit declaration of function 'memagrep_search' is invalid in C99 [-Wimplicit-function-declaration] PROCESS_FILTER; ^ dir.c:252:9: note: expandedbuild_in.c :from854 :macro7 :'PROCESS_FILTER' warning: implicit declaration of function 'remove_filename' (memagrep_search(-filter_len[i], filter[i], ...is ^ invalid in C99 [-Wimplicit-function-declaration] remove_filename(i, -1); ^ build_in.c:859:7: warning: implicit declaration of function 'remove_filename' is invalid in C99 [-Wimplicit-function-declaration] remove_filename(i, -1); ^ dir.cbuild_in.c::317860::528:: warning: warning: implicitimplicit declarationdeclaration ofof functionfunction 'memagrep_search''region_destroy' isis invalidinvalid inin C99C99 [-Wimplicit-function-declaration][-Wimplicit-function-declaration] PROCESS_INCLUDE; ^ if (StructuredIndex) region_destroy(); /* canno...dir.c : ^222 :9: note: expanded from macro 'PROCESS_INCLUDE' (memagrep_search(-inc_len[i], inc[i], len_cu... ^ build_in.c:869:7: warning: implicit declaration of function 'filetype' is invalid in C99 [-Wimplicit-function-declaration] filetype.c:276:1: if (filetype(LIST_GET(name_list, i), 0, NULL, NULL)) { ... warning: ^type specifier missing, defaults to 'int' [-Wimplicit-int] heavy_index(name, buffer, num_read) ^ build_in.c:870:7: warning: implicit declarationdir.c :of319 :function6 :'remove_filename' warning: isimplicit declarationinvalid ofin functionC99 'remove_filename'[-Wimplicit-function-declaration] is invalid in C99 remove_filename(i, -1);[-Wimplicit-function-declaration] ^ PROCESS_EXCLUDE; ^filetype.c :291dir.c::16180:: 5warning: :implicit note: declarationexpanded offrom functionmacro 'hash4k''PROCESS_EXCLUDE' build_in.cis: PROCESS_EXIT;\877invalid : ^36 :in dir.c warning: :C99170implicit : [-Wimplicit-function-declaration]4declaration : ofnote: expandedfunction hash_value = hash4k(word, strlen(word)); from 'region_create' ^ macro is 'PROCESS_EXIT' invalid in remove_filename(fileindex, new_partition);\C99 ^[-Wimplicit-function-declaration] if (StructuredIndex && (-1 == region_create(LIST_GET(name_li... ^ dir.c:319:6: warning: implicit declaration of function 'memagrep_search' is invalid in C99 [-Wimplicit-function-declaration] dir.c:189:16: note: expanded from macro 'PROCESS_EXCLUDE' ((ret = memagrep_search(-pat_len[i], pat[i]... ^ build_in.c:879:3: warning: implicit declaration of function 'remove_filename' is invalid in C99 [-Wimplicit-function-declaration] remove_filename(i, -1); ^ dir.c:319:6: warning: implicit declaration of function 'remove_filename' is invalid in C99 [-Wimplicit-function-declaration] dir.c:193:5: note: expanded from macro 'PROCESS_EXCLUDE' PROCESS_EXIT;\filetype.c : ^312 :dir.c1::170 :warning: 4type: specifiernote: expandedmissing, fromdefaults macroto 'PROCESS_EXIT''int' [-Wimplicit-int] build_in.c: remove_filename(fileindex, new_partition);\884 : ^hqx(name, buffer, num_read)3 :^ warning: implicit declaration of function 'remove_filename' is invalid in C99 [-Wimplicit-function-declaration] remove_filename(i, -1); ^ build_in.c:885:24: warning: implicit declaration of function 'region_destroy' is invalid in C99 [-Wimplicit-function-declaration] if (StructuredIndex) region_destroy(); /* cannot happen! */ ^ dir.c:322:5: warning: implicit declaration of function 'remove_filename' is invalid in C99 [-Wimplicit-function-declaration] PROCESS_EXCLUDE; ^ dir.c:180:5: note: expanded from macro 'PROCESS_EXCLUDE' PROCESS_EXIT;\ ^ dir.c:170:4: note: expanded from macro 'PROCESS_EXIT' remove_filename(fileindex, new_partition);\ ^ dir.c:322:5: warning: implicit declaration of function 'memagrep_search' is invalid in C99 [-Wimplicit-function-declaration] dir.c:189:16: note: expanded from macro 'PROCESS_EXCLUDE' ((ret = memagrep_search(-pat_len[i], pat[i]... ^ dir.c:322In file included from :io.c5::12 : warning: ../index/utils.cimplicit: 449declaration: 1of: functionwarning: type'remove_filename' specifieris missing, invaliddefaults into C99'int' [-Wimplicit-function-declaration] [-Wimplicit-int] dir.c:193:5:hashNk(name, len) note: ^expanded from macro 'PROCESS_EXCLUDE' PROCESS_EXIT;\ ^ dir.c:170:4: note: expanded from macro 'PROCESS_EXIT' remove_filename(fileindex, new_partition);\ ^ dir.c:323:5: warning: implicit declaration of function 'memagrep_search' is invalid in C99 [-Wimplicit-function-declaration] PROCESS_INCLUDE; ^ dir.c:222:9: note: expanded from macro 'PROCESS_INCLUDE' (memagrep_search(-inc_len[i], inc[i], len_cu... ^ io.cdir.c::48325::14:: warning: warning: typeimplicit specifierdeclaration missing,build_in.cof : defaults1014function: 27to'memagrep_search': 'int'warning: is implicit [-Wimplicit-int] declarationinvalid ofin functionC99 get_array_of_lines(inputfile, table, max_entry, overflow_ok) 'region_destroy' [-Wimplicit-function-declaration]^ is invalid PROCESS_FILTER; in ^ C99 dir.c[-Wimplicit-function-declaration]: 252:9: note: expanded from if (StructuredIndex) region_destroy();macro ^'PROCESS_FILTER' (memagrep_search(-filter_len[i], filter[i], ... ^ build_in.c:1021:2: error: non-void function 'build_hash' should return a value [-Wreturn-type] return; ^ dir.c:332:13:io.c :warning: 66implicit: 8declaration: ofwarning: passingfunction 'unsigned char [256]''fsize_directory' tois parameter invalidof intype C99'char *' [-Wimplicit-function-declaration] converts between pointers to integer types if (-1 == fsize_directory(name, pat, pat_len, num_pat, i... where ^ one is of the unique plain 'char' type and the other is not [-Wpointer-sign] fgets(buffer, MAX_NAME_BUF, file_in); ^~~~~~ /usr/include/stdio.h:586dir.c::38336:: 8note: :passing warning: argumentimplicit todeclaration parameterof '__s'function here'filetype' is invalid in C99 [-Wimplicit-function-declaration]extern char *fgets (char *__restrict __s, int __n, FILE *__restrict __stream) ^ if (!filetype(name, IndexEverything?2:1, NULL, NULL)) pr... ^ io.c:67:9: warning: passing 'unsigned char [256]' to parameter of type 'const char *'build_in.c :converts1034 :between7 :pointers warning: toimplicit integerdeclaration typesof wherefunction one'remove_filename' is isof invalid dir.c the:in 341 unique:C99 7 plain:[-Wimplicit-function-declaration] 'char'warning: implicittype declarationand of remove_filename(i, -1);the function ^other 'remove_filename'is isnot [-Wpointer-sign]invalid in C99 [-Wimplicit-function-declaration] sscanf(buffer, "%d", &num_lines); ^~~~~~ /usr/include/stdio.h:433 remove_filename(fileindex, new_partition);: 60 ^: note: passing argument to parameter '__s' here extern int __REDIRECT_NTH (sscanf, (const char *__restrict __s, ^ build_in.c:1040:17: warning: implicit declaration of function 'tuncompress_file' is invalid in C99 [-Wimplicit-function-declaration] dir.c:353:14: warning: implicit declaration of function 'tuncompress_file' if ((ret = tuncompress_file(LIST_GET(name_list, i), outname... is ^ invalid inio.c :C9975 :[-Wimplicit-function-declaration]14 : warning: passing 'unsigned char [256]' to parameter of if (tuncompress_file(name, outname, TC_EASYSEARCH | TC_O...type ^'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other isbuild_in.c :not1041 :[-Wpointer-sign]33 : warning: implicit declaration while(fgets(buffer, MAX_NAME_BUF, file_in)) {of ^~~~~~function 'region_create'/usr/include/stdio.h :is586 : 38invalid: innote: passingC99 argument[-Wimplicit-function-declaration] to parameter '__s' here if (StructuredIndex && (-1 == region_create(outname))) { ^ extern char *fgets (char *__restrict __s, int __n, FILE *__restrict __stream) ^ io.c:76:24: warning: passing 'unsigned char [256]' to parameter of type 'const char *' converts between pointers to integer types where one is of build_in.cthe: 1043unique: 7plain: 'char'warning: implicittype declarationand ofthe functionother 'remove_filename'is notis [-Wpointer-sign]invalid in C99 [-Wimplicit-function-declaration] line_length = strlen(buffer); ^~~~~~ remove_filename(i, -1); ^ /usr/include/string.h:391:35: note: passing argument to parameter '__s' here extern size_t strlen (const char *__s) ^ build_in.c:1048:7: warning: implicit declaration of function 'remove_filename' is invalid in C99 [-Wimplicit-function-declaration] remove_filename(i, -1); ^ build_in.c:1049:28: warning: implicit declaration of function 'region_destroy' is invalid in C99 [-Wimplicit-function-declaration] if (StructuredIndex) region_destroy(); /* canno... ^ build_in.cdir.c::1060375::178:: warning: warning: implicitimplicit declarationdeclaration ofof functionfunction 'apply_filter''filetype' isis invalidinvalid inin C99C99 [-Wimplicit-function-declaration][-Wimplicit-function-declaration] if ((ret = apply_filter(LIST_GET(name_list, i), outname)) == 1) { ^ if (filetype(name, IndexEverything?2:1, &xinfo_l... ^ dir.c:377:5: warning: implicit declaration of function 'remove_filename' is invalid in C99 [-Wimplicit-function-declaration] build_in.c:1062:33: remove_filename(fileindex, new_partition);warning: implicit ^ declaration io.cof: 107function: 14'region_create': iswarning: passing invalid'unsigned char [256]' into C99parameter [-Wimplicit-function-declaration]of type 'const char *' converts if (StructuredIndex && (-1 == region_create(outname))) { between ^ pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strcpy(np, buffer); ^~~~~~ /usr/include/string.h:125:70: note: build_in.cpassing: 1064argument: 7to: parameterwarning: implicit'__src' declarationhere of function 'remove_filename' extern char *strcpy (char *__restrict __dest, const char *__restrict __src)is ^invalid in C99 [-Wimplicit-function-declaration] remove_filename(i, -1); ^ dir.c:393:8: warning: implicit declaration of function 'change_filename' is invalid in C99 [-Wimplicit-function-declaration] build_in.c:1069:7: warning: implicit change_filename(name, name_len, fileindex, t1); declaration ^ of function 'remove_filename' is invalid in C99 [-Wimplicit-function-declaration] remove_filename(i, -1); ^ build_in.c:1070:28: warning: implicit declaration of function 'region_destroy' is invalid in C99 [-Wimplicit-function-declaration] dir.c:399:10 if (StructuredIndex) region_destroy(); /* canno...: ^warning: implicit declaration of function 'filetype' is invalid in C99 [-Wimplicit-function-declaration] build_in.c if(filetype(name, IndexEverything?2:1, &xinfo_len, xinfo)) {: 1079 ^: 7: warning: implicit declaration of function 'filetype' is invalid in C99 [-Wimplicit-function-declaration] if (filetype(LIST_GET(name_list, i), 0, NULL, NULL)) { ... ^ build_in.c:1080:7: warning: implicit declaration of function 'remove_filename' is invalid in C99 [-Wimplicit-function-declaration] remove_filename(i, -1); ^ build_in.c:1087:36: warning: implicit declaration of function 'region_create' is invalid in C99 [-Wimplicit-function-declaration] if (StructuredIndex && (-1 == region_create(LIST_GET(name_li... ^ build_in.c:1089:3: warning: implicit declaration of function 'remove_filename' is invalid in C99 [-Wimplicit-function-declaration] remove_filename(i, -1); ^ dir.c:427:7: warning: implicit declaration of function 'insert_filename' is invalid in C99 [-Wimplicit-function-declaration] build_in.c:1094:3 insert_filename(LIST_GET(name_list, file_num), file_num);: ^warning: implicit declaration of function 'remove_filename' is invalid in C99 [-Wimplicit-function-declaration] remove_filename(i, -1); ^ build_in.c:1095:24: warning: implicit declaration of function 'region_destroy' is invalid in C99 [-Wimplicit-function-declaration] if (StructuredIndex) region_destroy(); /* cannot happen! */ ^ dir.c:455:6: warning: implicit declaration of function 'filetype' is invalid in C99 [-Wimplicit-function-declaration] if(filetype(name, IndexEverything?2:1, &xinfo_len, xinfo)) { ^ io.c:169:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] get_index_type(s, dashn, num, attr, delim) ^ io.c:188:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] get_block_numbers(srcbuf, destbuf, partfp) ^ build_in.c:1224:27: warning: implicit declaration of function 'region_destroy' is invalid in C99 [-Wimplicit-function-declaration] if (StructuredIndex) region_destroy(); ^ io.c:212:12: build_in.cwarning: :passing1233 :'unsigned char *'1 :to warning: parametertype ofspecifier typemissing, 'char *'defaults toconverts 'int'between pointers[-Wimplicit-int] to integerinit_hash_table() types^ where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (fgets(destbuf, REAL_INDEX_BUF - MAX_WORD_BUF - 1, partfp) == NULL) { ^~~~~~~ /usr/include/stdio.h:586:38: note: passingbuild_in.c :argument1238 :to5 :parameter error: '__s'non-void herefunction 'init_hash_table' should return a valueextern char *fgets (char *__restrict __s, int __n, FILE *__restrict __stream) [-Wreturn-type] ^ return; ^ io.c:218:1: warning: non-void function does not return a value [-Wreturn-type] } ^ build_in.c:1267:18: warning: implicit declaration of function 'hash64k' is invalid in C99 [-Wimplicit-function-declaration] hash_value = hashword(word, wordlen); ^ ../index/glimpse.h:233:96: note: expanded from macro 'hashword' ...(((total_size < LIMIT_64K_HASH*1024*1024) || !BigHashTable) ? (hash64k(w... ^ build_in.c:1267:18: warning: implicit declaration of function 'hash256k' is invalid in C99 [-Wimplicit-function-declaration] ../index/glimpse.h:233:123: note: expanded from macro 'hashword' ...|| !BigHashTable) ? (hash64k(word, wordlen)) : (hash256k(word, wordlen))); ^ io.c:266:15: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] len = strlen(filter_command[i]); ^~~~~~~~~~~~~~~~~ /usr/include/string.h:391:35: note: passing argument to parameter '__s' here extern size_t strlen (const char *__s) ^ io.c:272:34: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if ((filter_handle[i] = dlopen(filter_command[i], ^~~~~~~~~~~~~~~~~ /usr/include/dlfcn.h:56:34: note: passing argument to parameter '__file' here extern void *dlopen (const char *__file, int __mode) __THROWNL; ^ io.c:326:20: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] escapesinglequote(in_name, escaped_in); ^~~~~~~ io.c:327:20: warning: passing 'const char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] escapesinglequote(out_name, escaped_out); ^~~~~~~~ build_in.c:1459:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] scanword(word, buffer, buffer_end, attr) ^ io.c:369:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] read_filters(index_dir, dofilter) ^ build_in.c:1467:13: warning: implicit declaration of function 'encode16b' is invalid in C99 [-Wimplicit-function-declaration] *attr = encode16b(0); ^ io.c:387:20: error: non-void function 'read_filters' should return a value [-Wreturn-type]build_in.c :1484:1: if (!dofilter) return;warning: type ^ specifier missing, defaults to 'int' [-Wimplicit-int] merge_in(f1, f2, f3) ^ build_in.c:1507:15: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (fgets(dest_index_buf, REAL_INDEX_BUF, f2) == NULL) dest_index_bu... ^~~~~~~~~~~~~~ /usr/include/stdio.h:586:38: note: passing argument to parameter '__s' here extern char *fgets (char *__restrict __s, int __n, FILE *__restrict __stream) ^ build_in.c:1509:26: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] dest_end_pt = strlen(dest_index_buf); ^~~~~~~~~~~~~~ /usr/include/string.h:391:35:io.c :note: 449passing: 1argument: towarning: typeparameter specifier'__s' missing,here defaults to 'int' extern size_t strlen (const char *__s)[-Wimplicit-int] ^ apply_filter(inname, outname) ^ build_in.c:1510:14: warning: passing 'char [70]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] scanword(word2, dest_index_buf, dest_index_buf+dest_end_pt, &attr2); ^~~~~ build_in.c:1516:17: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] partition.c:70: while(fgets(src_index_buf, REAL_INDEX_BUF, f1)) {io.c1 :: ^~~~~~~~~~~~~481 :warning: 33/usr/include/stdio.h:type: 586warning: specifier: passing38missing, : 'unsigned char *' defaults note: topassing to parameter argument 'int' of to type[-Wimplicit-int]parameter '__s''const char *' hereconverts between pointers topartition(dir_num, dir_name) integer^extern char *fgets (char *__restrict __s, int __n, FILE *__restrict __stream) types ^ where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] build_in.c:1518 if ((suffix = strstr(name+1, filter[i])) != NULL...: 22 ^~~~~~~~~: warning: /usr/include/string.hpassing: 334'unsigned char *': 58to: parameternote: passingof argumenttype to 'const char *'parameter converts'__needle' between herepointers to integer types where one extern char *strstr (const char *__haystack, const char *__needle)is ^of the unique plain 'char' type and the other is not [-Wpointer-sign] src_end_pt = strlen(src_index_buf); ^~~~~~~~~~~~~ /usr/include/string.h:391:35: note: passing argument to parameter '__s' here extern size_t strlen (const char *__s) ^ partition.c:116:21build_in.c:: 1519warning: :implicit15 :declaration warning: ofpassing function'char [70]' 'memagrep_init'to isparameter ofinvalid typein C99'unsigned char *' [-Wimplicit-function-declaration]converts between pointers to integer types where if ((dummylen = memagrep_init(exin_argc, exin_argv, MAX_PAT, dummypa...one ^is of the unique plain 'char' type and the other is not [-Wpointer-sign] io.c: scanword(word1, src_index_buf, src_index_buf+src_end_pt, &attr1);514 : ^~~~~16 : warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers dir.cto: 492integer: 1types: wherewarning: typeone specifieris missing,of defaults theto unique'int' plain[-Wimplicit-int] 'char' type build_in.cand: 1525the: 12otherfsize_directory(name, pat, pat_len, num_pat, inc, inc_len, num_inc): is^warning: passing not 'unsigned char *'[-Wpointer-sign] to parameter of if (strcmp(filter[i], suffix) == 0) {type ^~~~~~~~~ 'const char *' /usr/include/string.hconverts:partition.c 140:between: 12832pointers: :27to : note: integer passing warning: typesimplicitargument wheredeclarationto oneofparameter isfunction'__s1' of here 'convert2agrepregexp' theis uniqueinvalidextern int strcmp (const char *__s1, const char *__s2) plainin ^ 'char'C99 type[-Wimplicit-function-declaration] and the other is not if ((pat_len[num_pat] = convert2agrepregexp(patbuf, len-...[-Wpointer-sign] ^ fputs(dest_index_buf, f3); ^~~~~~~~~~~~~~ /usr/include/stdio.h:649:42: note: passing argument to parameter '__s' here extern int fputs (const char *__restrict __s, FILE *__restrict __stream); ^ io.c:526:9: warning: implicit declaration of functionbuild_in.c :'memagrep_search'1528 :is15 : invalidwarning: passingin 'unsigned char *'C99 to[-Wimplicit-function-declaration] parameter of type 'char *' converts (memagrep_search(-filter_len[i], filter[i], ... between ^ pointers to integer types where one is of the unique plain 'char' type and the other ispartition.c :not149 :[-Wpointer-sign]27 : warning: implicit declaration of function 'convert2agrepregexp' if(fgets(dest_index_buf, REAL_INDEX_BUF, f2) == NULL) {is ^~~~~~~~~~~~~~invalid in/usr/include/stdio.h :C99586 :[-Wimplicit-function-declaration]38 : note: passing argument to parameter '__s' here if ((inc_len[num_inc] = convert2agrepregexp(patbuf, len-... ^ glimpse.c:extern char *fgets (char *__restrict __s, int __n, FILE *__restrict __stream)89 : ^8 : warning: type specifier missing, defaults to 'int' [-Wimplicit-int] extern set_usemalloc(); /* compress/misc.c */ ~~~~~~ ^ build_in.c:1534:27: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to glimpse.cinteger: 98types: 1where: onewarning: typeis specifierof missing, thedefaults uniqueto plain'int' 'char' [-Wimplicit-int]type and the othercross_boundary(oldnum, newnum) is^io.c :not566 :[-Wpointer-sign]1 : warning: type specifier missing, dest_end_pt = strlen(dest_index_buf);defaults ^~~~~~~~~~~~~~to 'int'/usr/include/string.h :[-Wimplicit-int]391 :35: note: static_stop_list(word)passing ^argument to parameter '__s' here extern size_t strlen (const char *__s) ^ build_in.c:1535:19: warning: passing 'char [70]' to parameterpartition.c :of182 :type6 : 'unsigned char *'warning: implicitconverts declarationbetween ofpointers functionto 'fsize'integer istypes invalidwhere onein isC99 [-Wimplicit-function-declaration]of the unique plain 'char' type and the other is fsize(current_dir, pat, pat_len, num_pat, inc, inc_len, num_inc... not ^ [-Wpointer-sign] scanword(word2, dest_index_buf, dest_index_buf+dest_end_pt, &attr2); ^~~~~ build_in.c:1557:11: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the partition.cglimpse.cother:: 111205is:: 1not6: : [-Wpointer-sign] warning: warning: typeimplicit specifierdeclaration missing,of defaultsfunction to'fsize' strcpy(merge_index_buf, src_index_buf); /* save ... 'int' is ^~~~~~~~~~~~~~~ invalid [-Wimplicit-int]io.c /usr/include/string.h:in:662 determine_sync()125:C99 :1 ^39:[-Wimplicit-function-declaration] : warning: note: typepassing specifierargument missing,to defaultsparameter to'__dest' fsize(current_dir, pat, pat_len, num_pat, inc, inc_len, num_inc...'int'here ^[-Wimplicit-int] my_free(ptr, size) ^ extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ build_in.c:1557:28: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strcpy(merge_index_buf, src_index_buf); /* save ... ^~~~~~~~~~~~~ /usr/include/string.h:125:70: note: passing argument to parameter '__src' here extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ build_in.c:1558io.c::23709:: 1warning: :passing warning: 'unsigned char *'type tospecifier parametermissing, ofdefaults typeto 'int''const char *' [-Wimplicit-int]converts between pointerstokenallfree() to^ integer types where one is of the unique plain 'char' type and io.cthe: 714other: 1is: notwarning: type[-Wpointer-sign] specifier missing, defaults to 'int' [-Wimplicit-int] tokenfree(e, len) ^ merge_len = strlen(src_index_buf); /* merge... ^~~~~~~~~~~~~ /usr/include/string.h:391:35: note: passing argument to parameter '__s' here extern size_t strlen (const char *__s) ^ build_in.c:1571:12: warning: implicit declaration of function 'decode8b' is invalid in C99 [-Wimplicit-function-declaration] x = decode8b(src_index_buf[bdx1]); ^ io.c:736:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] indicesallfree() ^ io.c:741:1: build_in.cwarning: :type1577 :specifier9 :missing, warning: defaultsimplicit todeclaration 'int'of [-Wimplicit-int]function 'decode12b' is indicesfree(e, len) invalid^ in C99 [-Wimplicit-function-declaration] x = decode12b(x); ^ build_in.c:1583:9: warning: implicit declaration of function 'decode12b' is invalid in C99 [-Wimplicit-function-declaration] x = decode12b(x); ^ glimpse.c:158:1: warning: type specifier missing, defaults tobuild_in.c :'int'1590 : 12[-Wimplicit-int]: warning: implicit declarationmain(argc, argv) of^ function 'decode16b' is io.c :invalid764 :in1 :C99 warning: [-Wimplicit-function-declaration]type specifier missing, x = decode16b(x);defaults ^to 'int' [-Wimplicit-int] wordallfree() ^ io.c:769:1: warning: type specifier missing, defaults tobuild_in.c :'int'1595 :[-Wimplicit-int]12 : warning: implicitwordfree(s, len) declaration^ of function 'decode24b' is invalid in C99 [-Wimplicit-function-declaration] x = decode24b(x); ^ glimpse.c:193:5: warning: implicitbuild_in.c :declaration1611 :of15 :function warning: passing'build_filename_hashtable' 'unsigned char *'is toinvalid parameterin ofC99 type [-Wimplicit-function-declaration] 'char *' converts between pointers build_filename_hashtable((char *)NULL, 0); to ^ integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strcpy(merge_index_buf, dest_index_buf); ... ^~~~~~~~~~~~~~~ /usr/include/string.h:125:glimpse.c39io.c:::201 995:note: :13passing18: : argumentwarning: implicitwarning: to passing declaration parameter 'unsigned char *' of '__dest' to function here parameter 'usage' ofis typeinvalid 'char *'extern char *strcpy (char *__restrict __dest, const char *__restrict __src) in ^converts C99between [-Wimplicit-function-declaration]pointers build_in.c :to1611 : return usage(1);integer32 : ^types warning: wherepassing one'unsigned char *' isto ofparameter theof uniquetype plain'const char *' 'char'converts typebetween andpointers theto otherinteger istypes notwhere [-Wpointer-sign]one is of the index = hash64k(word, len);unique ^~~~plain 'char' type and the other is not [-Wpointer-sign] strcpy(merge_index_buf, dest_index_buf); ... ^~~~~~~~~~~~~~ /usr/include/string.h:125:70: note: passing argument to parameter '__src' here extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ build_in.c:1612:27: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] glimpse.c:237:10: warning: merge_len = strlen(merge_index_buf);implicit ^~~~~~~~~~~~~~~declaration of/usr/include/string.h :function391 :'usage'35 :is note: invalidpassing argumentin toC99 parameter[-Wimplicit-function-declaration] '__s' here return usage(1); ^ extern size_t strlen (const char *__s) ^ build_in.c:1627:12: warning: implicit declaration of function 'decode8b' is invalid in C99 [-Wimplicit-function-declaration] x = decode8b(dest_index_buf[bdx2]); ^ build_in.c:buildcast.c1633::9: 89warning: :implicit8 :declaration warning: of typefunction specifier'decode12b' missing,is defaults invalidto in'int' C99 [-Wimplicit-int][-Wimplicit-function-declaration] x = decode12b(x); ^ extern set_usemalloc(); /* compress/misc.c */ ~~~~~~ ^io.c :1049:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] build_in.cdump_mini(indexfile): 1639^: 9: warning: implicit declaration of function 'decode12b' glimpse.cis: 318 :invalid10 :in warning: C99buildcast.cimplicit : [-Wimplicit-function-declaration]98declaration : 1of: function x = decode12b(x);warning: type ^'usage' specifieris missing,invalid defaults into C99'int' [-Wimplicit-function-declaration] [-Wimplicit-int] return usage(1); ^ cross_boundary(oldnum, newnum) ^ build_in.c:1646:12: warning: implicit declaration of function 'decode16b' is invalidglimpse.c :in323 :C99io.c10 ::[-Wimplicit-function-declaration]1073 :warning: 10implicit: x = decode16b(x);declarationwarning: passing ^of 'unsigned char [1024]'function to'usage' parameteris ofinvalid type in 'char *'C99 converts[-Wimplicit-function-declaration] between pointers return usage(1); to ^ integerbuild_in.c :types1651 :where12 :one warning: isimplicit ofdeclaration theof functionunique 'decode24b'plain is'char' typeinvalid andin theC99 other[-Wimplicit-function-declaration] is not [-Wpointer-sign] x = decode24b(x); ^ sprintf(s, "%s.tmp", indexfile); ^ /usr/include/stdio.h:352:38: note: passing argument to parameter '__s' here extern int sprintf (char *__restrict __s, ^ glimpse.c:341:io.c10::1074 :warning: 26implicit: declarationwarning: passingof 'unsigned char [1024]'function to'usage' parameteris ofinvalid type in 'const char *'C99 converts[-Wimplicit-function-declaration] between pointers return usage(1);to ^integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if ((newindexfp = fopen(s, "w")) == NULL) { ^ /usr/include/stdio.h:252:44: note: passing argument to parameter '__filename' hereglimpse.c :349:10: warning: implicitextern FILE *fopen (const char *__restrict __filename, declaration ^ of function 'usage' is invalid in C99 [-Wimplicit-function-declaration] return usage(1); ^ build_in.c:1681:37: warning: implicit declaration of function 'encode8b' is invalid in C99 [-Wimplicit-function-declaration] io.c:1081:8: warning: passing 'unsigned char [1024]' to merge_index_buf[merge_len ++] = encode8b... parameter ^ of type 'char *' converts between pointers to integerbuildcast.c types: 111where: 1one: iswarning: typeof specifierbuild_in.cthe : missing,1683 :defaultsunique38 :toplain warning: 'int''char' implicit type[-Wimplicit-int]declaration andof thefunction determine_sync()other'encode12b' ^isisglimpse.c :not 363 invalid:[-Wpointer-sign] 14 in: C99warning: implicit fgets(indexnumber, 256, indexfp);[-Wimplicit-function-declaration] declaration ^~~~~~~~~~~ of /usr/include/stdio.hfunction: 586'usage': 38is: merge_index_buf[merge_len ++] = (encode1...invalidnote: passing ^ inargument C99to [-Wimplicit-function-declaration]parameter '__s' here return usage(1); ^ extern char *fgets (char *__restrict __s, int __n, FILE *__restrict __stream) ^ io.c:1082:8: warning: passing 'unsigned char [1024]' to parameter build_in.cof: 1687type: 38 :'char *' warning: convertsimplicit betweendeclaration pointersof tofunction integer'encode16b' typesis where invalidone inis C99of [-Wimplicit-function-declaration]the unique plain 'char' type and merge_index_buf[merge_len ++] = (encode1...the ^other is not [-Wpointer-sign] fgets(onefileperblock, 256, indexfp); ^~~~~~~~~~~~~~~ /usr/include/stdio.h:586:38: note: passing argument to parameter '__s' here build_in.c:1691:38extern char *fgets (char *__restrict __s, int __n, FILE *__restrict __stream): ^warning: implicit declaration of function 'encode24b' is invalid in C99 [-Wimplicit-function-declaration] merge_index_buf[merge_len ++] = (encode2... ^ io.c:1086:15: warning: passing 'unsigned char [1024]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] glimpse.c:415:10: while (fgets(s, MAX_LINE_LEN, indexfp) != NULL) {warning: implicit ^ declaration /usr/include/stdio.hof: 586function: 38'usage': isnote: passinginvalid argument into C99parameter [-Wimplicit-function-declaration]'__s' here return usage(1); ^ extern char *fgets (char *__restrict __s, int __n, FILE *__restrict __stream) ^ io.c:1088:20: warning: passing 'unsigned char [1024]' to parameter of type 'const char *' glimpse.cconverts: 425between: 9pointers: towarning: implicitinteger declarationtypes ofwhere functionone 'usage'is isof invalid thein unique C99plain [-Wimplicit-function-declaration]'char' type and return usage(1);the ^other is not [-Wpointer-sign] linelen = strlen(s); ^ /usr/include/string.h:391:35: note: passing argument to parameter '__s' here extern size_t strlen (const char *__s) ^ glimpse.c:435:9: warning: build_in.cimplicit: 1717declaration: 39of: functionwarning: implicit'usage' declarationis ofinvalid functionin 'encode8b' C99is [-Wimplicit-function-declaration] invalid in return usage(1);C99 ^[-Wimplicit-function-declaration] ...merge_index_buf[merge_len++] = encode8b(x); ^ glimpse.c:440:9: warning: implicit declarationio.c :of1096build_in.c ::function241720 ::'usage' 15 warning: :ispassing warning: invalid'unsigned char [1024]'implicit intodeclaration parameterofC99 offunction[-Wimplicit-function-declaration] type'encode12b' return usage(1); is 'char *' ^ convertsinvalid betweenin pointersC99 to[-Wimplicit-function-declaration] integer types where one x = encode12b(x); is ^ of the unique plain 'char' type and the other is not [-Wpointer-sign] hash_value = hash64k(s, j); ^ io.c:1099:13:build_in.c :warning: 1734passing: 12'unsigned char [1024]': towarning: implicitparameter declarationof oftype function 'const char *''encode16b' convertsis between invalidpointers into C99integer [-Wimplicit-function-declaration]types where one is x = encode16b(x);of ^ the unique plain 'char' type and the other is not [-Wpointer-sign] if (fputs(s, newindexfp) == EOF) { ^ /usr/include/stdio.h:649:42: note: passing argument to parameter '__s'build_in.c :here1739 :12: warning: implicit declarationextern int fputs (const char *__restrict __s, FILE *__restrict __stream); of function 'encode24b' ^is invalid in C99 [-Wimplicit-function-declaration] x = encode24b(x); ^ 4 warnings generated. glimpse.c:493:9: warning: implicit declaration of functionio.c :'usage'1110 :is10 :invalid warning: inpassing 'unsigned char [1024]'C99 to[-Wimplicit-function-declaration] parameter of type return usage(1); ^'char *' converts between pointers to integer types wherebuildcast.c :one158 :is1 :of warning: thetype specifierunique missing,plain defaults'char' totype 'int'and the[-Wimplicit-int] other is not [-Wpointer-sign] main(argc, argv) ^ sprintf(s, "exec %s '%s'", SYSTEM_RM, escapesinglequote(indexfil... ^ /usr/include/stdio.h:352:38: note: passing argument to parameter '__s' here extern int sprintf (char *__restrict __s, ^ io.c:1111:9: warning: passing 'unsigned char [1024]' to parameter of type 'const char *' converts between pointers to integer typesbuild_in.c :where1756 :one69 :is warning: offormat specifiesthe typeunique 'int'plain but'char' thetype argumentand hasthe glimpse.c other:type 529 is:'unsigned char *' 9 not:[-Wformat] [-Wpointer-sign]warning: implicit declaration system(s);of ^function 'usage' /usr/include/stdlib.his: 789invalid: 32in: ...to Realloc merge buffer (#3), new size is %d\n",merge_index_buf);note: C99 passing ~~ ^~~~~~~~~~~~~~~ [-Wimplicit-function-declaration]argument %s to partition.cparameter return usage(0);: 420'__command' ^: 1 :here warning: type specifier missing,extern int system (const char *__command) __wur; defaults ^ to 'int' [-Wimplicit-int] oldpartition(dir_num, dir_name) ^glimpse.c :536:2: warning: implicit declarationio.c :of1117 :function10 :'partition' warning: ispassing 'unsigned char [1024]'invalid toin parameterC99 of[-Wimplicit-function-declaration] type 'char *' partition(argc, argv); converts ^ between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] buildcast.c:193:5 sprintf(s, "exec %s -n -T '%s' '%s.tmp' > '%s'\n", SYSTEM_SORT, ...: ^warning: implicit/usr/include/stdio.h :declaration352 :of38 :function note: glimpse.cpassing'build_filename_hashtable': 573 build_in.cargument:is: 5 partition.c1771to:invalid:: 44947parameterwarning: in:: implicit 21 '__s' C99:warning: declaration formathere warning: ofimplicit[-Wimplicit-function-declaration]specifies functionextern int sprintf (char *__restrict __s,declarationtype 'read_filters' ^of'int' build_filename_hashtable((char *)NULL, 0);is functionbut ^ the 'memagrep_init'invalid argumentisin io.chas C99: invalid 1119 type[-Wimplicit-function-declaration]:in14 :'unsigned char *'C99 warning: [-Wformat] read_filters(INDEX_DIR, UseFilters);passing [-Wimplicit-function-declaration] 'unsigned char [1024]' ^ to parameter of type fprintf(stderr,"Realloc #4, new size is %d\n",merge_index_buf);'const char *' ~~ ^~~~~~~~~~~~~~~converts %sbetween if ((dummylen = memagrep_init(exin_argc, exin_argv, MAX_PAT, dummypa... pointers ^ to integer types where one is buildcast.cof: 201 :the13 :unique warning: plainimplicit 'char'declaration typeof andfunction the'usage' otheris isinvalid not in[-Wpointer-sign] C99 [-Wimplicit-function-declaration] rc = system(s); ^ /usr/include/stdlib.h:789:32 return usage(1);: glimpse.c ^note: : passingbuild_in.c585 ::argument17825 ::10to : warning: parameterimplicitwarning: passing'__command'declaration 'unsigned char *'of heretofunction parameter 'initialize_tuncompress'extern int system (const char *__command) __wur;of is ^type invalid 'const char *'in convertsC99 between [-Wimplicit-function-declaration]pointers to partition.cinteger: initialize_tuncompress(string_file, freq_file, 0);462types : ^27where : onewarning: implicitis declarationof of thefunction unique 'convert2agrepregexp'plain is'char' invalidtype inand C99theio.c :[-Wimplicit-function-declaration]other1130 :is10 :not warning: [-Wpointer-sign]passing 'unsigned char [1024]' to if ((pat_len[num_pat] = convert2agrepregexp(patbuf, len-... parameter ^ fputs(merge_index_buf, f3);of ^~~~~~~~~~~~~~~type 'char *' /usr/include/stdio.hconverts: 649between: 42pointers: tonote: passinginteger argumenttypes towhere parameterone '__s'is hereof the unique plain 'char' type extern int fputs (const char *__restrict __s, FILE *__restrict __stream);and ^the other is not [-Wpointer-sign] sprintf(s, "exec %s '%s.tmp'", SYSTEM_RM, escapesinglequote(inde... ^ /usr/include/stdio.h:352:build_in.c38::1787 :note: 28passing: argumentwarning: passingto 'unsigned char *'parameter to'__s' parameterhere of type 'char *'extern int sprintf (char *__restrict __s, convertsbuildcast.c ^ : between298 :pointers10 :to warning: integerimplicit typesdeclaration whereof io.c one:function 1131 is:'usage' 9 of:partition.cisglimpse.c : :thewarning: 483invalid626 passing: : 27 5unique'unsigned char [1024]':in: plaintowarning: C99warning: implicit implicit'char'parameter [-Wimplicit-function-declaration] declarationdeclarationtypeof ofofandtype return usage(1); functionfunctionthe ^ 'const char *' 'set_indexable_char'other 'convert2agrepregexp' converts is isis between not invalidinvalid pointers in[-Wpointer-sign] in to C99 C99 integer [-Wimplicit-function-declaration] [-Wimplicit-function-declaration] types strcpy(merge_index_buf, src_index_buf);where ^~~~~~~~~~~~~~~one set_indexable_char(indexable_char); is ^/usr/include/string.h if ((inc_len[num_inc] = convert2agrepregexp(patbuf, len-...:of 125 ^: 39the: uniquenote: passingplain argument'char' totype parameterand '__dest'the hereother is not [-Wpointer-sign] system(s); ^ /usr/include/stdlib.hextern char *strcpy (char *__restrict __dest, const char *__restrict __src): 789 ^: 32: note: passing argument tobuild_in.c :parameter1787 :'__command'45 : herewarning: passing 'unsigned char *' to parameterextern int system (const char *__command) __wur; of ^buildcast.c :type307 : 10'const char *': convertswarning: implicitbetween declarationpointers ofto functioninteger 'usage'types iswhere invalidone isin ofC99 [-Wimplicit-function-declaration]the unique glimpse.cplain: 838'char': return usage(1);10type : ^ and warning: implicitio.cthe : declaration1144other : of10is : function not warning: 'usage'passing[-Wpointer-sign] is'unsigned char [1024]' invalidto parameterin strcpy(merge_index_buf, src_index_buf);ofC99 ^~~~~~~~~~~~~type[-Wimplicit-function-declaration] /usr/include/string.h'char *': 125 return usage(0);converts: 70 ^between: pointersnote: passingto argumentinteger totypes parameterwhere '__src'one hereis glimpse.cof: 847the: 19 :unique extern char *strcpy (char *__restrict __dest, const char *__restrict __src)warning: plain implicit buildcast.c ^ 'char': declaration 318 type:of 10 and:function thewarning: 'get_index_type' implicit otherisdeclaration ispartition.c of build_in.c:invalid not:533 function 1788:in [-Wpointer-sign]:634 'usage' ::C99 iswarning: sprintf(s, "%s.tmp", indexfile);warning: [-Wimplicit-function-declaration] implicit passing invalid ^ declaration 'unsigned char *' /usr/include/stdio.hinofto: if ((indextype = get_index_type(s, &indexnumber, &indextype, &st... 352 C99function parameter: ^ [-Wimplicit-function-declaration] 38 'fsize' of: istypenote: return usage(1);passinginvalid 'const char *' ^argument inconverts to C99 between parameter [-Wimplicit-function-declaration] pointers '__s' tohere integer types where oneextern int sprintf (char *__restrict __s, is ^ of the fsize(current_dir, pat, pat_len, num_pat, inc, inc_len, num_inc...unique ^plain 'char' type and the otherio.c :is1145 :not26 glimpse.c:[-Wpointer-sign]: 865warning: :passing13 :'unsigned char [1024]' warning: toimplicit buildcast.c parameter:declaration 323 of:of10 :type bdx = strlen(merge_index_buf); /* merge_index_b...function warning: ^~~~~~~~~~~~~~~'get_array_of_lines'implicit'const char *' declaration/usr/include/string.hconvertsis : of391betweeninvalid : function35pointersin : 'usage' toC99 note: ispassinginteger[-Wimplicit-function-declaration] invalidargumenttypes towherein parameter file_num = get_array_of_lines(s, name_list, MaxNum24bPartition, 1);oneC99 '__s' ^is[-Wimplicit-function-declaration] hereof the unique return usage(1); plain ^extern size_t strlen (const char *__s) 'char' ^ type and the other is glimpse.cnot: 866[-Wpointer-sign]: 2: warning: implicit declaration if ((newindexfp = fopen(s, "w")) == NULL) {of ^function partition.c/usr/include/stdio.h'initialize_disable_list':: 554is252: :16invalid44: : in warning: note: implicitC99passing declaration argument [-Wimplicit-function-declaration] of to functionparameter 'fsize''__filename' initialize_disable_list(file_num); is ^ invalidhere in C99 [-Wimplicit-function-declaration] extern FILE *fopen (const char *__restrict __filename, ^ glimpse.c:867:2: warning: implicit declaration of function if (-1 == fsize(current_dir, pat, pat_len, num_pat, inc, inc_len... 'initialize_data_structures' ^ is invalid in C99 [-Wimplicit-function-declaration] initialize_data_structures(file_num); ^ io.c:1151:10: warning: passing 'unsigned char [1024]' to parameter ofglimpse.c :type871 : 14'char *': convertswarning: implicitbetween declarationpointers ofto functioninteger buildcast.c'get_table'types: build_in.c 341is:where: 1810 10 :one:invalid27 :iswarning: in implicit warning: of C99passing declaration the'unsigned char *' [-Wimplicit-function-declaration]of tofunctionunique parameterplain'usage' part_num = get_table(s, p_table, MAX_PARTITION, 1) - 1; ...of'char'is ^typetypeinvalid and'const char *' inconvertsthe betweenC99other pointers[-Wimplicit-function-declaration]isglimpse.c :tonot873 : return usage(1);integer[-Wpointer-sign]7 : ^types warning: whereimplicit sprintf(s, "%s/%s", INDEX_DIR, MINI_FILE); onedeclaration ^ isof /usr/include/stdio.h of:function 352 :'merge_splits'the38 :isunique note: plainpassinginvalid 'char'argumentin typetoC99 andparameter[-Wimplicit-function-declaration] the'__s' other else merge_splits();here is ^ notextern int sprintf (char *__restrict __s, [-Wpointer-sign] ^ fputs(merge_index_buf, f3); ^~~~~~~~~~~~~~~ /usr/include/stdio.h:649:42: note: passingio.c :argument1152 :buildcast.cto22: :349parameter : warning: 10'__s'glimpse.cpassing: : here879'unsigned char [1024]'warning: : implicit10to :declarationparameter extern int fputs (const char *__restrict __s, FILE *__restrict __stream); warning: of ofimplicit ^ function typedeclaration 'usage' of 'const char *' is function converts invalid 'usage' between isinpointers invalidC99to [-Wimplicit-function-declaration]integerin typesC99 where[-Wimplicit-function-declaration] return usage(1); one ^is return usage(0); of ^ the unique plain 'char' type and the other is not [-Wpointer-sign] if ((minifp = fopen(s, "w")) == NULL) { ^ /usr/include/stdio.h:252:44: note: passing argument to parameter '__filename' here extern FILE *fopen (const char *__restrict __filename, ^ io.c:1159:8: warning: passing 'unsigned char [1024]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] fputs(indexnumber, newindexfp); ^~~~~~~~~~~ /usr/include/stdio.h:649:42: note: passing argument to parameter '__s' here extern int fputs (const char *__restrict __s, FILE *__restrict __stream); ^ buildcast.c:io.c363::116014::8 :warning: implicitwarning: passingdeclaration 'unsigned char [1024]'of build_in.ctofunction:glimpse.c 1849:parameter'usage':939 10:ofis:4 :typeinvalidwarning: implicitwarning: implicit'const char *'indeclaration declarationconvertsC99of ofbetween[-Wimplicit-function-declaration]function functionpointers'encode8b' 'remove_filename'tois return usage(1); isinteger ^invalid typesinvalidin whereinC99 oneC99[-Wimplicit-function-declaration] is[-Wimplicit-function-declaration] of the unique remove_filename(i, -1);plain ^'char' type and fputc(encode8b(0), f3); /* instead of the '\n' a...the ^other is not [-Wpointer-sign] fputs(onefileperblock, newindexfp); ^~~~~~~~~~~~~~~ /usr/include/stdio.h:649:42: note: passing argument to parameter '__s' here extern int fputs (const char *__restrict __s, FILE *__restrict __stream); ^ build_in.c:1861:16: warning: passing 'unsigned char *' to parameter of type 'char *' io.cconverts: 1167between: 15pointers: towarning: passinginteger 'unsigned char [1024]'types towhere parameterone ofis typeof the'char *' convertsunique betweenplain pointers'char' totype integerand typesthe whereother oneis isnot of[-Wpointer-sign] the unique plain 'char' type and the other if(fgets(dest_index_buf, REAL_INDEX_BUF, f2) == 0) { is ^~~~~~~~~~~~~~ not /usr/include/stdio.h[-Wpointer-sign]: 586:38: note: passing argument while (fgets(s, MAX_LINE_LEN, indexfp) != NULL) {to ^parameter '__s'/usr/include/stdio.h :here586 :38: note: passing argument to parameter '__s' here extern char *fgets (char *__restrict __s, int __n, FILE *__restrict __stream) ^ extern char *fgets (char *__restrict __s, int __n, FILE *__restrict __stream) ^ io.c:1168:20: partition.cwarning: glimpse.c:passing: 602958'unsigned char [1024]'build_in.c::: 11867:7to: : 27warning: parameter:typewarning: implicitofwarning: specifier passing declarationtype missing, 'unsigned char *' of defaults 'const char *'to function to convertsparameter 'remove_filename' 'int' betweenof is pointerstype[-Wimplicit-int] invalidto'const char *' inintegerconvertssave_data_structures() betweenC99types^ pointers[-Wimplicit-function-declaration]where toone integeris remove_filename(i, -1); types of ^ where theone uniqueis plainofbuildcast.c :'char' 415 the:type 10 unique:and plainwarning: the implicit 'char' other declaration type is ofand notfunctionthe [-Wpointer-sign]'usage'other isis linelen = strlen(s);invalidnot ^[-Wpointer-sign]in C99/usr/include/string.h :[-Wimplicit-function-declaration]391 :35: dest_end_pt = strlen(dest_index_buf); note: ^~~~~~~~~~~~~~passing return usage(1); argument ^ /usr/include/string.h to: 391parameter: 35'__s': herenote: passing argument extern size_t strlen (const char *__s)to ^parameter '__s' here extern size_t strlen (const char *__s) ^ glimpse.c:969:2: warning: implicit declaration ofbuild_in.c :function1868 : 19'destroy_data_structures': iswarning: passinginvalid 'char [70]'in toC99 io.c parameterbuildcast.c: 1173:[-Wimplicit-function-declaration]of:425 10:type:9 destroy_data_structures();: warning: 'unsigned char *'passing ^warning: implicitconverts'unsigned char [1024]' declarationbetweento ofpointersparameter functiontoof glimpse.c 'usage':integertype 972 is:types 12 'const char *'invalid:where converts warning: oneimplicit in betweendeclaration is C99 pointersof [-Wimplicit-function-declaration]oftofunction 'oldpartition'theinteger is return usage(1);uniquetypes plain ^where invalid 'char' one in type is C99 and of[-Wimplicit-function-declaration] the theother uniqueis if (-1 == oldpartition(argc, argv)) { plainnot ^ 'char'[-Wpointer-sign] type and the other is not [-Wpointer-sign] scanword(word2, dest_index_buf, dest_index_buf+dest_end_pt, &attr2); sscanf(s, "%d", &hash_value); ^~~~~ ^ /usr/include/stdio.h:433:60: note: passing argument to parameter '__s' herebuildcast.c :435:build_in.c9::1871 extern int __REDIRECT_NTH (sscanf, (const char *__restrict __s,:warning: 19implicit ^: declarationwarning: passingof 'unsigned char *'function to'usage' parameteris ofinvalid type in io.c 'const char *': C991175converts : [-Wimplicit-function-declaration]9between : pointerswarning: passingto return usage(1); 'unsigned char *' integer ^ totypes parameterwhere ofone typeis of'const char *' convertsthe betweenunique pointersplain to'char' integertype typesand wherethe oneother isis ofnot [-Wpointer-sign]thebuildcast.c :unique440 :plain9 :'char' fputs(src_index_buf, f3);warning: glimpse.ctype implicit: ^~~~~~~~~~~~~ 1000and declaration:/usr/include/stdio.h 37of:the: 649 functionwarning: :other implicit42 'usage' :isdeclarationis note: invalidnotofpassing partition.c [-Wpointer-sign]:functionargumentin 691 : fputs(t, newindexfp);'build_index'toC9918 : ^isparameter[-Wimplicit-function-declaration] warning: /usr/include/stdio.h'__s'passinginvalid: return usage(1); 649here 'unsigned char *'in: ^ 42 toC99: parameter[-Wimplicit-function-declaration]note: passingofextern int fputs (const char *__restrict __s, FILE *__restrict __stream); argumenttype ^ if (!DeleteFromIndex || FastIndex) build_index(); to 'char *' ^parameter converts'__s' betweenhere pointers to integer types whereextern int fputs (const char *__restrict __s, FILE *__restrict __stream); one ^ is of the unique plain 'char' type and theglimpse.c :other1002 :is38 :not build_in.c warning: :[-Wpointer-sign]implicit1876 : 28declaration: ofwarning: passingfunction while(fgets(src_index_buf, REAL_INDEX_BUF, i_in)) {'unsigned char *''purge_index' ^~~~~~~~~~~~~tois parameter /usr/include/stdio.h invalid:of 586 in:type 38 C99: 'const char *'[-Wimplicit-function-declaration]note: passingconverts argumentbetween topointers else if (PurgeIndex) new_file_num = purge_index(); parameterto ^ '__s'integer heretypes where one is of the unique plainextern char *fgets (char *__restrict __s, int __n, FILE *__restrict __stream) 'char' ^ type and the other is not [-Wpointer-sign] if(cmp != 0) fputs(src_index_buf, f3); ^~~~~~~~~~~~~ /usr/include/stdio.h:649:42: note: passingglimpse.c :argument1020 :to5 :parameter warning: '__s'implicit heredeclaration of function 'partition' isextern int fputs (const char *__restrict __s, FILE *__restrict __stream); ^invalid in C99 [-Wimplicit-function-declaration] partition(argc, argv); ^ glimpse.c:1021:5: warning: implicit declaration ofbuild_in.cpartition.c ::function1878698 :: 219'destroy_filename_hashtable':: iswarning: warning: passingpassinginvalid io.c'unsigned char *''unsigned char *'in : totoC991210 : parameter10parameter : convert.c[-Wimplicit-function-declaration]of of: warning: 319typepassingtype: destroy_filename_hashtable(); 1 'unsigned char [1024]' : ^'const char *' 'char *' to warning: converts convertstype parameter betweenbetween specifier glimpse.cof pointerspointers : missing, to1022type to : defaults integer5 integer :'char *'to types types warning: converts'int' whereimplicit where between onedeclaration [-Wimplicit-int]one pointers isof is to offunction of integer 'initialize_data_structures'the types the is where mem_name2element(pelement, file, len, filehash_buffer, filehash_index_bu...uniqueunique invalid one ^plainplain in is 'char''char' C99 oftype type theandand[-Wimplicit-function-declaration] buildcast.c the :the unique493 other initialize_data_structures(file_num); :other plain9 is ^ :is 'char' not warning: not typeimplicit [-Wpointer-sign] and[-Wpointer-sign] declarationglimpse.c :theof1024 fputs(src_index_buf, i_out); :other function5 ^~~~~~~~~~~~~ :is while(fgets(src_index_buf, REAL_INDEX_BUF, f1)) { 'usage' warning: /usr/include/stdio.himplicitnot ^~~~~~~~~~~~~is: declaration 649[-Wpointer-sign] invalid:/usr/include/stdio.h of 42: :586functionin : note: 38 sprintf(s, "exec %s '%s'", SYSTEM_RM, escapesinglequote(indexfil...'build_index'C99passing: ^ is [-Wimplicit-function-declaration]argumentnote: /usr/include/stdio.h passing :to invalid352 argument return usage(1);:parameter into 38 ^:'__s'C99parameter note: here[-Wimplicit-function-declaration]'__s'passing hereargument build_index(); to ^ extern int fputs (const char *__restrict __s, FILE *__restrict __stream); parameter ^'__s' here glimpse.cextern char *fgets (char *__restrict __s, int __n, FILE *__restrict __stream): 1030 ^:extern int sprintf (char *__restrict __s, 5 : ^ warning: implicit declarationpartition.c :of700 :function9 :'cleanup' warning: isimplicit invaliddeclarationio.c : of1211in : function9C99build_in.c : :'decode16b' [-Wimplicit-function-declaration]1880 warning: :ispassing26 cleanup();: 'unsigned char [1024]' invalid ^warning: to passingin parameter'unsigned char *' C99 of to glimpse.c[-Wimplicit-function-declaration] type: parameter 1031 :of'const char *' 5 type:converts index=decode16b((src_index_buf[j+1] << 8) | (src_index_b...warning: 'const char *'between implicit converts ^ pointers declarationbetweento pointersofinteger tofunctiontypes integer where 'save_data_structures' types one is where is invalid one of in is C99theof [-Wimplicit-function-declaration]unique theplain uniquepartition.c save_data_structures();'char' : plain702 ^type : 'char'12and : type the warning: andimplicitother theisdeclaration othernotof is[-Wpointer-sign]function not'encode8b' system(s);[-Wpointer-sign]is ^ invalid /usr/include/stdlib.hin: 789C99: src_end_pt = strlen(src_index_buf);32[-Wimplicit-function-declaration] : ^~~~~~~~~~~~~ note: passing/usr/include/string.h :argument391 putc(encode8b(index), i_out); : to35 ^ : parameter note: '__command'passing argumenthere to parameter '__s'extern int system (const char *__command) __wur; here ^ extern size_t strlen (const char *__s) ^buildcast.c :529:9: warning: implicit declaration io.cof: 1217function: 10'usage':build_in.c : is1881partition.cwarning: ::passinginvalid19709 'unsigned char [1024]':: 13warning: into:passing C99'unsigned char *'parameterwarning: passing[-Wimplicit-function-declaration]toof 'unsigned char *'parametertype toof return usage(0); 'char *' parametertype ^ converts of 'const char *'typebetween converts pointers 'const char *' between to converts pointers integer between to types pointers integer where to types one integer where is types one of where is the one of isuniquebuildcast.c :theofplain536 :unique 'char'2 the :plain type unique warning: 'char' andimplicit plain type thedeclaration 'char' and otheroftypethe isfunctionandother is not'partition' the not [-Wpointer-sign]is other [-Wpointer-sign]is invalidnot in[-Wpointer-sign] C99 [-Wimplicit-function-declaration] sprintf(s, "exec %s '%s.tmp' '%s'\n", SYSTEM_MV, escapesinglequo... fputs(src_index_buf, f3); ^ ^~~~~~~~~~~~~ partition(argc, argv);/usr/include/stdio.h /usr/include/stdio.h: ^ if (fputs(src_index_buf+j, i_out) == EOF) { /* Rest ...:352 649: ^~~~~~~~~~~~~~~:38 42:: /usr/include/stdio.h :note: note: 649passingpassing: 42argumentargument: totonote: parameterpassingparameter '__s'argument'__s' heretohere parameter '__s' here extern int sprintf (char *__restrict __s, ^ extern int fputs (const char *__restrict __s, FILE *__restrict __stream); ^extern int fputs (const char *__restrict __s, FILE *__restrict __stream); ^ io.c:1218:9: warning: passing 'unsigned char [1024]' to parameter of type 'const char *' converts between pointers to integerbuild_in.c :types1886 :where15 :one warning: ispassing of'unsigned char *' tobuildcast.cthe : parameter573unique : of5plain : type 'char' warning: implicittype'const char *' declarationandconverts of the between function other pointers 'read_filters'isto is not integer [-Wpointer-sign]invalidtypes inwhere system(s); oneC99 ^ is[-Wimplicit-function-declaration]/usr/include/stdlib.h :of789 : 32the: uniquenote: passingplain read_filters(INDEX_DIR, UseFilters); argument'char' ^ totype parameterand '__command'the otherhere is not [-Wpointer-sign] extern int system (const char *__command) __wur; ^ fputs(dest_index_buf, f3); ^~~~~~~~~~~~~~ /usr/include/stdio.h:649:42: note: passing argument to parameter '__s' here io.c:1236:1: warning: extern int fputs (const char *__restrict __s, FILE *__restrict __stream);type ^specifier missing, defaults to 'int' [-Wimplicit-int] initialize_data_structures(files) ^ build_in.c:1888:21: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] partition.c:754: while(fgets(dest_index_buf, REAL_INDEX_BUF, f2)) {14 : ^~~~~~~~~~~~~~ warning: passing/usr/include/stdio.h :'unsigned char *'586 :to38 :parameter note: buildcast.cofpassing: 585typeargument: 5 to:'char *' parameterwarning: converts implicit '__s' between declaration here pointers of tofunction integer 'initialize_tuncompress'types extern char *fgets (char *__restrict __s, int __n, FILE *__restrict __stream) is where ^ invalid one inis C99of the[-Wimplicit-function-declaration] unique plain 'char' type and the other is not initialize_tuncompress(string_file, freq_file, 0);[-Wpointer-sign] ^ build_in.c:1890: while(fgets(src_index_buf, REAL_INDEX_BUF, i_in)) {27 : ^~~~~~~~~~~~~ warning: passing /usr/include/stdio.h'unsigned char *': 586to: 38parameter: ofnote: passingtype argument 'const char *'to convertsparameter between'__s' pointershere to integer types where one is ofextern char *fgets (char *__restrict __s, int __n, FILE *__restrict __stream) ^the unique plain 'char' type and the other is not [-Wpointer-sign] dest_end_pt = strlen(dest_index_buf); ^~~~~~~~~~~~~~ /usr/include/string.h:391:35: note: passing argument to parameter '__s' here extern size_t strlen (const char *__s) ^ build_in.c:1891:19:partition.c :warning: 761passing: io.c12'unsigned char *':: 1261 to:warning: 1passingparameter: 'unsigned char *'ofwarning: typetotype specifierparameter 'const char *'missing,of convertsdefaultstype betweento 'const char *'pointers'int' toconverts[-Wimplicit-int] integerbetween typespointers destroy_data_structures()where ^toone integeris typesof where theone uniqueis plainof 'char' thetype uniqueand plainthe 'char'other typeis andnot the[-Wpointer-sign] other is not [-Wpointer-sign] fputs(dest_index_buf, f3); ^~~~~~~~~~~~~~ /usr/include/stdio.h:649 fputs(src_index_buf, i_out);: 42 ^~~~~~~~~~~~~: note: /usr/include/stdio.hpassing: 649argument: 42to: parameternote: passing'__s' argumenthere to parameter '__s' here extern int fputs (const char *__restrict __s, FILE *__restrict __stream); ^ extern int fputs (const char *__restrict __s, FILE *__restrict __stream); ^ partition.cbuild_in.c::7651895::115:: warning: error: buildcast.cimplicitnon-void: 626declarationfunction: 5of'merge_in': functionshouldwarning: implicit'decode16b' return declaration is a of valueinvalid function in[-Wreturn-type] 'set_indexable_char'C99 return;is[-Wimplicit-function-declaration] ^invalid in C99 [-Wimplicit-function-declaration] index = decode16b((src_index_buf[j+1] << 8) | (src_index... ^ build_in.c set_indexable_char(indexable_char);: 1898 ^: 1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] remove_filename(fileindex, new_partition) ^ partition.c:767:12: warning: implicit declaration of function 'encode8b' is invalid in C99 [-Wimplicit-function-declaration] build_in.c putc(encode8b(index), i_out);: 1901 ^: 60: error: non-void function 'remove_filename' should return a value [-Wreturn-type] if ((fileindex < 0) || (fileindex >= MaxNum24bPartition)) return; ^ partition.c:784:15: warning: implicit declaration of function 'encode32b' is invalid in C99 [-Wimplicit-function-declaration] offset = encode32b(part_size); ^ partition.c:818:18: warning: implicit declaration of function 'dump_mini' is invalid in C99 [-Wimplicit-function-declaration] if (BuildTurbo) dump_mini(s); ^ build_in.c:1946:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] get_new_index(deletedlist, oldfileindex) ^ build_in.c:1965:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] delete_removed_indices(deletedlist) ^ io.c:1463:1: warning: type specifier missing, defaults tobuild_in.c :'int'1995 :[-Wimplicit-int]14 : warning: implicit declaration insert_filename(name, name_index)of ^function 'encode8b' is invalid in C99 partition.c[-Wimplicit-function-declaration]: 842:59: warning: comparing int delim = encode8b(0); a ^ pointer to a null character constant; did io.cyou: 1474mean: 20to: compareerror: non-voidto functionNULL? 'insert_filename'[-Wpointer-compare] should return a value [-Wreturn-type] if ((LIST_GET(name_list, i) != NULL) && (name_list[0] != '\0')) { if (name == NULL) return; ^~~~ ^ (void *)0 buildcast.c:744:5: warning: implicit declaration io.cof: 1476function: 57'partition': iserror: non-void invalidfunction in'insert_filename' C99should [-Wimplicit-function-declaration]return a value [-Wreturn-type] partition(argc, argv); ^ if (special_parse_name(name, len, &begin, &end) == -1) return; ^ buildcast.c:745:5: warning: implicit declaration of function io.c'initialize_data_structures': 1479is: 3invalid: inerror: non-voidC99 function [-Wimplicit-function-declaration]'insert_filename' should return a value [-Wreturn-type] return; initialize_data_structures(file_num); ^ ^ buildcast.c:747:5: warning: implicit declaration of function 'build_index' is invalid in C99 [-Wimplicit-function-declaration] build_index(); ^ buildcast.c:749:5: warning: implicit declarationbuild_in.c :of2034 :function22 :'cleanup' warning: ispassing io.c :'unsigned char *'invalid1496 :toin21 :parameterC99 error: of[-Wimplicit-function-declaration]non-void typefunction cleanup();'insert_filename''char *' ^shouldconverts returnbetween apointers valueto integer[-Wreturn-type] types buildcast.cwhere: 750 if ((*pe) != NULL) return;one: 5 ^:is warning: ofimplicit thedeclaration ofunique functionplain 'char''save_data_structures' typeis andinvalid thein otherC99 is[-Wimplicit-function-declaration] not [-Wpointer-sign] save_data_structures(); partition.c ^: 890:36: while (fgets(src_index_buf, REAL_INDEX_BUF, i_in)) { warning: ^~~~~~~~~~~~~implicit declaration of/usr/include/stdio.h :function586 : 38'build_filename_hashtable'buildcast.c: : is751note: :passinginvalid5 :inargument warning: C99toimplicit parameterdeclaration[-Wimplicit-function-declaration] '__s'ofio.c :herefunction1515 : 1'destroy_filename_hashtable': if (!built_filename_hashtable) build_filename_hashtable(name_list, f... is warning: ^typeinvalid extern char *fgets (char *__restrict __s, int __n, FILE *__restrict __stream)inspecifier ^ C99 missing, defaults[-Wimplicit-function-declaration] to 'int' [-Wimplicit-int] destroy_filename_hashtable(); change_filename(name, len, index, newname) ^ ^ buildcast.c:752:5: warning: implicit declaration of function 'uninitialize_common' is invalid in C99 io.c[-Wimplicit-function-declaration]: 1525:47: error: non-void uninitialize_common();function ^'change_filename' should return a value [-Wreturn-type] partition.c:buildcast.c899 if (special_get_name(name, len, temp) == -1) return;:: 75316: ^:5 :warning: implicitwarning: implicitdeclaration declarationof offunction function'get_new_index' is'uninitialize_tcompress' isinvalid invalidin inC99 C99[-Wimplicit-function-declaration] [-Wimplicit-function-declaration]build_in.c :2056:9: warning: if ((index = get_new_index(deletedlist, e->index)) < 0) {passing ^ uninitialize_tcompress();'unsigned char *' ^to parameter of type 'const char *' converts between pointers to integer buildcast.ctypes: 754where: 5io.cone:: 1529iswarning: : implicit21of: declaration error: thenon-voidof uniquefunctionfunction plain'change_filename' 'uninitialize_tuncompress''char'should istypereturn invalidanda inthevalue C99other [-Wreturn-type]is [-Wimplicit-function-declaration]not if ((*pe) == NULL) return;[-Wpointer-sign] ^ uninitialize_tuncompress(); ^ fputs(dest_index_buf, i_out); ^~~~~~~~~~~~~~ io.c/usr/include/stdio.h::1534649::242:: error: buildcast.cnote: non-void:passing 755 function:argument 5 'change_filename':to shouldwarning: parameter implicit return '__s' declaration a here of value function [-Wreturn-type] 'compute_dictionary' is return; invalidextern int fputs (const char *__restrict __s, FILE *__restrict __stream); ^ in ^ C99 [-Wimplicit-function-declaration] io.c:1537:1: warning: type specifier missing, defaults to compute_dictionary(threshold, DISKBLOCKSIZE, specialwords, INDEX_DIR); 'int' ^ [-Wimplicit-int] delete_filename(name, name_index) ^ buildcast.c:759:7build_in.c:: 2072warning: :implicit8 :declaration warning: ofimplicit io.cfunctiondeclaration: 1548 of:'initialize_tcompress' 20 function:is 'decode8b'error: invalid non-void is in function C99invalid'delete_filename' [-Wimplicit-function-declaration] in should C99return [-Wimplicit-function-declaration]a value [-Wreturn-type] x = decode8b(src_index_buf[j]); if (name == NULL) return; if (!initialize_tcompress(hash_file, freq_file, TC_ERRORMSGS)) g... ^ ^ ^ glimpse.c:1063:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] cleanup() ^ io.c:1550:57: error: non-void function 'delete_filename' should return a value [-Wreturn-type] build_in.c:2077:8 if (special_parse_name(name, len, &begin, &end) == -1) return;: ^warning: implicit declaration of function 'decode16b' is invalid in C99 [-Wimplicit-function-declaration] io.c x = decode16b(x);: 1553 ^: 3: error: non-void function 'delete_filename' should return a value [-Wreturn-type] return; ^ build_in.c:2082:8: warning: implicit declaration of function 'decode24b' is invalid in C99 [-Wimplicit-function-declaration] x = decode24b(x); ^ build_in.c:2087:11: warning: implicit declaration of function 'decode8b' is invalid in buildcast.cC99: 765[-Wimplicit-function-declaration]convert.c: :6581:: 10warning: :implicit x = decode8b(src_index_buf[j]); warning: declarationimplicit ^ ofdeclaration functionof 'tcompress_file'function is'usage' io.cis:invalid 1570 invalid:in 21 :C99in error: [-Wimplicit-function-declaration]C99non-void [-Wimplicit-function-declaration]function 'delete_filename' should return return usage(); a ^build_in.c :value2093 : 8[-Wreturn-type]: tcompress_file(name, outname, TC_REMOVE | TC_EASYSEARCH | TC... warning: ^implicit if ((*pe) == NULL) return; declaration ^ of function 'decode12b' is invalid in C99 [-Wimplicit-function-declaration] x = decode12b(x); ^ io.c:1577:2: error: glimpse.cnon-void: 1085function: 1'delete_filename': shouldwarning: typereturn specifiera missing,value defaults [-Wreturn-type]to 'int' build_in.c return;[-Wimplicit-int]: 2099 ^: 8usage(flag): ^warning: implicitio.c :declaration1580 :of1 :function warning: 'decode12b'type isspecifier missing,invalid defaultsin toC99 'int'[-Wimplicit-function-declaration] [-Wimplicit-int] x = decode12b(x);init_filename_hashtable() ^^ build_in.c:2106:11: warning: implicit declaration of function 'decode16b' is invalid inio.c :C991587 :[-Wimplicit-function-declaration]1 : warning: type x = decode16b(x); specifier ^ missing, defaults to 'int' [-Wimplicit-int] build_filename_hashtable(names, num) ^ build_in.c:2111:11: warning: implicit declaration of function 'decode24b' is invalid in C99 [-Wimplicit-function-declaration] x = decode24b(x); ^ io.c:1598:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] destroy_filename_hashtable() ^ build_in.c:2125:12: warning: implicit declaration of function 'encode16b' is invalid in C99 [-Wimplicit-function-declaration] x = encode16b(new_x); ^ build_in.c:2130:12: warning: implicit declaration of function 'encode24b' is invalid in C99 [-Wimplicit-function-declaration] x = encode24b(new_x); ^ build_in.c:2141:12: warning: implicit declaration of function 'encode12b' is invalid in C99 [-Wimplicit-function-declaration] x = encode12b(new_x); ^ build_in.c:2155:9: warning: implicit declaration of function 'encode16b' is invalid in C99 [-Wimplicit-function-declaration] x = encode16b(new_x); ^ build_in.c:2160:9: warning: implicit declaration of function 'encode24b' is invalid in C99 [-Wimplicit-function-declaration] x = encode24b(new_x); ^ build_in.c:2173:8: warning: implicit declaration of function 'decode8b' is invalid in C99 [-Wimplicit-function-declaration] y = decode8b(src_index_buf[j]); ^ 66 warnings and 13 errors generated. build_in.c:2185:15: warning: implicit declaration of function 'decode16b' is invalid in C99 [-Wimplicit-function-declaration] diff = decode16b((src_index_buf[j+1] << 8) ... ^ build_in.c:2190:15: warning: implicit declaration of function 'decode24b' is invalid in C99 [-Wimplicit-function-declaration] diff = decode24b((src_index_buf[j+1] << 16) ... ^ build_in.c:2216:9: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between partition.cpointers :to934 :integer1 :types warning: wheretype onespecifier ismissing, ofdefaults tothe 'int'unique plain[-Wimplicit-int] 'char' type merge_splits()and ^the other is not [-Wpointer-sign] fputs(dest_index_buf, i_out); ^~~~~~~~~~~~~~ /usr/include/stdio.h:649:42: note: passing argument to parameter '__s' here extern int fputs (const char *__restrict __s, FILE *__restrict __stream); ^ build_in.c:2239:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] initialize_disable_list(files) ^ 148 warnings and 7 errors generated. partition.c:1022:15: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] while (fgets(src_index_buf, REAL_INDEX_BUF, i_in)) { ^~~~~~~~~~~~~ /usr/include/stdio.h:586:38: note: passing argument to parameter '__s' here extern char *fgets (char *__restrict __s, int __n, FILE *__restrict __stream) ^ partition.c:1029:12: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] fputs(src_index_buf, i_out); ^~~~~~~~~~~~~ /usr/include/stdio.h:649:42: note: passing argument to parameter '__s' here extern int fputs (const char *__restrict __s, FILE *__restrict __stream); ^ make[1]: *** [Makefile:137: io.o] Error 1 make[1]: *** Waiting for unfinished jobs.... partition.c:1034:15: warning: implicit declaration of function 'encode16b' is invalid in C99 [-Wimplicit-function-declaration] index = encode16b(decode8b(src_index_buf[j+1])); ^ partition.c:1034:25: warning: implicit declaration of function 'decode8b' is invalid in C99 [-Wimplicit-function-declaration] index = encode16b(decode8b(src_index_buf[j+1])); ^ partition.c:1052:6: warning: implicit declaration of function 'get_block_numbers' is invalid in C99 [-Wimplicit-function-declaration] get_block_numbers(&src_index_buf[j+1], &dest_index_buf[0], p_in); ^ partition.c:1087:1: warning: non-void function does not return a value in all control paths [-Wreturn-type] } ^ make[1]: *** [Makefile:140: build_in.o] Error 1 buildcast.c:1063:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] cleanup() ^ convert.c:889:11: warning: implicit declaration of function 'usage' is invalid in C99 [-Wimplicit-function-declaration] return usage(); ^ convert.c:897:11: warning: implicit declaration of function 'usage' is invalid in C99 [-Wimplicit-function-declaration] return usage(); ^ buildcast.c:1125:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] usage(flag) ^ convert.c:916:11: warning: implicit declaration of function 'usage' is invalid in C99 [-Wimplicit-function-declaration] return usage(); ^ convert.c:923:10: warning: implicit declaration of function 'usage' is invalid in C99 [-Wimplicit-function-declaration] return usage(); ^ 10 warnings generated. 5 warnings generated. 37 warnings generated. 35 warnings generated. 44 warnings generated. 6 warnings generated. 34 warnings generated. 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-clang -O2 -pipe -march=x86-64 -frecord-gcc-switches -fno-diagnostics-color -c lex.yy.c htuml2txt.lex:105:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); /* HTML odes with */ ^ htuml2txt.lex:106:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); /* corresponding ISO */ ^ htuml2txt.lex:107:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); /* codes */ ^ htuml2txt.lex:108:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:109:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:110:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:111:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:112:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:113:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:114:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:115:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:116:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:117:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:118:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:119:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:120:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:121:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:122:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:123:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:124:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:125:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:126:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:127:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:128:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:131:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:132:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:133:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:134:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:135:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:136:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:137:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:138:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:139:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:140:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:141:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:142:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:143:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:144:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:145:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:146:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:147:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:148:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:149:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:150:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:151:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:152:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:153:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:154:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:155:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:156:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:157:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:158:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:159:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:160:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:161:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:162:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:163:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:164:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:165:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:166:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:167:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:168:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:169:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:170:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:171:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:172:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:173:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:174:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:175:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:176:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:177:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:178:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:179:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:180:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:181:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:182:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:183:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:184:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:185:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:186:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:187:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:188:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:189:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:190:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:191:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:192:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:193:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:194:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:195:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:196:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:197:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:198:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:199:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:200:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:201:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:202:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:203:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:204:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:205:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:206:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:207:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:208:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:209:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:210:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:211:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:212:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:213:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:214:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:215:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:216:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:217:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:218:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:219:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:220:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:221:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:222:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:223:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:224:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:225:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('
', yyout); ^ htuml2txt.lex:226:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('
', yyout); ^ htuml2txt.lex:227:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:228:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:229:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:230:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:231:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:232:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:233:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:234:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:235:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:236:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:237:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:238:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:239:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:240:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:241:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:242:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:243:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:244:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:245:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:246:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:247:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:248:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:249:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:250:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:251:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:252:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:253:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:254:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:255:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:256:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:257:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:258:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:259:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:260:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:261:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:262:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:263:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:264:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:265:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:266:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:267:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:268:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:269:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:270:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:271:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:272:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:273:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:274:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:275:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:276:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:277:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:278:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:279:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:280:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:281:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:282:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:283:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:284:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:285:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:286:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:287:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:288:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:289:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:290:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:291:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:292:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:293:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ htuml2txt.lex:294:7: warning: illegal character encoding in character literal [-Winvalid-source-encoding] fputc('', yyout); ^ 188 warnings generated. x86_64-pc-linux-gnu-clang -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-clang -c -Iindex -Iagrep -Ilibtemplate/include -O2 -pipe -march=x86-64 -frecord-gcc-switches -fno-diagnostics-color -DISSERVER=0 -o main.o main.c x86_64-pc-linux-gnu-clang -c -Iindex -Iagrep -Ilibtemplate/include -O2 -pipe -march=x86-64 -frecord-gcc-switches -fno-diagnostics-color -o get_filename.o get_filename.c x86_64-pc-linux-gnu-clang -c -Iindex -Iagrep -Ilibtemplate/include -O2 -pipe -march=x86-64 -frecord-gcc-switches -fno-diagnostics-color -o get_index.o get_index.c x86_64-pc-linux-gnu-clang -c -Iindex -Iagrep -Ilibtemplate/include -O2 -pipe -march=x86-64 -frecord-gcc-switches -fno-diagnostics-color -o split.o split.c x86_64-pc-linux-gnu-clang -Iindex -Iagrep -Ilibtemplate/include -O2 -pipe -march=x86-64 -frecord-gcc-switches -fno-diagnostics-color -c -o index/io.o index/io.c make[1]: *** No rule to make target 'lib/libcast.a', needed by 'notsglimpse'. Stop. make[1]: *** Waiting for unfinished jobs.... get_index.c:43:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] free_list(p1) ^ get_index.c:53:1: warning: non-void function does not return a value [-Wreturn-type] } ^ get_index.c:56:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] sorted_union(list1, list2, f, pf, cf) ^ get_index.c:66:3: error: non-void function 'sorted_union' should return a value [-Wreturn-type] return; ^ split.c:106:21: warning: using get_index.cthe: 97result: 4of: anerror: non-voidassignment functionas 'sorted_union'a shouldcondition return withouta parenthesesvalue [-Wparentheses] [-Wreturn-type] return; ^ ...while (buffer_pat = parse_flat(buffer, buffer_end, *pGParse, pGParse)) { ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ get_index.c:118:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] sorted_intersection(filenum, list1, list2, f) ^ split.c:106:21: note: place parentheses around the assignment to silence this warning get_index.c:129:3: ...while (buffer_pat = parse_flat(buffer, buffer_end, *pGParse, pGParse)) { error: ^non-void get_filename.c ( )function: 43'sorted_intersection': 1should: returnwarning: type aspecifier valuemissing, [-Wreturn-type]defaults to 'int' return; [-Wimplicit-int] ^ read_filenames() ^ split.c:106:21: note: use '==' to turn this assignment into an equality comparison while (buffer_pat = parse_flat(buffer, buffer_end, *pGParse, pG... ^ == get_filename.c:63:9: warning: passing 'unsigned char [256]' to parameter of type 'char *' converts between pointers to integer types where get_index.cone: 225is: 1of: thewarning: type uniquespecifier plainmissing, 'char'defaults typeto and'int' the [-Wimplicit-int]other is not purge_offsets(p1)[-Wpointer-sign] ^ fgets(buffer, MAX_NAME_SIZE, fp); ^~~~~~ /usr/include/stdio.h:586:38: note: passing argument to parameter '__s' here extern char *fgets (char *__restrict __s, int __n, FILE *__restrict __stream) ^ get_filename.c:64:27: warning: passing 'unsigned char [256]' to parameter of typeget_index.c :'const char *'241 :converts1 :between warning: pointerstype tospecifier integermissing, typesdefaults whereto one'int' is[-Wimplicit-int] of the unique plain 'char' type and get_set(buffer, set, offset_table, patlen, pattern, patattr, outfile, pa...the ^other is not [-Wpointer-sign] first_line_len = strlen(buffer); ^~~~~~ /usr/include/string.h:391:35: note: passing argument to get_index.cparameter: 257'__s': 14here: warning: implicit declaration of extern size_t strlen (const char *__s)function ^'encode8b' is invalid in C99 [-Wimplicit-function-declaration] int delim = encode8b(0); ^ get_filename.c:66:10: warning: passing 'unsigned char [256]' to parameter of type 'const char *' converts between pointers to integer types where onesplit.c : 171is: 4of: thewarning: addunique explicitplain braces'char' totype avoidand danglingthe elseother get_index.c :is[-Wdangling-else]269 :not16 :[-Wpointer-sign] warning: implicit else if (APattern[j] == ';') APattern[j] = ',';declaration ^of sscanf(buffer, "%d", &file_num); function ^~~~~~ 'decode8b' /usr/include/stdio.his: 433 :invalid60 :in note: C99passing [-Wimplicit-function-declaration]argument to parameter '__s' indexattr = decode8b(buffer[bdx2+1]);here ^ extern int __REDIRECT_NTH (sscanf, (const char *__restrict __s, ^ get_index.c:272:16: warning: implicit declaration of function 'decode16b' is invalid in C99 [-Wimplicit-function-declaration] indexattr = decode16b((buffer[bdx2+1] << 8) | (b... ^ get_filename.c:77:3: warning: implicit declaration of function 'initialize_data_structures' is invalid in C99 [-Wimplicit-function-declaration] initialize_data_structures(file_num); ^ get_index.c:318:14: warning: implicit declaration of function 'memagrep_search' is invalid in C99 [-Wimplicit-function-declaration] if ((ret = memagrep_search(patlen, pattern, bdx2+1, buff... ^ get_index.c:328:6: warning: implicit declaration of function 'get_block_numbers' is invalid in C99 [-Wimplicit-function-declaration] get_block_numbers(&buffer[bdx2], &buffer[bdx2], partfp); ^ get_index.c:334:8: warning: implicit declaration of function 'decode8b' is invalid in C99 [-Wimplicit-function-declaration] x = decode8b(buffer[bdx2]); ^ get_index.c:339:8: warning: implicit declaration of function 'decode16b' is invalid in C99 [-Wimplicit-function-declaration] x = decode16b(x); ^ get_index.c:344:8: warning: implicit declaration of function 'decode24b' is invalid in C99 [-Wimplicit-function-declaration] x = decode24b(x); ^ get_index.c:349:11: warning: implicit declaration of function 'decode8b' is invalid in C99 [-Wimplicit-function-declaration] x = decode8b(buffer[bdx2]); ^ get_index.c:355:8: warning: implicit declaration of function 'decode12b' is invalid in C99 [-Wimplicit-function-declaration] x = decode12b(x); ^ get_index.c:361:8: warning: implicit declaration of function 'decode12b' is invalid in C99 [-Wimplicit-function-declaration] x = decode12b(x); ^ get_index.csplit.c::368225::118:: warning: warning: implicittype declarationspecifier ofmissing, functiondefaults 'decode16b'to is'int' invalid[-Wimplicit-int] in C99 [-Wimplicit-function-declaration] x = decode16b(x); ^ extern destroy_tree(); /* use the one in agrep/asplit.c */ ~~~~~~ ^ get_index.c:373:11: warning: implicit declaration of function 'decode24b' is invalid in C99 [-Wimplicit-function-declaration] x = decode24b(x); ^ get_index.c:387:8: warning: implicit declaration of function 'decode8b' is invalid in C99 [-Wimplicit-function-declaration] y = decode8b(buffer[bdx2]); ^ get_index.c:399:15: warning: implicit declaration of function 'decode16b' is invalid in C99 [-Wimplicit-function-declaration] diff = decode16b((buffer[bdx2+1] << 8) | buf... ^ get_filename.c:126:103: warning: implicit declaration of function 'slow_mask_filenames' is invalid in C99 [-Wimplicit-function-declaration] get_index.c:404:15: warning: implicit declaration ...&& (num_blocks > MaxNum8bPartition)) return slow_mask_filenames(index_ve...of ^function 'decode24b' is invalid in C99 [-Wimplicit-function-declaration] diff = decode24b((buffer[bdx2+1] << 16) | (b... ^ split.c:311:11: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strcpy(&apattern[*apatptr], n->data.leaf.value); ^~~~~~~~~~~~~~~~~~~ /usr/include/string.h:125:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ split.c:311:32: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strcpy(&apattern[*apatptr], n->data.leaf.value); ^~~~~~~~~~~~~~~~~~ /usr/include/string.h:125:70: note: passing argument to parameter '__src' here extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ split.c:312:23: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of theget_index.c :unique489 :plain1 :'char' warning: typetype andspecifier themissing,get_filename.c :otherdefaults173 :isto15 :not'int' warning: [-Wpointer-sign] implicit [-Wimplicit-int] declaration of function 'memagrep' *apatptr += strlen(n->data.leaf.value); is ^~~~~~~~~~~~~~~~~~ invalid/usr/include/string.h :get_index(infile, index_tab, offset_tab, pattern, patlen, patattr, index...in391 :^C9935 :[-Wimplicit-function-declaration] note: passing argument to parameter '__s' here extern size_t strlen (const char *__s) ^ if ((((ret = memagrep(5, argv, name_list_size, name_list_buffer... ^ get_index.c:524:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types whereIn file included from onemain.c :is33 : of./communicate.c :the232 : 22unique: plainwarning: passing'char' 'unsigned char [4]'type toand parameterthe ofother istype not'char *' [-Wpointer-sign]converts between pointers to integer types where one while(fgets(dest_index_buf+1, REAL_INDEX_BUF-1, f_in)) { is ^~~~~~~~~~~~~~~~ of the /usr/include/stdio.hunique: 586plain: 38'char': typenote: passingand argumentthe toother parameteris '__s'not here[-Wpointer-sign] extern char *fgets (char *__restrict __s, int __n, FILE *__restrict __stream) if (writen(sockfd, array, 4) < 4) return -1; ^ ^~~~~ get_index.c:528:112: warning: passing 'unsigned int *' to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] ...patattr, outfile, partfp, &dest_index_set[REAL_PARTITION - 2], index_tab... ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./communicate.c:245:22: warning: passing 'unsigned char [4]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]split.c :387:11: warning: if (writen(sockfd, array, 4) < 4) return -1;passing ^~~~~'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strcpy(&apattern[*apatptr], n->data.leaf.value); ^~~~~~~~~~~~~~~~~~~ /usr/include/string.h:125:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ split.c:387:32: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strcpy(&apattern[*apatptr], n->data.leaf.value); ^~~~~~~~~~~~~~~~~~ /usr/include/string.h:125:70: note: passing argument to parameter '__src' here extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ split.c:388:23: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] *apatptr += strlen(n->data.leaf.value); ^~~~~~~~~~~~~~~~~~ /usr/include/string.h:391:35: note: passing argument to parameter '__s' here In file included from extern size_t strlen (const char *__s)index/io.c : ^12 : index/utils.c:449:1: warning: type specifier missing, defaults to 'int' get_index.c :[-Wimplicit-int]584 :48: warning: passing hashNk(name, len)'unsigned int *' ^to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] ...&offsetptr[i], &index_tab[REAL_PARTITION - 2], dest_index_set[REAL_PARTI... ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./communicate.c:290:37: warning: passing 'unsigned char [4]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (sockfd >= 0) if (readn(sockfd, array, 4) != 4) return -1; ^~~~~ ./communicate.c:299:37: warning: passing 'unsigned char [4]' to parameter of type 'char *' converts between pointers to integer types where one is of the index/io.cunique :plain48 :'char'1 :type warning: andtype thespecifier othermissing, isdefaults notto [-Wpointer-sign]'int' [-Wimplicit-int] if (sockfd >= 0) if (readn(sockfd, array, 4) != 4) return -1; ^~~~~ get_array_of_lines(inputfile, table, max_entry, overflow_ok) ^ get_index.c:641:49: warning: passing 'unsigned int *' to parameter of type 'int *' converts between pointers to integer types with different sign [-Wpointer-sign] index/io.c:66 ...&offsetptr[i], &index_tab[REAL_PARTITION - 2], dest_index_set[REAL_PARTI...: 8 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~: warning: passing 'unsigned char [256]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] fgets(buffer, MAX_NAME_BUF, file_in); ^~~~~~ /usr/include/stdio.h:586:38: note: passing argument to parameter '__s' here extern char *fgets (char *__restrict __s, int __n, FILE *__restrict __stream) ^ get_index.c:654:63: warning: passing 'unsigned int *' to parameter of type index/io.c :'int *'67 :converts9 :between warning: pointerspassing to'unsigned char [256]' integerto typesparameter withof differenttype sign 'const char *' [-Wpointer-sign]converts between pointers to integer types where one is ...&offset_tab[i], &offsetptr[i], &index_tab[REAL_PARTITION - 2]); of ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ the unique plain 'char' type and the other is not [-Wpointer-sign] sscanf(buffer, "%d", &num_lines); ^~~~~~ /usr/include/stdio.h:433:60: note: passing argument to parameter '__s' here extern int __REDIRECT_NTH (sscanf, (const char *__restrict __s, ^ get_filename.c:334:15: warning: implicit declaration of function 'memagrep' is invalid in C99 [-Wimplicit-function-declaration] get_index.c:697:1: warning: if ((((ret = memagrep(5, argv, name_list_size, name_list_buffer...type ^specifier missing, defaults to index/io.c'int': 75 :[-Wimplicit-int]14 : warning: passing 'unsigned char [256]' to parameter of type 'char *' converts betweenmgrep_get_index(infile, index_tab, offset_tab, pat_list, pat_lens, pat_a... pointers^ to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] while(fgets(buffer, MAX_NAME_BUF, file_in)) { ^~~~~~ /usr/include/stdio.h:586:38: note: passing argument to parameter '__s' here extern char *fgets (char *__restrict __s, int __n, FILE *__restrict __stream) ^ index/io.c:76:24: warning: passing 'unsigned char [256]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] line_length = strlen(buffer); ^~~~~~ get_index.c:734:13: warning: implicit/usr/include/string.h :declaration391 :of35 :function note: 'fileagrep'passing isargument toinvalid parameterin '__s'C99 here[-Wimplicit-function-declaration] extern size_t strlen (const char *__s) ^ if ((ret = fileagrep(index_argc, index_argv, 0, f_in)) < 0) { ^ get_index.c:746:18: warning: implicit declaration of function 'memagrep_init' is invalid in C99 [-Wimplicit-function-declaration] if ((dummylen = memagrep_init(index_argc, index_argv, MAX_PAT, d... ^ index/io.c:107:14: warning: passing 'unsigned char [256]' to parameter of type 'const char *' converts between get_index.cpointers: 779to: 14integer: typeswarning: passingwhere 'unsigned char *'one tois parameterof of thetype unique 'char *'plain split.c converts:'char' 496 between:type 1 pointers:and towarning: the type integer other specifier types is missing, where not defaults one [-Wpointer-sign] to is 'int'of strcpy(np, buffer);the[-Wimplicit-int] ^~~~~~ unique /usr/include/string.hplain:split_terminal(first, last) 125 'char':^ 70 type: andnote: passingthe argumentother tois parameternot '__src'[-Wpointer-sign] here while(fgets(dest_index_buf+1, REAL_INDEX_BUF, f_in)) {extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^~~~~~~~~~~~~~~~ ^ /usr/include/stdio.h:586:38: note: passing argument to parameter '__s' here extern char *fgets (char *__restrict __s, int __n, FILE *__restrict __stream) ^ split.c:516:32get_index.c:: 781warning: :passing10 :'unsigned char *' warning: topassing parameter'unsigned char *' ofto typeparameter of'const char *' typeconverts between'const char *' pointersconverts tobetween integerpointers typesto whereinteger onetypes iswhere ofone isthe ofunique plainthe 'char'unique typeplain and'char' thetype otherand isthe notother [-Wpointer-sign]is not [-Wpointer-sign] sscanf(&dest_index_buf[1], "%d-", &patnum); buffer_end = buffer + strlen(terminals[first].data.leaf.value); ^~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/stdio.h:433/usr/include/string.h::60391:: 35note: :passing note: argumentpassing toargument parameterto '__s'parameter here'__s' here extern int __REDIRECT_NTH (sscanf, (const char *__restrict __s, ^ extern size_t strlen (const char *__s) ^ split.c:520:46: warning: passing 'unsigned char [256]' to parameter of type 'const char *' converts between pointers to integer main.ctypes: 204where: 8one: get_index.ciswarning: : type793of : specifier9 :themissing, warning: uniquedefaultspassing plain to 'unsigned int *' 'char' 'int' to type parameter[-Wimplicit-int]and ofthe typeextern free_list();other ~~~~~~ ^is'int *' notconverts [-Wpointer-sign]between pointers to integer types with different word_length = strlen(word);sign ^~~~ [-Wpointer-sign] /usr/include/string.h:391:35: note: passing ...&setptr[REAL_PARTITION - 2], min); argument ^~~~~~~~~~~~~~~~~~~~~~~~~~~ to parameter '__s' here extern size_t strlen (const char *__s) ^ split.c:586:32: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strcpy(pat_list[num_pat], word); ^~~~~~~~~~~~~~~~~ /usr/include/string.h:125:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ main.c:292split.c::48586:: 51warning: :'/*' warning: withinpassing block'unsigned char [256]' commentto [-Wcomment]parameter of type 'const char *' converts between pointers to .../* beginregionptr = curtextend - GD_length; /* prevent next curtextb... integer ^ types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strcpy(pat_list[num_pat], word); ^~~~ /usr/include/string.h:125:70: note: passing argument to parameter '__src' here extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ get_filename.c:484:1: warning: type specifier missing, defaults to get_index.c'int': 876 :[-Wimplicit-int]79 : warning: passing 'unsigned int *'split.c :to600 get_filenames(index_vect, argc, argv, dummylen, dummypat, file_num):index/io.cparameter 10: ^:169of : warning: 1typepassing: 'unsigned char *'warning: 'int *' type to converts specifier parameter between missing, of pointers defaults type to to 'char *' integer 'int' typesconverts [-Wimplicit-int]withbetween differentpointers signto get_index_type(s, dashn, num, attr, delim) integer[-Wpointer-sign]^ types where one is of the unique plain 'char' type and the ...&index_tab[REAL_PARTITION - 2], multi_dest_index_set[sorted[patnum]][REA... other ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ is not [-Wpointer-sign] strcpy(&pat_buf[pat_ptr], pat_list[i]); ^~~~~~~~~~~~~~~~~ /usr/include/string.h:125:39: note: passingmain.c :argument373 :to15 :parameter warning: '__dest'passing here'unsigned char *' to parameter of type 'const char *' converts betweenextern char *strcpy (char *__restrict __dest, const char *__restrict __src) pointers ^ to integer types where one split.cis: 600of: 29 :the warning: uniquepassing plain'unsigned char *' 'char'to typeparameter andof thetype other 'const char *'is convertsnot between[-Wpointer-sign] pointers to integer types where if (strncmp(curtextbegin, GD_pattern, GD_length)) {one ^~~~~~~~~~~~is of the unique plain 'char' type /usr/include/string.hand: 143the: 33other: isnote: passingnot argument[-Wpointer-sign] to parameter '__s1' here strcpy(&pat_buf[pat_ptr], pat_list[i]); ^~~~~~~~~~~ /usr/include/string.hextern int strncmp (const char *__s1, const char *__s2, size_t __n)get_filename.c: :125539 ^:: 706:: note: error: passingmain.cnon-void : argument373function : to29'get_filenames' : parameter should warning: '__src'passingreturn here'unsigned char *'a to valueparameter [-Wreturn-type]of typeextern char *strcpy (char *__restrict __dest, const char *__restrict __src) return; ^'const char *' ^converts betweenindex/io.c :pointers188 :to1 :integer warning: typestype wherespecifier onemissing, isdefaults ofto 'int'the unique[-Wimplicit-int] plain 'char' type and theget_block_numbers(srcbuf, destbuf, partfp) other^ is not [-Wpointer-sign] if (strncmp(curtextbegin, GD_pattern, GD_length)) { ^~~~~~~~~~ /usr/include/string.h:143:51: note: passing argument to parameter '__s2' here extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^ main.c:400:15: warning: implicit declaration of function 'memagrep_search' is invalid index/io.cin: 212get_filename.cC99:: 12581[-Wimplicit-function-declaration]:: 6warning: :passing error: 'unsigned char *'non-void to if ((ret = memagrep_search(AM, APattern, curtext...function get_index.c parameter ^:'get_filenames' 938ofshould: 80typereturn: awarning: 'char *' passing convertsvalue'unsigned int *' between[-Wreturn-type]to pointersparameter to return;of integer ^type types 'int *'where convertsone betweenis pointersof tothe integer uniquetypes plainwith 'char'different typesign and [-Wpointer-sign]the other is not [-Wpointer-sign] main.c if (fgets(destbuf, REAL_INDEX_BUF - MAX_WORD_BUF - 1, partfp) == NULL) {: 417 ^~~~~~~: ...&index_tab[REAL_PARTITION - 2], multi_dest_index_set[sorted[patnum]][REA...get_filename.c15 /usr/include/stdio.h:: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~:598 586:warning: :22implicit38: : declaration warning: note: implicitofpassing declarationfunctionargument of'exec'to parameter '__s'functionis here'memagrep_init' invalid isin invalid C99extern char *fgets (char *__restrict __s, int __n, FILE *__restrict __stream)in ^C99[-Wimplicit-function-declaration] [-Wimplicit-function-declaration] if ((ret = exec(-1, NULL)) > 0) ^ if ((dummylen = memagrep_init(argc, argv, MAX_PAT, dummypat)... ^ get_index.c:952:94: warning: passing 'unsigned int *' to parameter of type 'int *' index/io.cconverts: 218between: 1pointers: towarning: non-voidintegerget_filename.c :functiontypes600 :doeswith12 :notdifferent warning: returnsignimplicit a declaration[-Wpointer-sign] valueof function[-Wreturn-type] }'memagrep_search' ^is ...&index_tab[REAL_PARTITION - 2]);invalid ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~in C99main.c :[-Wimplicit-function-declaration]438 :4: warning: implicit declaration of function 'file_out' is ret = memagrep_search(dummylen, dummypat, dummylen*2, beginp...invalid ^in C99 [-Wimplicit-function-declaration] file_out(realfilename); ^ index/io.c:266:15: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the uniqueget_index.c :plain1063 get_filename.c:'char':12 673:: 7typewarning: : passing and error: non-void'unsigned char [1024]'the functiontoother 'get_filenames'parameteris shouldofnot return [-Wpointer-sign]type a'const char *' convertsvalue len = strlen(filter_command[i]); between[-Wreturn-type] ^~~~~~~~~~~~~~~~~ pointers/usr/include/string.h :to391 return; : integer ^35 :types note: wherepassing oneargument tois parameterof '__s'the hereunique plain 'char' typeextern size_t strlen (const char *__s) and ^ the other is not [-Wpointer-sign] if (stat(s, &st) == -1) { ^ /usr/include/sys/stat.h:205:41: note: passing argument to parameter '__file' here extern int stat (const char *__restrict __file, ^ index/io.c:272:34: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if ((filter_handle[i] = dlopen(filter_command[i], ^~~~~~~~~~~~~~~~~ /usr/include/dlfcn.h:56:34: note: passing argument to parameter '__file' here extern void *dlopen (const char *__file, int __mode) __THROWNL; ^ get_filename.c:752:7: error: non-void function 'get_filenames' should return a value [-Wreturn-type] return; ^ get_filename.c:778:2: error: get_index.cnon-void: 1084function: 7'get_filenames': shouldwarning: implicitreturn declarationa of valuefunction [-Wreturn-type]'get_mini' is return; invalid ^ in C99 [-Wimplicit-function-declaration] if (!get_mini(word, len, &beginoffset, &endoffset, 0, mini_array... ^ get_index.c:1091:44: warning: passing 'unsigned char [1024]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is notindex/io.c :[-Wpointer-sign]326 :20: warning: passing 'const char *' to parameter while ((curroffset < endoffset) && (fgets(s, MAX_LINE_LEN, index...of ^type 'char *'/usr/include/stdio.h : 586discards: 38qualifiers: [-Wincompatible-pointer-types-discards-qualifiers]note: passing argument to parameter11 warning'__s' escapesinglequote(in_name, escaped_in);s and here ^~~~~~~5 errors generated. extern char *fgets (char *__restrict __s, int __n, FILE *__restrict __stream) ^ index/io.c:327:20: warning: passing 'const char *' to parameter of type 'char *' main.c :discards466 :qualifiers1 :[-Wincompatible-pointer-types-discards-qualifiers] warning: type specifier missing, escapesinglequote(out_name, escaped_out);defaults ^~~~~~~~to 'int' [-Wimplicit-int] read_index(indexdir) ^ get_index.c:1101:16: warning: passing 'unsigned char [256]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] cmp = strcmp(word, s); ^~~~ /usr/include/string.h:140:32: note: passing argument to parameter '__s1' here extern int strcmp (const char *__s1, const char *__s2) ^ get_index.c:1101:22: warning: passing 'unsigned char [1024]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]index/io.c :369:1 cmp = strcmp(word, s);: ^warning: type/usr/include/string.h :specifier140 :missing,50 :defaults note: topassing 'int'argument to[-Wimplicit-int] parameter '__s2' hereread_filters(index_dir, dofilter) ^ extern int strcmp (const char *__s1, const char *__s2) ^ get_index.c:1112:9: warning: passing 'unsigned char [1024]' to parameter of type 'const char *' converts between pointers to integer types where one is of index/io.cthe: 387unique: 20plain: 'char'error: non-voidtype functionand 'read_filters'the shouldother returnis anot value[-Wpointer-sign] [-Wreturn-type] fputs(s, outfp); ^ if (!dofilter) return; ^/usr/include/stdio.h :main.c649::53642::20 :note: passingwarning: implicitargument declarationto ofparameter function'__s' 'get_table'here is invalid in C99 extern int fputs (const char *__restrict __s, FILE *__restrict __stream);[-Wimplicit-function-declaration] ^ GNumpartitions = get_table(P_TABLE, p_table, MAX_PARTITION, 0); ^ get_index.c:1120:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] fillup_target(result_index_set, result_offset_table, parse) ^ main.c:562:63: warning: implicit declaration get_index.cof: 1141function: 32'read_mini': iswarning: passinginvalid 'unsigned char *' into C99parameter [-Wimplicit-function-declaration]of type 'const char *' converts between if (OneFilePerBlock && glimpse_isserver && (minifp != NULL)) read_mini(i...pointers ^to integer types where one is of the uniquemain.c :plain563 :'char'2 :type warning: andimplicit thedeclaration otherof isfunction not'read_filenames' [-Wpointer-sign]is invalid in C99 [-Wimplicit-function-declaration] strcpy(index_argv[patindex], pat_list[i]); /* i-th ... read_filenames(); ^~~~~~~~~~~ ^ /usr/include/string.h:125:70: note: main.cpassing: 566argument: 2to: parameterwarning: implicit'__src' declarationhere of function index/io.c'set_indexable_char': 449isextern char *strcpy (char *__restrict __dest, const char *__restrict __src): 1 ^:invalid warning: intype C99specifier [-Wimplicit-function-declaration]missing, defaults to set_indexable_char(indexable_char);'int' ^ [-Wimplicit-int] apply_filter(inname, outname) ^ main.c:568:2: warning: implicit declaration of function 'set_special_char' is invalid in C99 [-Wimplicit-function-declaration] set_special_char(indexable_char); ^ get_index.c:1156:19: warning: implicit declaration of function 'fileagrep' is invalid in C99 [-Wimplicit-function-declaration] else if ((ret = fileagrep(index_argc, index_argv, 0, tmp... ^ get_index.c:1175:71:index/io.c :warning: 481passing: 33'unsigned char *': towarning: passingparameter 'unsigned char *'of totype parameter 'char *'of convertstype between 'const char *'pointers convertsto betweeninteger pointerstypes towhere integerone typesis whereof onethe is uniqueof plain the'char' uniquetype plainand 'char'the typeother andis thenot other[-Wpointer-sign] is not [-Wpointer-sign] if ((suffix = strstr(name+1, filter[i])) != NULL... ...result_index_set, result_offset_table, pat_list[i], pat_lens[i], pat_att... ^~~~~~~~~ ^~~~~~~~~~~ /usr/include/string.h:334:58: note: passing argument to parameter '__needle' here extern char *strstr (const char *__haystack, const char *__needle) ^ get_index.c:1186:18: warning: implicit declaration of function 'memagrep_init' is invalid in C99 [-Wimplicit-function-declaration] if ((dummylen = memagrep_init(index_argc, index_argv, MAX_PAT, d... ^ get_index.c:1195:5: warning: incompatible pointer types passing 'unsigned char *[16]' to parameter of type 'char **' index/io.c[-Wincompatible-pointer-types]: 514:16: warning: passing 'unsigned char *' to pat_list, pat_lens, pat_attr, mgrep_pat_... parameter ^~~~~~~~ of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (strcmp(filter[i], suffix) == 0) { ^~~~~~~~~ /usr/include/string.h:140:32: note: passing argument to parameter '__s1' here main.c:600:1: extern int strcmp (const char *__s1, const char *__s2)warning: type ^ specifier missing, defaults to 'int' [-Wimplicit-int] reinitialize_server(argc, argv) ^ index/io.c:526:9: warning: implicit declaration of function 'memagrep_search' is invalid in C99 [-Wimplicit-function-declaration] (memagrep_search(-filter_len[i], filter[i], ... ^ get_index.c:1239:8: warning: implicit declaration of function 'split_terminal' is invalid in C99 [-Wimplicit-function-declaration] if (split_terminal(tree->terminalindex, tree->te... ^ main.c:605:2: warning: implicit declaration of function 'attr_free_table' is invalid in C99 [-Wimplicit-function-declaration] CLEANUP; ^ main.c:593:3: note: expanded make[1]: *** [Makefile:157: get_filename.o] Error 1 from macro 'CLEANUP' attr_free_table();\ ^ main.c:605:2: warning: implicit declaration of function 'destroy_filename_hashtable' is invalid in C99 [-Wimplicit-function-declaration] main.c:595:2: note: expanded from macro 'CLEANUP' destroy_filename_hashtable();\ ^ index/io.c:566:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] static_stop_list(word) ^ main.c:649:2: warning: index/io.cimplicit: 662declaration: 1of: functionwarning: type'attr_free_table' specifieris missing, invaliddefaults into C99'int' [-Wimplicit-function-declaration] [-Wimplicit-int] CLEANUP; ^ my_free(ptr, size) main.c^: 593get_index.c::31316:: 64note: :expanded warning: frompassing macro'unsigned int *' 'CLEANUP'to parameter of attr_free_table();\ type ^ 'int *' converts betweenmain.c :pointers649 :to2 :integer warning: typesimplicit withdeclaration differentof signfunction [-Wpointer-sign]'destroy_filename_hashtable' is invalid in C99 [-Wimplicit-function-declaration] main.c:595:2: ...&curr_offset_table[i], &src_index_set[REAL_PARTITION - 2], curr_index_se... note: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~expanded from macro 'CLEANUP' destroy_filename_hashtable();\ ^ index/io.c:709:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] tokenallfree() ^ index/io.c:714:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] tokenfree(e, len) ^ index/io.c:736:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] indicesallfree() ^ index/io.c:741:1: warning: type specifierget_index.c :missing,1373 :defaults65 :to warning: 'int'passing 'unsigned int *'[-Wimplicit-int] to parameter indicesfree(e, len)of ^type 'int *' converts between main.cpointers: 693to: 1integer: typeswarning: typewith specifierdifferent missing,sign defaults [-Wpointer-sign]to 'int' [-Wimplicit-int] main(argc, argv) ^ ...&curr_offset_table[i], &src_index_set[REAL_PARTITION - 2], curr_index_se... ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:727:3: warning: implicit declaration get_index.cof: 1386function:index/io.c 79:'usage':764 :is1warning: :passinginvalid warning: 'unsigned int *'in typeto C99specifierparameter [-Wimplicit-function-declaration]missing,of defaultstype to 'int *' usage(); /* Client nees at least 1 argument */'int' converts ^ [-Wimplicit-int]between pointers wordallfree()to ^integer types with different sign [-Wpointer-sign] index/io.c:769:1 ...&curr_offset_table[i], &src_index_set[REAL_PARTITION - 2]);: main.c ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~:warning: 743type: 2specifier: missing,warning: implicitdefaults declarationto of'int' function [-Wimplicit-int] 'init_filename_hashtable' is invalidwordfree(s, len) in^ C99 [-Wimplicit-function-declaration] init_filename_hashtable(); ^ main.c:747:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] gethostname(SERV_HOST, MAXNAME - 2); ^~~~~~~~~ /usr/include/unistd.h:908:31: note: passing argument to parameter '__name' here extern int gethostname (char *__name, size_t __len) __THROW __nonnull ((1)) ^ main.c:751:9: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not index/io.c[-Wpointer-sign]: 995:18: warning: strcpy(&GProgname[0], argv[0]);passing ^~~~~~~~~~~~~'unsigned char *' to/usr/include/string.h :parameter125 :of39 :typeget_index.c :note: 1444passing'char *': 7argumentconverts: tobetweenwarning: implicitparameterpointers declaration '__dest' to of here integer function types'split_terminal' where isextern char *strcpy (char *__restrict __dest, const char *__restrict __src)one invalid ^is inof C99the [-Wimplicit-function-declaration] unique plain 'char' main.ctype: if (split_terminal(0, num_terminals) <= 0) return -1; 753 and: ^ 2 the: otherwarning: implicitis declarationnot of[-Wpointer-sign] function 'region_initialize' is invalid index = hash64k(word, len);in ^~~~C99 [-Wimplicit-function-declaration] region_initialize(); ^ 54 warnings and 3 errors generated. main.c:758:3: warning: implicit declaration of function 'attr_free_table' is invalid in C99 [-Wimplicit-function-declaration] RETURNMAIN(-1); ^ main.c:734:9: note: expanded from macro 'RETURNMAIN' CLEANUP;\ ^ main.c:593:3: note: expanded from macro 'CLEANUP' attr_free_table();\ ^ main.c:758:3: warning: implicit declaration of function 'destroy_filename_hashtable' is invalid in C99 [-Wimplicit-function-declaration] main.c:734:9: note: expanded from macro 'RETURNMAIN' CLEANUP;\ ^ main.c:595:2: note: expanded from macro 'CLEANUP' destroy_filename_hashtable();\ ^ index/io.c:1049:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] dump_mini(indexfile) ^ main.c:774:3: warning: implicit declaration of function 'attr_free_table' is invalid in C99 [-Wimplicit-function-declaration] RETURNMAIN(-1); ^ main.c:734:9: note: expanded from macro 'RETURNMAIN' CLEANUP;\ ^ main.c:593:3: note: index/io.cexpanded: 1073from: 10macro: 'CLEANUP'warning: passing attr_free_table();\'unsigned char [1024]' ^to parameter of type 'char *'main.c :converts774 :between3 :pointers warning: toimplicit integerdeclaration typesof wherefunction one 'destroy_filename_hashtable'is isof invalidthe in uniqueC99 plain [-Wimplicit-function-declaration]'char' typemain.c :and734 :the9 :other note: isexpanded notfrom [-Wpointer-sign]macro 'RETURNMAIN' CLEANUP;\ ^ sprintf(s, "%s.tmp", indexfile); main.c ^: 595:2/usr/include/stdio.h:: 352note: :expanded38 :from note: macropassing 'CLEANUP'argument to parameter destroy_filename_hashtable();\'__s' ^here extern int sprintf (char *__restrict __s, ^ index/io.c:1074:26: warning: passing 'unsigned char [1024]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if ((newindexfp = fopen(s, "w")) == NULL) { ^ /usr/include/stdio.h:252:44: note: passing argument to parameter '__filename' here extern FILE *fopen (const char *__restrict __filename, ^ index/io.c:1081:8: warning: passing 'unsigned char [1024]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] fgets(indexnumber, 256, indexfp); ^~~~~~~~~~~ /usr/include/stdio.h:586:38: note: passingmain.c :argument800 :to7 :parameter warning: '__s'implicit heredeclaration of function 'attr_free_table' is invalid in extern char *fgets (char *__restrict __s, int __n, FILE *__restrict __stream)C99 ^[-Wimplicit-function-declaration] RETURNMAIN(usageS()); ^ main.c:734:9:index/io.c :note: 1082expanded: 8from: macrowarning: passing'RETURNMAIN' 'unsigned char [1024]' to CLEANUP;\ parameter ^ ofmain.c :type593 : 3'char *': convertsnote: expandedbetween frompointers macroto 'CLEANUP'integer types attr_free_table();\ where ^ one is of the main.c :unique800 :plain7 :'char' warning: typeimplicit anddeclaration theof otherfunction is 'destroy_filename_hashtable'not is[-Wpointer-sign] make[1]: *** [Makefile:160: get_index.o] Error 1 invalid in fgets(onefileperblock, 256, indexfp);C99 ^~~~~~~~~~~~~~~ [-Wimplicit-function-declaration] /usr/include/stdio.hmain.c::586734::389:: note: note: passingexpanded argumentfrom tomacro parameter'RETURNMAIN' '__s' here CLEANUP;\ ^ main.c:595:2: extern char *fgets (char *__restrict __s, int __n, FILE *__restrict __stream)note: expanded ^ from macro 'CLEANUP' destroy_filename_hashtable();\ ^ main.c:800:18: warning: implicit declaration of function 'usageS' is invalid inindex/io.c : 1086C99: 15[-Wimplicit-function-declaration]: warning: passing RETURNMAIN(usageS()); 'unsigned char [1024]' ^ to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] while (fgets(s, MAX_LINE_LEN, indexfp) != NULL) { ^ /usr/include/stdio.h:586:38: note: passing argument to parameter '__s' here extern char *fgets (char *__restrict __s, int __n, FILE *__restrict __stream) ^ index/io.c:1088:20: warning: passing 'unsigned char [1024]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] linelen = strlen(s); ^ /usr/include/string.h:391:35: note: passing argument to parameter '__s' here extern size_t strlen (const char *__s) ^ main.c:820:7: warning: implicit declaration of function 'attr_free_table' is invalid in C99 [-Wimplicit-function-declaration] RETURNMAIN(usage()); ^ main.c:734:9: note: expanded from macro 'RETURNMAIN' CLEANUP;\ ^ main.c:593:3: note: expanded from macro 'CLEANUP' attr_free_table();\ ^ main.c:820:7: warning: implicitindex/io.c :declaration1096 :of24 :function warning: passing'destroy_filename_hashtable' 'unsigned char [1024]'is toinvalid parameterin ofC99 type [-Wimplicit-function-declaration] 'char *'main.c :converts734 :between9 :pointers note: toexpanded integerfrom typesmacro where'RETURNMAIN' one CLEANUP;\is ^of themain.c : 595unique: 2plain: 'char'note: expandedtype fromand macrothe 'CLEANUP'other is not destroy_filename_hashtable();\[-Wpointer-sign] ^ hash_value = hash64k(s, j); ^ main.c:820:18: warning: implicit declaration of function 'usage' is invalid in C99 [-Wimplicit-function-declaration] RETURNMAIN(usage()); ^ index/io.c:1099:13: warning: passing 'unsigned char [1024]' to parameter of type 'const char *' converts between pointers to integer typesmain.c :where824 :one13 :is warning: ofpassing 'unsigned char *'the tounique parameterplain of'char' typetype 'char *'and theconverts otherbetween ispointers notto [-Wpointer-sign]integer types where one is if (fputs(s, newindexfp) == EOF) { of ^ the /usr/include/stdio.hunique: 649 :plain42 :'char' note: typepassing andargument theto otherparameter is'__s' nothere [-Wpointer-sign] strcpy(SERV_HOST, argv[0]); ^~~~~~~~~extern int fputs (const char *__restrict __s, FILE *__restrict __stream); ^/usr/include/string.h :125:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ main.c:828:13: warning: passing 'unsigned char *' to parameter of type 'char *' index/io.c :converts1110 :between10 :pointers warning: topassing integer'unsigned char [1024]' typesto whereparameter oneof istype of 'char *'the convertsunique between plainpointers 'char'to typeinteger andtypes thewhere otherone isis notof [-Wpointer-sign]the unique plain strcpy(SERV_HOST, p+1);'char' ^~~~~~~~~type and/usr/include/string.h :the125 :other39 :is note: notpassing [-Wpointer-sign]argument to parameter '__dest' here sprintf(s, "exec %s '%s'", SYSTEM_RM, escapesinglequote(indexfil... ^ extern char *strcpy (char *__restrict __dest, const char *__restrict __src)/usr/include/stdio.h : ^352 :38: note: passing argument to parameter '__s' here extern int sprintf (char *__restrict __s, ^ index/io.c:1111:9: warning: passing 'unsigned char [1024]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] system(s); ^ /usr/include/stdlib.h:789:32: note: passing argument to parameter '__command' here extern int system (const char *__command) __wur; ^ index/io.c:1117:10: warning: passing 'unsigned char [1024]' to parameter of type main.c :'char *'841 :converts7 :between warning: pointersimplicit todeclaration integerof typesfunction where'attr_free_table' oneis is invalidof inthe C99 unique[-Wimplicit-function-declaration] plain 'char' type RETURNMAIN(usage()); and ^ the main.cother: 734is: 9not: [-Wpointer-sign]note: expanded from macro 'RETURNMAIN' CLEANUP;\ ^ main.c:593:3: note: sprintf(s, "exec %s -n -T '%s' '%s.tmp' > '%s'\n", SYSTEM_SORT, ...expanded ^from macro/usr/include/stdio.h :'CLEANUP'352 :38: attr_free_table();\note: passing ^ argument to parameter '__s' main.chere: 841:7: warning: extern int sprintf (char *__restrict __s,implicit ^declaration of function 'destroy_filename_hashtable' is invalid in C99 [-Wimplicit-function-declaration] main.c:734:9: note: expandedindex/io.c :from1119 :macro14 :'RETURNMAIN' warning: passing 'unsigned char [1024]' CLEANUP;\ to ^ parametermain.c :of595 :type2 : 'const char *'note: expandedconverts frombetween macropointers 'CLEANUP'to integer types destroy_filename_hashtable();\ where ^ one is of the unique main.cplain: 841'char': 18type: andwarning: implicitthe declarationother ofis functionnot 'usage'[-Wpointer-sign] is invalid in rc = system(s); ^C99 [-Wimplicit-function-declaration]/usr/include/stdlib.h :789:32 RETURNMAIN(usage());: ^note: passing argument to parameter '__command' here extern int system (const char *__command) __wur; ^ index/io.c:1130:10: warning: passing 'unsigned char [1024]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sprintf(s, "exec %s '%s.tmp'", SYSTEM_RM, escapesinglequote(inde... ^ /usr/include/stdio.h:352:38: note: passing argument to parameter '__s' here extern int sprintf (char *__restrict __s, ^ index/io.c:1131:9: warning: passing 'unsigned char [1024]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique main.cplain: 900'char': 7type: andwarning: implicitthe declarationother ofis functionnot 'attr_free_table'[-Wpointer-sign] is invalid system(s); in ^ C99 /usr/include/stdlib.h[-Wimplicit-function-declaration]: 789:32: RETURNMAIN(usage());note: passing ^ argument main.cto: 734parameter: 9'__command': note: hereexpanded from macro 'RETURNMAIN' extern int system (const char *__command) __wur; ^ CLEANUP;\ ^ main.c:593:3: note: expanded from macro 'CLEANUP' attr_free_table();\ ^ main.c:900:7: warning: implicit declaration of function 'destroy_filename_hashtable' is invalid in C99 [-Wimplicit-function-declaration] main.c:734:9: note: expanded from macro 'RETURNMAIN'index/io.c :1144:10 CLEANUP;\: ^warning: passingmain.c :'unsigned char [1024]'595 :to2 :parameter note: ofexpanded typefrom macro'char *' 'CLEANUP'converts between destroy_filename_hashtable();\pointers ^to integer types where one is ofmain.c :the900 : 18unique: plainwarning: implicit'char' declarationtype ofand functionthe 'usage'other isis invalidnot in[-Wpointer-sign] C99 [-Wimplicit-function-declaration] sprintf(s, "%s.tmp", indexfile); ^ RETURNMAIN(usage()); ^/usr/include/stdio.h :352:38: note: passing argument to parameter '__s' here extern int sprintf (char *__restrict __s, ^ index/io.c:1145:26: warning: passing 'unsigned char [1024]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if ((newindexfp = fopen(s, "w")) == NULL) { ^ /usr/include/stdio.h:252:44: note: passing argument to parameter '__filename' here extern FILE *fopen (const char *__restrict __filename, ^ main.c:912:5: warning: implicit declaration of function 'attr_free_table' is invalid inindex/io.c :C991151 :[-Wimplicit-function-declaration]10 : warning: passing RETURNMAIN(usage()); 'unsigned char [1024]' ^ to parametermain.c :of734 :type9 : 'char *'note: expandedconverts frombetween macropointers 'RETURNMAIN'to integer types CLEANUP;\ where ^ one main.cis: 593of: 3the: note: uniqueexpanded plainfrom 'char'macro type'CLEANUP' and the attr_free_table();\ other ^ is not [-Wpointer-sign] main.c:912:5: sprintf(s, "%s/%s", INDEX_DIR, MINI_FILE); warning: ^implicit declaration/usr/include/stdio.h :of352 :function38 : 'destroy_filename_hashtable'note: passingis argumentinvalid toin parameterC99 '__s' [-Wimplicit-function-declaration]here main.c:734:9:extern int sprintf (char *__restrict __s, note: ^expanded from macro 'RETURNMAIN' CLEANUP;\ ^ main.c:595:2: note: expanded from macroindex/io.c :'CLEANUP'1152 :22: destroy_filename_hashtable();\warning: passing ^ 'unsigned char [1024]' to parameter of type main.c :'const char *'912 :converts16 :between warning: pointersimplicit todeclaration integerof typesfunction where'usage' oneis isinvalid ofin theC99 unique[-Wimplicit-function-declaration] plain 'char' RETURNMAIN(usage());type ^and the other is not [-Wpointer-sign] if ((minifp = fopen(s, "w")) == NULL) { ^ /usr/include/stdio.h:252:44: note: passing argument to parameter '__filename' here extern FILE *fopen (const char *__restrict __filename, ^ index/io.c:1159:8: warning: passing 'unsigned char [1024]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] fputs(indexnumber, newindexfp); ^~~~~~~~~~~ /usr/include/stdio.h:649:42: note: passing argument to parameter '__s' here main.c:955extern int fputs (const char *__restrict __s, FILE *__restrict __stream);: 5 ^: warning: implicit declaration of function 'attr_free_table' is index/io.c :invalid1160 :in8 :C99 warning: [-Wimplicit-function-declaration]passing 'unsigned char [1024]' to RETURNMAIN(1);parameter ^of typemain.c : 734'const char *': 9converts: betweennote: expandedpointers fromto macrointeger 'RETURNMAIN'types where CLEANUP;\one ^is main.cof: 593 :the3 :unique note: plainexpanded 'char'from typemacro and'CLEANUP' the other attr_free_table();\is ^not [-Wpointer-sign] main.c:955 fputs(onefileperblock, newindexfp);: 5 ^~~~~~~~~~~~~~~: warning: /usr/include/stdio.himplicit: 649declaration: 42of: functionnote: passing 'destroy_filename_hashtable'argument isto invalidparameter in'__s' C99here [-Wimplicit-function-declaration] main.c:734:9: note: expandedextern int fputs (const char *__restrict __s, FILE *__restrict __stream); from ^ macro 'RETURNMAIN' CLEANUP;\ ^ main.c:595:2: note: expanded from macro 'CLEANUP' destroy_filename_hashtable();\ ^ index/io.c:1167:15: warning: passing 'unsigned char [1024]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] while (fgets(s, MAX_LINE_LEN, indexfp) != NULL) { ^ /usr/include/stdio.h:586:38: note: passing argument to parameter '__s' here extern char *fgets (char *__restrict __s, int __n, FILE *__restrict __stream) ^ main.c:958:5: warning: implicit declaration of function 'attr_free_table' index/io.cis: 1168 :invalid20 :in warning: C99passing [-Wimplicit-function-declaration]'unsigned char [1024]' to RETURNMAIN(usage());parameter ^of typemain.c : 734'const char *': 9converts: betweennote: expandedpointers fromto macrointeger 'RETURNMAIN'types where CLEANUP;\one ^is ofmain.c : 593the: 3unique: plainnote: expanded'char' fromtype macroand 'CLEANUP'the other attr_free_table();\is ^not [-Wpointer-sign] main.c: linelen = strlen(s);958 : ^5 : warning: /usr/include/string.himplicit: 391declaration: 35of: functionnote: passing 'destroy_filename_hashtable'argument isto invalidparameter in'__s' C99here [-Wimplicit-function-declaration] main.c:extern size_t strlen (const char *__s)734 : ^9 : note: expanded from macro 'RETURNMAIN' CLEANUP;\ ^ main.c:595:2: note: expanded from macro 'CLEANUP' destroy_filename_hashtable();\ ^ main.c:958:16: warning: implicit declaration of function 'usage' is invalid in C99 [-Wimplicit-function-declaration] index/io.c: RETURNMAIN(usage());1173 : ^10 : warning: passing 'unsigned char [1024]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sscanf(s, "%d", &hash_value); ^ /usr/include/stdio.h:433:60: note: passing argument to parameter '__s' here extern int __REDIRECT_NTH (sscanf, (const char *__restrict __s, ^ index/io.c:1175:9: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] fputs(t, newindexfp); ^ /usr/include/stdio.h:649:42: note: passingmain.c :argument963 :to6 :parameter warning: '__s'implicit heredeclaration of function 'attr_free_table' isextern int fputs (const char *__restrict __s, FILE *__restrict __stream); ^invalid in C99 [-Wimplicit-function-declaration] RETURNMAIN(usage()); ^ main.c:734:9: note: expanded from macro 'RETURNMAIN' CLEANUP;\ ^ main.c:593:3: note: expanded from macro 'CLEANUP' attr_free_table();\ ^ main.c:963:6: warning: implicit declaration of function 'destroy_filename_hashtable' is invalid in C99 [-Wimplicit-function-declaration] main.c:734:9: note: expanded from macro 'RETURNMAIN' CLEANUP;\ ^ main.c:595:2: note: expanded from macro 'CLEANUP' destroy_filename_hashtable();\ ^ main.c:963:17: warning: implicit declaration of function 'usage' is invalid in C99 [-Wimplicit-function-declaration] RETURNMAIN(usage()); ^ index/io.c:1210:10: warning: passing 'unsigned char [1024]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] main.c:1214: sprintf(s, "exec %s '%s'", SYSTEM_RM, escapesinglequote(indexfil...26 : ^ warning: passing/usr/include/stdio.h :'unsigned char *'352 :to38 :parameter note: ofpassing typeargument to'const char *' parameterconverts '__s'between herepointers to integer typesextern int sprintf (char *__restrict __s, where ^ one is of the unique plain 'char' type and the other is not index/io.c[-Wpointer-sign]: 1211:9: warning: passing if ((hp = gethostbyname(SERV_HOST)) == NULL) { 'unsigned char [1024]' ^~~~~~~~~ to parameter/usr/include/netdb.h :of142 :type51 : 'const char *'note: passingconverts argumentbetween topointers parameterto '__name'integer heretypes where one is extern struct hostent *gethostbyname (const char *__name);of ^ the unique plain 'char' type and the other is not [-Wpointer-sign] system(s); ^ /usr/include/stdlib.h:789:32: note: passing argument to parameter '__command' here extern int system (const char *__command) __wur; ^ index/io.c:1217:10: warning: passing 'unsigned char [1024]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sprintf(s, "exec %s '%s.tmp' '%s'\n", SYSTEM_MV, escapesinglequo... ^ /usr/include/stdio.h:352:38: note: passing argument to parameter '__s' here extern int sprintf (char *__restrict __s, ^ index/io.c:1218:9: warning: passing 'unsigned char [1024]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] system(s); ^ /usr/include/stdlib.h:789:32: note: passing argument to parameter '__command' here extern int system (const char *__command) __wur; ^ index/io.c:1236:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] main.c:1273:initialize_data_structures(files)2 :^ warning: implicit declaration of function 'attr_free_table' is invalid in C99 [-Wimplicit-function-declaration] RETURNMAIN(ret); ^ main.c:734:9: note: expanded from macro 'RETURNMAIN' CLEANUP;\ ^ main.c:593:3: note: expanded from macro 'CLEANUP' attr_free_table();\ ^ main.c:1273:2: warning: implicit declaration of function 'destroy_filename_hashtable' is invalid in C99 [-Wimplicit-function-declaration] main.c:734:9: note: expanded from macro 'RETURNMAIN' CLEANUP;\ ^ main.c:595:2: note: expanded from macro 'CLEANUP' destroy_filename_hashtable();\ ^ main.c:1284:8: warning: implicit declaration of function 'process_query' is invalid in C99 [-Wimplicit-function-declaration] ret = process_query(oldargc, oldargv, fileno(stdin)); ^ index/io.c:1261:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] destroy_data_structures() ^ main.c:1285:2: warning: implicit declaration of function 'attr_free_table' is invalid in C99 [-Wimplicit-function-declaration] RETURNMAIN(ret); ^ main.c:734:9: note: expanded from macro 'RETURNMAIN' CLEANUP;\ ^ main.c:593:3: note: expanded from macro 'CLEANUP' attr_free_table();\ ^ main.c:1285:2: warning: implicit declaration of function 'destroy_filename_hashtable' is invalid in C99 [-Wimplicit-function-declaration] main.c:734:9: note: expanded from macro 'RETURNMAIN' CLEANUP;\ ^ main.c:595:2: note: expanded from macro 'CLEANUP' destroy_filename_hashtable();\ ^ index/io.c:1463:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] insert_filename(name, name_index) ^ index/io.c:1474:20: error: non-void function 'insert_filename' should return a value [-Wreturn-type] if (name == NULL) return; ^ index/io.c:1476:57: error: non-void function 'insert_filename' should return a value [-Wreturn-type] if (special_parse_name(name, len, &begin, &end) == -1) return; ^ index/io.c:1479:3: error: non-void function 'insert_filename' should return a value [-Wreturn-type] return; ^ index/io.c:1496:21: error: non-void function 'insert_filename' should return a value [-Wreturn-type] if ((*pe) != NULL) return; ^ index/io.c:1515:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] change_filename(name, len, index, newname) ^ index/io.c:1525:47: error: non-void function 'change_filename' should return a value [-Wreturn-type] if (special_get_name(name, len, temp) == -1) return; ^ index/io.c:1529:21: error: non-void function 'change_filename' should return a value [-Wreturn-type] if ((*pe) == NULL) return; ^ index/io.c:1534:2: error: non-void function 'change_filename' should return a value [-Wreturn-type] return; ^ index/io.c:1537:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] delete_filename(name, name_index) ^ index/io.c:1548:20: error: non-void function 'delete_filename' should return a value [-Wreturn-type] if (name == NULL) return; ^ index/io.c:1550:57: error: non-void function 'delete_filename' should return a value [-Wreturn-type] if (special_parse_name(name, len, &begin, &end) == -1) return; ^ index/io.c:1553:3: error: non-void function 'delete_filename' should return a value [-Wreturn-type] return; ^ index/io.c:1570:21: error: non-void function 'delete_filename' should return a value [-Wreturn-type] if ((*pe) == NULL) return; ^ index/io.c:1577:2: error: non-void function 'delete_filename' should return a value [-Wreturn-type] return; ^ index/io.c:1580:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] init_filename_hashtable() ^ main.c:1289:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] process_query(argc, argv, newsockfd) ^ index/io.c:1587:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] build_filename_hashtable(names, num) ^ index/io.c:1598:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] destroy_filename_hashtable() ^ main.c:1387:9: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strcpy(&GProgname[0], argv[0]); ^~~~~~~~~~~~~ /usr/include/string.h:125:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ main.c:1388:24: warning: implicit declaration of function 'usage' is invalid in C99 [-Wimplicit-function-declaration] if (argc <= 1) return(usage()); ^ main.c:1434:9: warning: passing 'unsigned char [256]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strcpy(GD_pattern, "\n"); ^~~~~~~~~~ /usr/include/string.h:125:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ main.c:1435:21: warning: passing 'unsigned char [256]' to parameter of type 'const char *' converts between pointers to integer types where one is of66 warning sthe and 13unique error splain generated . 'char' type and the other is not [-Wpointer-sign] GD_length = strlen(GD_pattern); ^~~~~~~~~~ /usr/include/string.h:391:35: note: passing argument to parameter '__s' here extern size_t strlen (const char *__s) ^ main.c:1462:7: warning: implicit declaration of function 'fileagrep' is invalid in C99 [-Wimplicit-function-declaration] i = fileagrep(oldargc, oldargv, 0, stdout); ^ main.c:1463:3: warning: implicit declaration of function 'destroy_tree' is invalid in C99 [-Wimplicit-function-declaration] RETURN(i); ^ main.c:1375:22: note: expanded from macro 'RETURN' if (ComplexBoolean) destroy_tree(&GParse);\ ^ main.c:1482:3: warning: implicit declaration of function 'destroy_tree' is invalid in C99 [-Wimplicit-function-declaration] RETURN(usage()); ^ main.c:1375:22: note: expanded from macro 'RETURN' if (ComplexBoolean) destroy_tree(&GParse);\ ^ make[1]: *** [: index/io.o] Error 1 main.c:1493:3: warning: implicit declaration of function 'destroy_tree' is invalid in C99 [-Wimplicit-function-declaration] RETURN(usage()); ^ main.c:1375:22: note: expanded from macro 'RETURN' if (ComplexBoolean) destroy_tree(&GParse);\ ^ main.c:1505:3: warning: implicit declaration of function 'destroy_tree' is invalid in C99 [-Wimplicit-function-declaration] RETURN(usage()); ^ main.c:1375:22: note: expanded from macro 'RETURN' if (ComplexBoolean) destroy_tree(&GParse);\ ^ main.c:1517:3: warning: implicit declaration of function 'destroy_tree' is invalid in C99 [-Wimplicit-function-declaration] RETURN(usage()); ^ main.c:1375:22: note: expanded from macro 'RETURN' if (ComplexBoolean) destroy_tree(&GParse);\ ^ main.c:1529:3: warning: implicit declaration of function 'destroy_tree' is invalid in C99 [-Wimplicit-function-declaration] RETURN(usage()); ^ main.c:1375:22: note: expanded from macro 'RETURN' if (ComplexBoolean) destroy_tree(&GParse);\ ^ main.c:1543:3: warning: implicit declaration of function 'destroy_tree' is invalid in C99 [-Wimplicit-function-declaration] RETURN(usage()); ^ main.c:1375:22: note: expanded from macro 'RETURN' if (ComplexBoolean) destroy_tree(&GParse);\ ^ main.c:1565:7: warning: implicit declaration of function 'destroy_tree' is invalid in C99 [-Wimplicit-function-declaration] RETURN(usage()); ^ main.c:1375:22: note: expanded from macro 'RETURN' if (ComplexBoolean) destroy_tree(&GParse);\ ^ main.c:1570:7: warning: implicit declaration of function 'destroy_tree' is invalid in C99 [-Wimplicit-function-declaration] RETURN(usage()); ^ main.c:1375:22: note: expanded from macro 'RETURN' if (ComplexBoolean) destroy_tree(&GParse);\ ^ main.c:1572:13: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strcpy(FileOpt, argv[0]); ^~~~~~~ /usr/include/string.h:125:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ main.c:1577:7: warning: implicit declaration of function 'destroy_tree' is invalid in C99 [-Wimplicit-function-declaration] RETURN(usage()); ^ main.c:1375:22: note: expanded from macro 'RETURN' if (ComplexBoolean) destroy_tree(&GParse);\ ^ main.c:1579:13: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strcpy(FileOpt, p+1); ^~~~~~~ /usr/include/string.h:125:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ main.c:1607:7: warning: implicit declaration of function 'destroy_tree' is invalid in C99 [-Wimplicit-function-declaration] RETURN(usage()); ^ main.c:1375:22: note: expanded from macro 'RETURN' if (ComplexBoolean) destroy_tree(&GParse);\ ^ main.c:1671:7: warning: implicit declaration of function 'destroy_tree' is invalid in C99 [-Wimplicit-function-declaration] RETURN(usage()); ^ main.c:1375:22: note: expanded from macro 'RETURN' if (ComplexBoolean) destroy_tree(&GParse);\ ^ main.c:1689:7: warning: implicit declaration of function 'destroy_tree' is invalid in C99 [-Wimplicit-function-declaration] RETURN(usage()); ^ main.c:1375:22: note: expanded from macro 'RETURN' if (ComplexBoolean) destroy_tree(&GParse);\ ^ main.c:1700:6: warning: implicit declaration of function 'destroy_tree' is invalid in C99 [-Wimplicit-function-declaration] RETURN(usage()); ^ main.c:1375:22: note: expanded from macro 'RETURN' if (ComplexBoolean) destroy_tree(&GParse);\ ^ main.c:1709:7: warning: implicit declaration of function 'destroy_tree' is invalid in C99 [-Wimplicit-function-declaration] RETURN(usage()); ^ main.c:1375:22: note: expanded from macro 'RETURN' if (ComplexBoolean) destroy_tree(&GParse);\ ^ main.c:1731:7: warning: implicit declaration of function 'destroy_tree' is invalid in C99 [-Wimplicit-function-declaration] RETURN(usageS()); ^ main.c:1375:22: note: expanded from macro 'RETURN' if (ComplexBoolean) destroy_tree(&GParse);\ ^ main.c:1731:14: warning: implicit declaration of function 'usageS' is invalid in C99 [-Wimplicit-function-declaration] RETURN(usageS()); ^ main.c:1735:13: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strcpy(SERV_HOST, argv[0]); ^~~~~~~~~ /usr/include/string.h:125:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ main.c:1741:13: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strcpy(SERV_HOST, p+1); ^~~~~~~~~ /usr/include/string.h:125:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ main.c:1752:7: warning: implicit declaration of function 'destroy_tree' is invalid in C99 [-Wimplicit-function-declaration] RETURN(usage()); ^ main.c:1375:22: note: expanded from macro 'RETURN' if (ComplexBoolean) destroy_tree(&GParse);\ ^ main.c:1779:7: warning: implicit declaration of function 'destroy_tree' is invalid in C99 [-Wimplicit-function-declaration] RETURN(usage()); ^ main.c:1375:22: note: expanded from macro 'RETURN' if (ComplexBoolean) destroy_tree(&GParse);\ ^ main.c:1811:9: warning: implicit declaration of function 'destroy_tree' is invalid in C99 [-Wimplicit-function-declaration] RETURN(usage()); ^ main.c:1375:22: note: expanded from macro 'RETURN' if (ComplexBoolean) destroy_tree(&GParse);\ ^ main.c:1836:7: warning: implicit declaration of function 'destroy_tree' is invalid in C99 [-Wimplicit-function-declaration] RETURN(usage()); ^ main.c:1375:22: note: expanded from macro 'RETURN' if (ComplexBoolean) destroy_tree(&GParse);\ ^ main.c:1881:5: warning: implicit declaration of function 'destroy_tree' is invalid in C99 [-Wimplicit-function-declaration] RETURN(0); ^ main.c:1375:22: note: expanded from macro 'RETURN' if (ComplexBoolean) destroy_tree(&GParse);\ ^ main.c:1887:5: warning: implicit declaration of function 'destroy_tree' is invalid in C99 [-Wimplicit-function-declaration] RETURN(usage()); ^ main.c:1375:22: note: expanded from macro 'RETURN' if (ComplexBoolean) destroy_tree(&GParse);\ ^ main.c:1942:8: warning: implicit declaration of function 'destroy_tree' is invalid in C99 [-Wimplicit-function-declaration] RETURN(usage()); ^ main.c:1375:22: note: expanded from macro 'RETURN' if (ComplexBoolean) destroy_tree(&GParse);\ ^ main.c:1947:8: warning: implicit declaration of function 'destroy_tree' is invalid in C99 [-Wimplicit-function-declaration] RETURN(usage()); ^ main.c:1375:22: note: expanded from macro 'RETURN' if (ComplexBoolean) destroy_tree(&GParse);\ ^ main.c:1955:9: warning: implicit declaration of function 'destroy_tree' is invalid in C99 [-Wimplicit-function-declaration] RETURN(usage()); ^ main.c:1375:22: note: expanded from macro 'RETURN' if (ComplexBoolean) destroy_tree(&GParse);\ ^ main.c:1970:8: warning: implicit declaration of function 'destroy_tree' is invalid in C99 [-Wimplicit-function-declaration] RETURN(usage()); ^ main.c:1375:22: note: expanded from macro 'RETURN' if (ComplexBoolean) destroy_tree(&GParse);\ ^ main.c:1978:9: warning: implicit declaration of function 'destroy_tree' is invalid in C99 [-Wimplicit-function-declaration] RETURN(usage()); ^ main.c:1375:22: note: expanded from macro 'RETURN' if (ComplexBoolean) destroy_tree(&GParse);\ ^ main.c:2061:4: warning: implicit declaration of function 'destroy_tree' is invalid in C99 [-Wimplicit-function-declaration] RETURN(usage()); ^ main.c:1375:22: note: expanded from macro 'RETURN' if (ComplexBoolean) destroy_tree(&GParse);\ ^ main.c:2067:35: warning: implicit declaration of function 'destroy_tree' is invalid in C99 [-Wimplicit-function-declaration] if (-1 == read_index(indexdir)) RETURN(-1); ^ main.c:1375:22: note: expanded from macro 'RETURN' if (ComplexBoolean) destroy_tree(&GParse);\ ^ main.c:2091:3: warning: implicit declaration of function 'read_filters' is invalid in C99 [-Wimplicit-function-declaration] read_filters(INDEX_DIR, UseFilters); ^ main.c:2093:27: warning: implicit declaration of function 'destroy_tree' is invalid in C99 [-Wimplicit-function-declaration] if (glimpse_clientdied) RETURN(0); ^ main.c:1375:22: note: expanded from macro 'RETURN' if (ComplexBoolean) destroy_tree(&GParse);\ ^ main.c:2095:13: warning: implicit declaration of function 'fileagrep_init' is invalid in C99 [-Wimplicit-function-declaration] if ((GM = fileagrep_init(agrep_argc, agrep_argv, MAXPAT... ^ main.c:2098:4: warning: implicit declaration of function 'destroy_tree' is invalid in C99 [-Wimplicit-function-declaration] RETURN(usage()); ^ main.c:1375:22: note: expanded from macro 'RETURN' if (ComplexBoolean) destroy_tree(&GParse);\ ^ main.c:2114:4: warning: implicit declaration of function 'destroy_tree' is invalid in C99 [-Wimplicit-function-declaration] RETURN(-1); ^ main.c:1375:22: note: expanded from macro 'RETURN' if (ComplexBoolean) destroy_tree(&GParse);\ ^ main.c:2119:11: warning: passing 'unsigned char [256]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strcpy(APattern, GPattern); ^~~~~~~~ /usr/include/string.h:125:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ main.c:2119:21: warning: passing 'unsigned char [256]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strcpy(APattern, GPattern); ^~~~~~~~ /usr/include/string.h:125:70: note: passing argument to parameter '__src' here extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ main.c:2127:11: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strcpy(terminals[0].data.leaf.value, GPattern); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:125:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ main.c:2127:41: warning: passing 'unsigned char [256]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strcpy(terminals[0].data.leaf.value, GPattern); ^~~~~~~~ /usr/include/string.h:125:70: note: passing argument to parameter '__src' here extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ main.c:2130:12: warning: implicit declaration of function 'split_pattern' is invalid in C99 [-Wimplicit-function-declaration] else if (split_pattern(GPattern, GM, APattern, terminals... ^ main.c:2130:109: warning: implicit declaration of function 'destroy_tree' is invalid in C99 [-Wimplicit-function-declaration] ...terminals, &num_terminals, &GParse, StructuredIndex) <= 0) RETURN(-1); ^ main.c:1375:22: note: expanded from macro 'RETURN' if (ComplexBoolean) destroy_tree(&GParse);\ ^ main.c:2138:4: warning: implicit declaration of function 'destroy_tree' is invalid in C99 [-Wimplicit-function-declaration] RETURN(usage()) ^ main.c:1375:22: note: expanded from macro 'RETURN' if (ComplexBoolean) destroy_tree(&GParse);\ ^ main.c:2150:13: warning: passing 'unsigned char [256]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] AM=strlen(APattern); ^~~~~~~~ /usr/include/string.h:391:35: note: passing argument to parameter '__s' here extern size_t strlen (const char *__s) ^ main.c:2152:32: warning: passing 'unsigned char [256]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strcpy(agrep_argv[patindex], APattern); ^~~~~~~~ /usr/include/string.h:125:70: note: passing argument to parameter '__src' here extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ main.c:2160:36: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ...if ((num = readline(newsockfd, dest_index_buf, REAL_INDEX_BUF)) <= 0) { ^~~~~~~~~~~~~~ main.c:2162:6: warning: implicit declaration of function 'destroy_tree' is invalid in C99 [-Wimplicit-function-declaration] RETURN(-1); ^ main.c:1375:22: note: expanded from macro 'RETURN' if (ComplexBoolean) destroy_tree(&GParse);\ ^ main.c:2165:18: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!strncmp(dest_index_buf, "BEGIN", st... ^~~~~~~~~~~~~~ /usr/include/string.h:143:33: note: passing argument to parameter '__s1' here extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^ main.c:2167:11: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sscanf(&dest_index_buf[strlen("BEGIN")], "%d%d%d... ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/stdio.h:433:60: note: passing argument to parameter '__s' here extern int __REDIRECT_NTH (sscanf, (const char *__restrict __s, ^ main.c:2169:30: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] num = readline(newsockfd, dest_index_buf, REAL_I... ^~~~~~~~~~~~~~ main.c:2172:18: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!strncmp(dest_index_buf, "END", strl... ^~~~~~~~~~~~~~ /usr/include/string.h:143:33: note: passing argument to parameter '__s1' here extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^ main.c:2181:47: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ...GTextfiles[GNumfiles++] = (CHAR *)strdup(GTextfilenames[x]); ^~~~~~~~~~~~~~~~~ /usr/include/string.h:171:34: note: passing argument to parameter '__s' here extern char *strdup (const char *__s) ^ main.c:2186:47: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ...GTextfiles[GNumfiles++] = (CHAR *)strdup(GTextfilenames[x]); ^~~~~~~~~~~~~~~~~ /usr/include/string.h:171:34: note: passing argument to parameter '__s' here extern char *strdup (const char *__s) ^ main.c:2217:31: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ...num = readline(newsockfd, dest_index_buf, REAL_INDEX_BUF); ^~~~~~~~~~~~~~ main.c:2273:9: warning: implicit declaration of function 'search_index' is invalid in C99 [-Wimplicit-function-declaration] ret = search_index(GParse); ^ main.c:2274:85: warning: implicit declaration of function 'destroy_tree' is invalid in C99 [-Wimplicit-function-declaration] ...(!OneFilePerBlock || (src_index_set[REAL_PARTITION - 1] != 1))) RETURN(-... ^ main.c:1375:22: note: expanded from macro 'RETURN' if (ComplexBoolean) destroy_tree(&GParse);\ ^ main.c:2303:7: warning: add explicit braces to avoid dangling else [-Wdangling-else] else { ^ main.c:2315:24: warning: implicit declaration of function 'destroy_tree' is invalid in C99 [-Wimplicit-function-declaration] if (num_blocks <= 0) RETURN (0); ^ main.c:1375:22: note: expanded from macro 'RETURN' if (ComplexBoolean) destroy_tree(&GParse);\ ^ main.c:2429:24: warning: implicit declaration of function 'mask_filenames' is invalid in C99 [-Wimplicit-function-declaration] if (FILENAMESINFILE) mask_filenames(src_index_set, filen... ^ main.c:2440:8: warning: add explicit braces to avoid dangling else [-Wdangling-else] else { ^ main.c:2452:25: warning: implicit declaration of function 'destroy_tree' is invalid in C99 [-Wimplicit-function-declaration] if (num_blocks <= 0) RETURN (0); ^ main.c:1375:22: note: expanded from macro 'RETURN' if (ComplexBoolean) destroy_tree(&GParse);\ ^ main.c:2457:4: warning: implicit declaration of function 'get_filenames' is invalid in C99 [-Wimplicit-function-declaration] get_filenames(src_index_set, 0, NULL, dummylen, ... ^ main.c:2512:5: warning: implicit declaration of function 'destroy_tree' is invalid in C99 [-Wimplicit-function-declaration] RETURN(0); ^ main.c:1375:22: note: expanded from macro 'RETURN' if (ComplexBoolean) destroy_tree(&GParse);\ ^ main.c:2525:23: warning: implicit declaration of function 'destroy_tree' is invalid in C99 [-Wimplicit-function-declaration] if (cc[0] != 'y') RETURN(0); ^ main.c:1375:22: note: expanded from macro 'RETURN' if (ComplexBoolean) destroy_tree(&GParse);\ ^ main.c:2532:26: warning: passing 'unsigned char [256]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strcpy(index_argv[0], GProgname); ^~~~~~~~~ /usr/include/string.h:125:70: note: passing argument to parameter '__src' here extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ main.c:2548:7: warning: implicit declaration of function 'destroy_tree' is invalid in C99 [-Wimplicit-function-declaration] RETURN(usage()); ^ main.c:1375:22: note: expanded from macro 'RETURN' if (ComplexBoolean) destroy_tree(&GParse);\ ^ main.c:2559:6: warning: implicit declaration of function 'destroy_tree' is invalid in C99 [-Wimplicit-function-declaration] RETURN(usage()); ^ main.c:1375:22: note: expanded from macro 'RETURN' if (ComplexBoolean) destroy_tree(&GParse);\ ^ main.c:2565:28: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] fileopt_length = strlen(FileOpt); ^~~~~~~ /usr/include/string.h:391:35: note: passing argument to parameter '__s' here extern size_t strlen (const char *__s) ^ main.c:2566:35: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strncpy(index_argv[index_argc],FileOpt+j,fileopt... ^~~~~~~~~ /usr/include/string.h:129:32: note: passing argument to parameter '__src' here const char *__restrict __src, size_t __n) ^ main.c:2582:4: warning: implicit declaration of function 'get_filenames' is invalid in C99 [-Wimplicit-function-declaration] get_filenames(src_index_set, index_argc, index_a... ^ main.c:2640:5: warning: implicit declaration of function 'destroy_tree' is invalid in C99 [-Wimplicit-function-declaration] RETURN(0); ^ main.c:1375:22: note: expanded from macro 'RETURN' if (ComplexBoolean) destroy_tree(&GParse);\ ^ main.c:2653:23: warning: implicit declaration of function 'destroy_tree' is invalid in C99 [-Wimplicit-function-declaration] if (cc[0] != 'y') RETURN(0); ^ main.c:1375:22: note: expanded from macro 'RETURN' if (ComplexBoolean) destroy_tree(&GParse);\ ^ main.c:2680:23: warning: implicit declaration of function 'destroy_tree' is invalid in C99 [-Wimplicit-function-declaration] if (GNumfiles <= 0) RETURN(0); ^ main.c:1375:22: note: expanded from macro 'RETURN' if (ComplexBoolean) destroy_tree(&GParse);\ ^ main.c:2681:27: warning: implicit declaration of function 'destroy_tree' is invalid in C99 [-Wimplicit-function-declaration] if (glimpse_clientdied) RETURN(0); ^ main.c:1375:22: note: expanded from macro 'RETURN' if (ComplexBoolean) destroy_tree(&GParse);\ ^ main.c:2692:37: warning: passing 'unsigned char [1024]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ...if (GPRINTFILENUMBER) sprintf(CurrentFileName, "%d", GFileIndex[i]); ^~~~~~~~~~~~~~~ /usr/include/stdio.h:352:38: note: passing argument to parameter '__s' here extern int sprintf (char *__restrict __s, ^ main.c:2693:19: warning: passing 'unsigned char [1024]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ...else strcpy(CurrentFileName, GTextfiles[i]); ^~~~~~~~~~~~~~~ /usr/include/string.h:125:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ main.c:2693:36: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ...else strcpy(CurrentFileName, GTextfiles[i]); ^~~~~~~~~~~~~ /usr/include/string.h:125:70: note: passing argument to parameter '__src' here extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ main.c:2698:18: warning: implicit declaration of function 'fileagrep_search' is invalid in C99 [-Wimplicit-function-declaration] if ((ret = fileagrep_sea... ^ main.c:2721:37: warning: passing 'unsigned char [1024]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ...if (GPRINTFILENUMBER) sprintf(CurrentFileName, "%d", GFileIndex[i]); ^~~~~~~~~~~~~~~ /usr/include/stdio.h:352:38: note: passing argument to parameter '__s' here extern int sprintf (char *__restrict __s, ^ main.c:2722:19: warning: passing 'unsigned char [1024]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ...else strcpy(CurrentFileName, GTextfiles[i]); ^~~~~~~~~~~~~~~ /usr/include/string.h:125:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ main.c:2722:36: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ...else strcpy(CurrentFileName, GTextfiles[i]); ^~~~~~~~~~~~~ /usr/include/string.h:125:70: note: passing argument to parameter '__src' here extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ main.c:2735:19: warning: implicit declaration of function 'fileagrep_search' is invalid in C99 [-Wimplicit-function-declaration] if ((ret = filea... ^ main.c:2740:75: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ...= glimpse_search(AM, APattern, GD_length, GD_pattern, GTextfiles[i], GTe... ^~~~~~~~~~~~~ main.c:2740:90: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ...APattern, GD_length, GD_pattern, GTextfiles[i], GTextfiles[i], GFileInde... ^~~~~~~~~~~~~ main.c:2764:10: warning: implicit declaration of function 'apply_filter' is invalid in C99 [-Wimplicit-function-declaration] if (apply_filter(GTextfiles[i], ... ^ main.c:2767:37: warning: passing 'unsigned char [1024]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ...if (GPRINTFILENUMBER) sprintf(CurrentFileName, "%d", GFileIndex[i]); ^~~~~~~~~~~~~~~ /usr/include/stdio.h:352:38: note: passing argument to parameter '__s' here extern int sprintf (char *__restrict __s, ^ main.c:2768:19: warning: passing 'unsigned char [1024]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ...else strcpy(CurrentFileName, GTextfiles[i]); ^~~~~~~~~~~~~~~ /usr/include/string.h:125:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ main.c:2768:36: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ...else strcpy(CurrentFileName, GTextfiles[i]); ^~~~~~~~~~~~~ /usr/include/string.h:125:70: note: passing argument to parameter '__src' here extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ main.c:2779:19: warning: implicit declaration of function 'fileagrep_search' is invalid in C99 [-Wimplicit-function-declaration] if ((ret = filea... ^ main.c:2789:20: warning: implicit declaration of function 'fileagrep_search' is invalid in C99 [-Wimplicit-function-declaration] ...if ((ret = fileagrep_search(AM, APattern, 1, outname, 0, stdout)) > 0) { ^ main.c:2794:76: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ...= glimpse_search(AM, APattern, GD_length, GD_pattern, GTextfiles[i], out... ^~~~~~~~~~~~~ main.c:2805:19: warning: implicit declaration of function 'fileagrep_search' is invalid in C99 [-Wimplicit-function-declaration] if ((ret = filea... ^ main.c:2812:38: warning: passing 'unsigned char [1024]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ...if (GPRINTFILENUMBER) sprintf(CurrentFileName, "%d", GFileIndex[i]); ^~~~~~~~~~~~~~~ /usr/include/stdio.h:352:38: note: passing argument to parameter '__s' here extern int sprintf (char *__restrict __s, ^ main.c:2813:20: warning: passing 'unsigned char [1024]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ...else strcpy(CurrentFileName, GTextfiles[i]); ^~~~~~~~~~~~~~~ /usr/include/string.h:125:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ main.c:2813:37: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ...else strcpy(CurrentFileName, GTextfiles[i]); ^~~~~~~~~~~~~ /usr/include/string.h:125:70: note: passing argument to parameter '__src' here extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ main.c:2826:20: warning: implicit declaration of function 'fileagrep_search' is invalid in C99 [-Wimplicit-function-declaration] ...if ((ret = fileagrep_search(AM, APattern, 1, >extfiles[i], 0, stdout)... ^ main.c:2831:76: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ...= glimpse_search(AM, APattern, GD_length, GD_pattern, GTextfiles[i], GTe... ^~~~~~~~~~~~~ main.c:2831:91: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ...APattern, GD_length, GD_pattern, GTextfiles[i], GTextfiles[i], GFileInde... ^~~~~~~~~~~~~ main.c:2880:7: warning: implicit declaration of function 'destroy_tree' is invalid in C99 [-Wimplicit-function-declaration] RETURN(usage()); ^ main.c:1375:22: note: expanded from macro 'RETURN' if (ComplexBoolean) destroy_tree(&GParse);\ ^ main.c:2883:36: warning: passing 'unsigned char [1024]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ...if (GPRINTFILENUMBER) sprintf(CurrentFileName, "%d", GFileIndex[i]); ^~~~~~~~~~~~~~~ /usr/include/stdio.h:352:38: note: passing argument to parameter '__s' here extern int sprintf (char *__restrict __s, ^ main.c:2884:18: warning: passing 'unsigned char [1024]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else strcpy(CurrentFileName, GTe... ^~~~~~~~~~~~~~~ /usr/include/string.h:125:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ main.c:2884:35: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ...else strcpy(CurrentFileName, GTextfiles[i]); ^~~~~~~~~~~~~ /usr/include/string.h:125:70: note: passing argument to parameter '__src' here extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ main.c:2891:13: warning: implicit declaration of function 'fileagrep_search' is invalid in C99 [-Wimplicit-function-declaration] ret = fileagrep_search(A... ^ main.c:2907:14: warning: implicit declaration of function 'fileagrep_search' is invalid in C99 [-Wimplicit-function-declaration] ret = fileagrep_... ^ main.c:2909:70: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ...= glimpse_search(AM, APattern, GD_length, GD_pattern, GTextfiles[i], GTe... ^~~~~~~~~~~~~ main.c:2909:85: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ...APattern, GD_length, GD_pattern, GTextfiles[i], GTextfiles[i], GFileInde... ^~~~~~~~~~~~~ main.c:2928:54: warning: implicit declaration of function 'filter_output' is invalid in C99 [-Wimplicit-function-declaration] ret = filter_output(GText... ^ main.c:2930:54: warning: implicit declaration of function 'filter_output' is invalid in C99 [-Wimplicit-function-declaration] ret = filter_output(outna... ^ main.c:2966:7: warning: implicit declaration of function 'destroy_tree' is invalid in C99 [-Wimplicit-function-declaration] RETURN(usage()); ^ main.c:1375:22: note: expanded from macro 'RETURN' if (ComplexBoolean) destroy_tree(&GParse);\ ^ main.c:2970:36: warning: passing 'unsigned char [1024]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ...if (GPRINTFILENUMBER) sprintf(CurrentFileName, "%d", GFileIndex[i]); ^~~~~~~~~~~~~~~ /usr/include/stdio.h:352:38: note: passing argument to parameter '__s' here extern int sprintf (char *__restrict __s, ^ main.c:2971:18: warning: passing 'unsigned char [1024]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else strcpy(CurrentFileName, GTe... ^~~~~~~~~~~~~~~ /usr/include/string.h:125:39: note: passing argument to parameter '__dest' here extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ main.c:2971:35: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ...else strcpy(CurrentFileName, GTextfiles[i]); ^~~~~~~~~~~~~ /usr/include/string.h:125:70: note: passing argument to parameter '__src' here extern char *strcpy (char *__restrict __dest, const char *__restrict __src) ^ main.c:2972:10: warning: implicit declaration of function 'apply_filter' is invalid in C99 [-Wimplicit-function-declaration] if (apply_filter(GTextfiles[i], ... ^ main.c:2984:14: warning: implicit declaration of function 'fileagrep_search' is invalid in C99 [-Wimplicit-function-declaration] ret = fileagrep_... ^ main.c:2991:15: warning: implicit declaration of function 'fileagrep_search' is invalid in C99 [-Wimplicit-function-declaration] ...ret = fileagrep_search(AM, APattern, 1, outname, 0, tmpfp); ^ main.c:2993:71: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ...= glimpse_search(AM, APattern, GD_length, GD_pattern, GTextfiles[i], out... ^~~~~~~~~~~~~ main.c:3003:14: warning: implicit declaration of function 'fileagrep_search' is invalid in C99 [-Wimplicit-function-declaration] ret = fileagrep_... ^ main.c:3019:15: warning: implicit declaration of function 'fileagrep_search' is invalid in C99 [-Wimplicit-function-declaration] ...ret = fileagrep_search(AM, APattern, 1, >extfiles[i], 0, tmpfp); ^ main.c:3021:71: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ...= glimpse_search(AM, APattern, GD_length, GD_pattern, GTextfiles[i], GTe... ^~~~~~~~~~~~~ main.c:3021:86: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ...APattern, GD_length, GD_pattern, GTextfiles[i], GTextfiles[i], GFileInde... ^~~~~~~~~~~~~ main.c:3041:13: warning: implicit declaration of function 'filter_output' is invalid in C99 [-Wimplicit-function-declaration] ret = filter_output(GTex... ^ main.c:3043:13: warning: implicit declaration of function 'filter_output' is invalid in C99 [-Wimplicit-function-declaration] ret = filter_output(outn... ^ main.c:3064:3: warning: implicit declaration of function 'destroy_tree' is invalid in C99 [-Wimplicit-function-declaration] RETURN(gnum_of_matched); ^ main.c:1375:22: note: expanded from macro 'RETURN' if (ComplexBoolean) destroy_tree(&GParse);\ ^ main.c:3071:7: warning: implicit declaration of function 'fileagrep' is invalid in C99 [-Wimplicit-function-declaration] i = fileagrep(oldargc, oldargv, 0, stdout); ^ main.c:3072:3: warning: implicit declaration of function 'destroy_tree' is invalid in C99 [-Wimplicit-function-declaration] RETURN(i); ^ main.c:1375:22: note: expanded from macro 'RETURN' if (ComplexBoolean) destroy_tree(&GParse);\ ^ main.c:3128:19: warning: passing 'unsigned char [32]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] *pbyteoff = atoi(temp); ^~~~ /usr/include/stdlib.h:361:26: note: passing argument to parameter '__nptr' here __NTH (atoi (const char *__nptr)) ^ main.c:3182:32: warning: implicit declaration of function 'region_create' is invalid in C99 [-Wimplicit-function-declaration] if (StructuredIndex && (-1 == region_create(infile))) { ^ main.c:3189:25: warning: implicit declaration of function 'region_destroy' is invalid in C99 [-Wimplicit-function-declaration] if (StructuredIndex) region_destroy(); ^ main.c:3262:48: warning: implicit declaration of function 'region_identify' is invalid in C99 [-Wimplicit-function-declaration] ...else if ( (num_attr <= 0) || (((attribute = region_identify(byteoff, 0)... ^ main.c:3286:11: warning: implicit declaration of function 'memagrep_search' is invalid in C99 [-Wimplicit-function-declaration] if (memagrep_search( ... ^ main.c:3286:35: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ...if (memagrep_search( strlen(terminals[i].data.leaf.value), terminals[... ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:391:35: note: passing argument to parameter '__s' here extern size_t strlen (const char *__s) ^ main.c:3341:17: warning: implicit declaration of function 'eval_tree' is invalid in C99 [-Wimplicit-function-declaration] success = eval_tree(GPar... ^ main.c:3399:14: warning: implicit declaration of function 'eval_tree' is invalid in C99 [-Wimplicit-function-declaration] success = eval_tree(GParse, matched_terminals); ^ main.c:3466:23: warning: implicit declaration of function 'region_destroy' is invalid in C99 [-Wimplicit-function-declaration] if (StructuredIndex) region_destroy(); ^ main.c:3481:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] usage() ^ main.c:3561:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] usageS() ^ 16 warnings generated. 208 warnings generated. 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:20211213-131447.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'